diff options
Diffstat (limited to 'llvm/test/Reduce/remove-funcs.ll')
| -rw-r--r-- | llvm/test/Reduce/remove-funcs.ll | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/test/Reduce/remove-funcs.ll b/llvm/test/Reduce/remove-funcs.ll index 301b1941910..d8b493d819c 100644 --- a/llvm/test/Reduce/remove-funcs.ll +++ b/llvm/test/Reduce/remove-funcs.ll @@ -10,10 +10,10 @@ ; then include the rest of the test script ; RUN: cat %p/Inputs/remove-funcs.py >> %t/test.py -; RUN: llvm-reduce --test %t/test.py %s -o - | FileCheck %s +; RUN: llvm-reduce --test %t/test.py %s -o %t/out.ll +; RUN: cat %t/out.ll | FileCheck -implicit-check-not=uninteresting %s ; REQUIRES: plugins -; CHECK-NOT: uninteresting1() define i32 @uninteresting1() { entry: ret i32 0 @@ -24,16 +24,13 @@ define i32 @interesting() { entry: ; CHECK: call i32 @interesting() %call2 = call i32 @interesting() - ; CHECK-NOT: call i32 @uninteresting1() %call = call i32 @uninteresting1() ret i32 5 } -; CHECK-NOT: uninteresting2() define i32 @uninteresting2() { entry: ret i32 0 } -; CHECK-NOT: uninteresting3() declare void @uninteresting3() |

