llvm.org GIT mirror llvm / 82c5180
Mark bugpoint tests with XFAIL when building with LTO. <rdar://problem/12473675> The LTO Internalize pass is hiding symbols needed by the bugpoint-passes plug-in. We need to add a flag to control whether Internalize should be run. This is a temporary workaround to make these tests pass in the meantime. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166239 91177308-0d34-0410-b5e6-96231b3b80d8 Bob Wilson 6 years ago
3 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
11 ;
22 ; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
33 ; REQUIRES: loadable_module
4 ; XFAIL: lto
45
56 define i32 @foo() { ret i32 1 }
67
0 ; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
11 ; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s
22 ; REQUIRES: loadable_module
3 ; XFAIL: lto
34
45 ; Bugpoint should keep the call's metadata attached to the call.
56
0 ; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes
11 ; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s
22 ; REQUIRES: loadable_module
3 ; XFAIL: lto
34
45 ; Test to make sure that arguments are removed from the function if they are
56 ; unnecessary. And clean up any types that that frees up too.