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:
5cfff25
)
Do not attempt to reduce a test case if it is an empty set.
author
Misha Brukman
<brukman+llvm@gmail.com>
Mon, 4 Aug 2003 19:03:42 +0000
(19:03 +0000)
committer
Misha Brukman
<brukman+llvm@gmail.com>
Mon, 4 Aug 2003 19:03:42 +0000
(19:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7570
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/bugpoint/Miscompilation.cpp
patch
|
blob
|
history
diff --git
a/tools/bugpoint/Miscompilation.cpp
b/tools/bugpoint/Miscompilation.cpp
index
b65b4a6
..
968a34e
100644
(file)
--- a/
tools/bugpoint/Miscompilation.cpp
+++ b/
tools/bugpoint/Miscompilation.cpp
@@
-114,7
+114,7
@@
public:
virtual TestResult doTest(std::vector<Function*> &Prefix,
std::vector<Function*> &Suffix) {
- if (TestFuncs(Suffix, false))
+ if (
!Suffix.empty() &&
TestFuncs(Suffix, false))
return KeepSuffix;
if (!Prefix.empty() && TestFuncs(Prefix, false))
return KeepPrefix;