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/LoopDeletion | |
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/LoopDeletion')
-rw-r--r-- | test/Transforms/LoopDeletion/2007-07-23-InfiniteLoop.ll | 2 | ||||
-rw-r--r-- | test/Transforms/LoopDeletion/2008-05-06-Phi.ll | 2 | ||||
-rw-r--r-- | test/Transforms/LoopDeletion/dcetest.ll | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/Transforms/LoopDeletion/2007-07-23-InfiniteLoop.ll b/test/Transforms/LoopDeletion/2007-07-23-InfiniteLoop.ll index ecba2f4..41786e5 100644 --- a/test/Transforms/LoopDeletion/2007-07-23-InfiniteLoop.ll +++ b/test/Transforms/LoopDeletion/2007-07-23-InfiniteLoop.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -loop-deletion | llvm-dis | grep switch +; RUN: opt %s -loop-deletion | llvm-dis | grep switch ; PR 1564 define fastcc void @out() { diff --git a/test/Transforms/LoopDeletion/2008-05-06-Phi.ll b/test/Transforms/LoopDeletion/2008-05-06-Phi.ll index bfb747a..820a8a8 100644 --- a/test/Transforms/LoopDeletion/2008-05-06-Phi.ll +++ b/test/Transforms/LoopDeletion/2008-05-06-Phi.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -inline -tailduplicate -instcombine -jump-threading -licm -loop-unswitch -instcombine -indvars -loop-deletion -gvn -simplifycfg -verify -disable-output +; RUN: opt %s -inline -tailduplicate -instcombine -jump-threading -licm -loop-unswitch -instcombine -indvars -loop-deletion -gvn -simplifycfg -verify -disable-output target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128" target triple = "i386-apple-darwin9" diff --git a/test/Transforms/LoopDeletion/dcetest.ll b/test/Transforms/LoopDeletion/dcetest.ll index c112cae..ab4f287 100644 --- a/test/Transforms/LoopDeletion/dcetest.ll +++ b/test/Transforms/LoopDeletion/dcetest.ll @@ -1,7 +1,7 @@ ; This is the test case taken from Appel's book that illustrates a hard case ; that SCCP gets right, and when followed by ADCE, is completely eliminated ; -; RUN: llvm-as < %s | opt -sccp -simplifycfg -indvars -loop-deletion -dce -simplifycfg | llvm-dis | not grep br +; RUN: opt %s -sccp -simplifycfg -indvars -loop-deletion -dce -simplifycfg | llvm-dis | not grep br define i32 @"test function"(i32 %i0, i32 %j0) { BB1: |