diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-08 16:50:01 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-08 16:50:01 +0000 |
commit | b1e1e82c54c060ea5dae09dae043234826ca2539 (patch) | |
tree | 97db9bdf6b44f9fd60eb81fa17ea54281587f89d /test/Transforms/JumpThreading/basic.ll | |
parent | ee7110f0478cc90ffa419759e21557ed8d669562 (diff) | |
download | external_llvm-b1e1e82c54c060ea5dae09dae043234826ca2539.zip external_llvm-b1e1e82c54c060ea5dae09dae043234826ca2539.tar.gz external_llvm-b1e1e82c54c060ea5dae09dae043234826ca2539.tar.bz2 |
Change these tests to feed the assembly files to opt directly, instead
of using llvm-as, now that opt supports this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81226 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/JumpThreading/basic.ll')
-rw-r--r-- | test/Transforms/JumpThreading/basic.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/JumpThreading/basic.ll b/test/Transforms/JumpThreading/basic.ll index bf746e7..7f851bd 100644 --- a/test/Transforms/JumpThreading/basic.ll +++ b/test/Transforms/JumpThreading/basic.ll @@ -1,6 +1,6 @@ -; RUN: llvm-as < %s | opt -jump-threading -simplifycfg -mem2reg | llvm-dis | grep {ret i32 %v1} +; RUN: opt %s -jump-threading -simplifycfg -mem2reg | llvm-dis | grep {ret i32 %v1} ; There should be no uncond branches left. -; RUN: llvm-as < %s | opt -jump-threading -simplifycfg -mem2reg | llvm-dis | not grep {br label} +; RUN: opt %s -jump-threading -simplifycfg -mem2reg | llvm-dis | not grep {br label} declare i32 @f1() declare i32 @f2() |