aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/2007-02-01-LoadSinkAlloca.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-14 20:13:02 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-14 20:13:02 +0000
commit2b544beda337f7d0c071bf3ed49f14e54284d49b (patch)
tree2b440d862b8ac1a9e330a24f11a4d7712a4af1da /test/Transforms/InstCombine/2007-02-01-LoadSinkAlloca.ll
parent3a693b793313899ea2bcfa063391cc2a9e19ec02 (diff)
downloadexternal_llvm-2b544beda337f7d0c071bf3ed49f14e54284d49b.zip
external_llvm-2b544beda337f7d0c071bf3ed49f14e54284d49b.tar.gz
external_llvm-2b544beda337f7d0c071bf3ed49f14e54284d49b.tar.bz2
For PR1319:
Upgrade tests to work with new llvm.exp version of llvm_runtest. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36013 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/2007-02-01-LoadSinkAlloca.ll')
-rw-r--r--test/Transforms/InstCombine/2007-02-01-LoadSinkAlloca.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Transforms/InstCombine/2007-02-01-LoadSinkAlloca.ll b/test/Transforms/InstCombine/2007-02-01-LoadSinkAlloca.ll
index 5f55579..e559cdd 100644
--- a/test/Transforms/InstCombine/2007-02-01-LoadSinkAlloca.ll
+++ b/test/Transforms/InstCombine/2007-02-01-LoadSinkAlloca.ll
@@ -1,5 +1,7 @@
-; RUN: llvm-as < %s | opt -instcombine -mem2reg | llvm-dis | grep '%A = alloca' &&
-; RUN: llvm-as < %s | opt -instcombine -mem2reg | llvm-dis | not grep '%B = alloca'
+; RUN: llvm-as < %s | opt -instcombine -mem2reg | llvm-dis | grep {%A = alloca}
+; RUN: llvm-as < %s | opt -instcombine -mem2reg | llvm-dis | \
+; RUN: not grep {%B = alloca}
+; END.
; Ensure that instcombine doesn't sink the loads in entry/cond_true into
; cond_next. Doing so prevents mem2reg from promoting the B alloca.