summaryrefslogtreecommitdiff
path: root/tools/bugpoint/Miscompilation.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2007-11-14 06:47:06 +0000
committerNick Lewycky <nicholas@mxc.ca>2007-11-14 06:47:06 +0000
commit6fa98b13206583e6eb90b8304758b35548914944 (patch)
treeef75560e2e1562553eae17c28b034bd7b3e64f4d /tools/bugpoint/Miscompilation.cpp
parent1b12d8855d8e84c37aeba8c99883e5ada6b5fdca (diff)
downloadllvm-6fa98b13206583e6eb90b8304758b35548914944.tar.gz
llvm-6fa98b13206583e6eb90b8304758b35548914944.tar.bz2
llvm-6fa98b13206583e6eb90b8304758b35548914944.tar.xz
Allow the block extractor take to take a list of basic blocks to not extract
from a file containing Function/BasicBlock pairings. This is not safe against anonymous or abnormally-named Funcs or BBs. Make bugpoint use this interface to pass the BBs list to the child bugpoint. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44101 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/Miscompilation.cpp')
-rw-r--r--tools/bugpoint/Miscompilation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp
index be820c8b28..c9780e2210 100644
--- a/tools/bugpoint/Miscompilation.cpp
+++ b/tools/bugpoint/Miscompilation.cpp
@@ -223,7 +223,7 @@ bool ReduceMiscompilingFunctions::TestFuncs(const std::vector<Function*>&Funcs){
Module *ToNotOptimize = CloneModule(BD.getProgram());
Module *ToOptimize = SplitFunctionsOutOfModule(ToNotOptimize, Funcs);
- // Run the predicate, not that the predicate will delete both input modules.
+ // Run the predicate, note that the predicate will delete both input modules.
return TestFn(BD, ToOptimize, ToNotOptimize);
}