[llvm-commits] CVS: llvm/tools/bugpoint/Miscompilation.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Apr 23 15:37:09 PDT 2004
Changes in directory llvm/tools/bugpoint:
Miscompilation.cpp updated: 1.43 -> 1.44
---
Log message:
Teach bugpoint to be a little bit smarter and avoid repeating work
---
Diffs of the changes: (+5 -1)
Index: llvm/tools/bugpoint/Miscompilation.cpp
diff -u llvm/tools/bugpoint/Miscompilation.cpp:1.43 llvm/tools/bugpoint/Miscompilation.cpp:1.44
--- llvm/tools/bugpoint/Miscompilation.cpp:1.43 Thu Apr 22 15:02:09 2004
+++ llvm/tools/bugpoint/Miscompilation.cpp Fri Apr 23 15:36:51 2004
@@ -108,7 +108,11 @@
exit(1);
}
removeFile(BytecodeResult); // No longer need the file on disk
-
+
+ // Don't check if there are no passes in the suffix.
+ if (Suffix.empty())
+ return NoFailure;
+
std::cout << "Checking to see if '" << getPassesString(Suffix)
<< "' passes compile correctly after the '"
<< getPassesString(Prefix) << "' passes: ";
More information about the llvm-commits
mailing list