diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-07 21:48:09 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-07 21:48:09 +0000 |
commit | 92a4a833f9c919620891d1b7a203f57481528c4c (patch) | |
tree | 6c7430a9f9b55fcd968320eb3716c400c71806f9 | |
parent | f58ff32c1641394f5872ca885707444f2f452ba5 (diff) | |
download | bcm5719-llvm-92a4a833f9c919620891d1b7a203f57481528c4c.tar.gz bcm5719-llvm-92a4a833f9c919620891d1b7a203f57481528c4c.zip |
Move the bugpoint test passes to a plugin in preparation for having bugpoint
use opt.
llvm-svn: 110520
-rw-r--r-- | llvm/test/BugPoint/crash-narrowfunctiontest.ll | 3 | ||||
-rw-r--r-- | llvm/test/BugPoint/remove_arguments_test.ll | 3 | ||||
-rw-r--r-- | llvm/tools/Makefile | 2 | ||||
-rw-r--r-- | llvm/tools/bugpoint-passes/TestPasses.cpp (renamed from llvm/tools/bugpoint/TestPasses.cpp) | 0 |
4 files changed, 5 insertions, 3 deletions
diff --git a/llvm/test/BugPoint/crash-narrowfunctiontest.ll b/llvm/test/BugPoint/crash-narrowfunctiontest.ll index 6ad09d2e25c..aec90f1960a 100644 --- a/llvm/test/BugPoint/crash-narrowfunctiontest.ll +++ b/llvm/test/BugPoint/crash-narrowfunctiontest.ll @@ -1,6 +1,7 @@ ; Test that bugpoint can narrow down the testcase to the important function +; FIXME: This likely fails on windows ; -; RUN: bugpoint %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null +; RUN: bugpoint -load %llvmlibsdir/BugpointPasses.so %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null define i32 @foo() { ret i32 1 } diff --git a/llvm/test/BugPoint/remove_arguments_test.ll b/llvm/test/BugPoint/remove_arguments_test.ll index 439ea545468..62a4dd32ac8 100644 --- a/llvm/test/BugPoint/remove_arguments_test.ll +++ b/llvm/test/BugPoint/remove_arguments_test.ll @@ -1,4 +1,5 @@ -; RUN: bugpoint %s -output-prefix %t -bugpoint-crashcalls -silence-passes +; FIXME: This likely fails on windows +; RUN: bugpoint -load %llvmlibsdir/BugpointPasses.so %s -output-prefix %t -bugpoint-crashcalls -silence-passes ; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s ; Test to make sure that arguments are removed from the function if they are diff --git a/llvm/tools/Makefile b/llvm/tools/Makefile index 6e23dac111e..7e5f3aa25fd 100644 --- a/llvm/tools/Makefile +++ b/llvm/tools/Makefile @@ -20,7 +20,7 @@ PARALLEL_DIRS := opt llvm-as llvm-dis \ llc llvm-ranlib llvm-ar llvm-nm \ llvm-ld llvm-prof llvm-link \ lli llvm-extract llvm-mc \ - bugpoint llvm-bcanalyzer llvm-stub \ + bugpoint bugpoint-passes llvm-bcanalyzer llvm-stub \ llvmc # Let users override the set of tools to build from the command line. diff --git a/llvm/tools/bugpoint/TestPasses.cpp b/llvm/tools/bugpoint-passes/TestPasses.cpp index 4ae23f5b762..4ae23f5b762 100644 --- a/llvm/tools/bugpoint/TestPasses.cpp +++ b/llvm/tools/bugpoint-passes/TestPasses.cpp |