OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5bb2d9
)
Added code that ensures that we don't try to reduce an empty vector of basic
author
John Criswell
<criswell@uiuc.edu>
Mon, 4 Aug 2003 18:24:31 +0000
(18:24 +0000)
committer
John Criswell
<criswell@uiuc.edu>
Mon, 4 Aug 2003 18:24:31 +0000
(18:24 +0000)
blocks.
This fixes the bugpoint regressions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7569
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/bugpoint/CrashDebugger.cpp
patch
|
blob
|
history
diff --git
a/tools/bugpoint/CrashDebugger.cpp
b/tools/bugpoint/CrashDebugger.cpp
index
40854aa
..
852359a
100644
(file)
--- a/
tools/bugpoint/CrashDebugger.cpp
+++ b/
tools/bugpoint/CrashDebugger.cpp
@@
-142,7
+142,7
@@
public:
virtual TestResult doTest(std::vector<BasicBlock*> &Prefix,
std::vector<BasicBlock*> &Kept) {
- if (TestBlocks(Kept))
+ if (
!Kept.empty() &&
TestBlocks(Kept))
return KeepSuffix;
if (!Prefix.empty() && TestBlocks(Prefix))
return KeepPrefix;