aboutsummaryrefslogtreecommitdiff
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
parent3a693b793313899ea2bcfa063391cc2a9e19ec02 (diff)
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
-rw-r--r--test/Transforms/InstCombine/2002-08-02-CastTest.ll2
-rw-r--r--test/Transforms/InstCombine/2003-08-12-AllocaNonNull.ll3
-rw-r--r--test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll3
-rw-r--r--test/Transforms/InstCombine/2004-09-20-BadLoadCombine.llx3
-rw-r--r--test/Transforms/InstCombine/2004-09-20-BadLoadCombine2.llx4
-rw-r--r--test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll3
-rw-r--r--test/Transforms/InstCombine/2005-03-04-ShiftOverflow.ll4
-rw-r--r--test/Transforms/InstCombine/2005-06-16-SetCCOrSetCCMiscompile.ll2
-rw-r--r--test/Transforms/InstCombine/2006-02-13-DemandedMiscompile.ll4
-rw-r--r--test/Transforms/InstCombine/2006-04-28-ShiftShiftLongLong.ll2
-rw-r--r--test/Transforms/InstCombine/2006-10-19-SignedToUnsignedCastAndConst-2.ll3
-rw-r--r--test/Transforms/InstCombine/2006-10-19-SignedToUnsignedCastAndConst.ll3
-rw-r--r--test/Transforms/InstCombine/2006-10-20-mask.ll3
-rw-r--r--test/Transforms/InstCombine/2006-10-26-VectorReassoc.ll3
-rw-r--r--test/Transforms/InstCombine/2006-11-03-Memmove64.ll3
-rw-r--r--test/Transforms/InstCombine/2006-11-27-XorBug.ll5
-rw-r--r--test/Transforms/InstCombine/2006-12-01-BadFPVectorXform.ll2
-rw-r--r--test/Transforms/InstCombine/2006-12-08-ICmp-Combining.ll3
-rw-r--r--test/Transforms/InstCombine/2006-12-08-Phi-ICmp-Op-Fold.ll5
-rw-r--r--test/Transforms/InstCombine/2006-12-08-Select-ICmp.ll1
-rw-r--r--test/Transforms/InstCombine/2006-12-10-ICmp-GEP-GEP.ll3
-rw-r--r--test/Transforms/InstCombine/2006-12-15-Range-Test.ll7
-rw-r--r--test/Transforms/InstCombine/2006-12-23-Select-Cmp-Cmp.ll1
-rw-r--r--test/Transforms/InstCombine/2007-01-14-FcmpSelf.ll2
-rw-r--r--test/Transforms/InstCombine/2007-01-27-AndICmp.ll2
-rw-r--r--test/Transforms/InstCombine/2007-02-01-LoadSinkAlloca.ll6
-rw-r--r--test/Transforms/InstCombine/2007-02-07-PointerCast.ll12
-rw-r--r--test/Transforms/InstCombine/2007-03-13-CompareMerge.ll2
-rw-r--r--test/Transforms/InstCombine/2007-03-21-SignedRangeTest.ll2
-rw-r--r--test/Transforms/InstCombine/2007-03-25-BadShiftMask.ll2
-rw-r--r--test/Transforms/InstCombine/2007-03-26-BadShiftMask.ll3
-rw-r--r--test/Transforms/InstCombine/2007-03-27-PR1280.ll2
-rw-r--r--test/Transforms/InstCombine/2007-03-31-InfiniteLoop.ll1
-rw-r--r--test/Transforms/InstCombine/2007-04-04-BadFoldBitcastIntoMalloc.ll2
-rw-r--r--test/Transforms/InstCombine/CPP_min_max.llx3
-rw-r--r--test/Transforms/InstCombine/GEPIdxCanon.ll3
-rw-r--r--test/Transforms/InstCombine/JavaCompare.ll3
-rw-r--r--test/Transforms/InstCombine/alloca.ll4
-rw-r--r--test/Transforms/InstCombine/and-compare.ll3
-rw-r--r--test/Transforms/InstCombine/and-or-and.ll3
-rw-r--r--test/Transforms/InstCombine/and-xor-merge.ll2
-rw-r--r--test/Transforms/InstCombine/apint-add1.ll1
-rw-r--r--test/Transforms/InstCombine/apint-add2.ll1
-rw-r--r--test/Transforms/InstCombine/apint-and-or-and.ll2
-rw-r--r--test/Transforms/InstCombine/apint-and-xor-merge.ll2
-rw-r--r--test/Transforms/InstCombine/apint-and1.ll3
-rw-r--r--test/Transforms/InstCombine/apint-and2.ll3
-rw-r--r--test/Transforms/InstCombine/apint-cast.ll1
-rw-r--r--test/Transforms/InstCombine/apint-elim-logicalops.ll5
-rw-r--r--test/Transforms/InstCombine/apint-or2.ll2
-rw-r--r--test/Transforms/InstCombine/apint-rem1.ll1
-rw-r--r--test/Transforms/InstCombine/apint-rem2.ll1
-rw-r--r--test/Transforms/InstCombine/apint-select.ll3
-rw-r--r--test/Transforms/InstCombine/apint-shift-simplify.ll2
-rw-r--r--test/Transforms/InstCombine/apint-shift.ll3
-rw-r--r--test/Transforms/InstCombine/apint-shl-trunc.ll2
-rw-r--r--test/Transforms/InstCombine/apint-sub.ll4
-rw-r--r--test/Transforms/InstCombine/apint-xor1.ll3
-rw-r--r--test/Transforms/InstCombine/apint-xor2.ll3
-rw-r--r--test/Transforms/InstCombine/apint-zext1.ll3
-rw-r--r--test/Transforms/InstCombine/apint-zext2.ll3
-rw-r--r--test/Transforms/InstCombine/bit-tracking.ll4
-rw-r--r--test/Transforms/InstCombine/bitcount.ll5
-rw-r--r--test/Transforms/InstCombine/bittest.ll4
-rw-r--r--test/Transforms/InstCombine/bswap-fold.ll6
-rw-r--r--test/Transforms/InstCombine/bswap.ll3
-rw-r--r--test/Transforms/InstCombine/call-cast-target.ll3
-rw-r--r--test/Transforms/InstCombine/call.ll3
-rw-r--r--test/Transforms/InstCombine/canonicalize_branch.ll3
-rw-r--r--test/Transforms/InstCombine/cast-and-cast.ll3
-rw-r--r--test/Transforms/InstCombine/cast-cast-to-and.ll3
-rw-r--r--test/Transforms/InstCombine/cast-load-gep.ll3
-rw-r--r--test/Transforms/InstCombine/cast-propagate.ll3
-rw-r--r--test/Transforms/InstCombine/cast.ll4
-rw-r--r--test/Transforms/InstCombine/cast2.ll1
-rw-r--r--test/Transforms/InstCombine/cast_ptr.ll1
-rw-r--r--test/Transforms/InstCombine/deadcode.ll3
-rw-r--r--test/Transforms/InstCombine/dg.exp2
-rw-r--r--test/Transforms/InstCombine/getelementptr-setcc.ll3
-rw-r--r--test/Transforms/InstCombine/getelementptr.ll3
-rw-r--r--test/Transforms/InstCombine/getelementptr_cast.ll4
-rw-r--r--test/Transforms/InstCombine/getelementptr_const.ll3
-rw-r--r--test/Transforms/InstCombine/hoist_instr.ll3
-rw-r--r--test/Transforms/InstCombine/icmp.ll2
-rw-r--r--test/Transforms/InstCombine/load.ll2
-rw-r--r--test/Transforms/InstCombine/malloc-free-delete.ll3
-rw-r--r--test/Transforms/InstCombine/malloc2.ll2
-rw-r--r--test/Transforms/InstCombine/memmove.ll4
-rw-r--r--test/Transforms/InstCombine/mul.ll1
-rw-r--r--test/Transforms/InstCombine/narrow.ll3
-rw-r--r--test/Transforms/InstCombine/or.ll5
-rw-r--r--test/Transforms/InstCombine/or2.ll3
-rw-r--r--test/Transforms/InstCombine/phi.ll2
-rw-r--r--test/Transforms/InstCombine/rem.ll1
-rw-r--r--test/Transforms/InstCombine/select.ll4
-rw-r--r--test/Transforms/InstCombine/set.ll2
-rw-r--r--test/Transforms/InstCombine/setcc-cast-cast.ll5
-rw-r--r--test/Transforms/InstCombine/setcc-strength-reduce.ll5
-rw-r--r--test/Transforms/InstCombine/shift-simplify.ll2
-rw-r--r--test/Transforms/InstCombine/shift-sra.ll3
-rw-r--r--test/Transforms/InstCombine/shift.ll3
-rw-r--r--test/Transforms/InstCombine/signext.ll3
-rw-r--r--test/Transforms/InstCombine/sink_instruction.ll3
-rw-r--r--test/Transforms/InstCombine/stacksaverestore.ll1
-rw-r--r--test/Transforms/InstCombine/store.ll4
-rw-r--r--test/Transforms/InstCombine/sub.ll3
-rw-r--r--test/Transforms/InstCombine/udiv_select_to_select_shift.ll10
-rw-r--r--test/Transforms/InstCombine/vec_demanded_elts.ll16
-rw-r--r--test/Transforms/InstCombine/vec_insert_to_shuffle.ll9
-rw-r--r--test/Transforms/InstCombine/vec_insertelt.ll2
-rw-r--r--test/Transforms/InstCombine/vec_narrow.ll3
-rw-r--r--test/Transforms/InstCombine/vec_shuffle.ll1
-rw-r--r--test/Transforms/InstCombine/xor.ll6
-rw-r--r--test/Transforms/InstCombine/xor2.ll4
-rw-r--r--test/Transforms/InstCombine/zeroext-and-reduce.ll2
-rw-r--r--test/Transforms/InstCombine/zext.ll4
116 files changed, 199 insertions, 171 deletions
diff --git a/test/Transforms/InstCombine/2002-08-02-CastTest.ll b/test/Transforms/InstCombine/2002-08-02-CastTest.ll
index 55609f1e7f..23284a6312 100644
--- a/test/Transforms/InstCombine/2002-08-02-CastTest.ll
+++ b/test/Transforms/InstCombine/2002-08-02-CastTest.ll
@@ -1,7 +1,7 @@
; This testcase is incorrectly getting completely eliminated. There should be
; SOME instruction named %c here, even if it's a bitwise and.
;
-; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep '%c'
+; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep %c
;
ulong %test3(ulong %A) {
%c1 = cast ulong %A to ubyte
diff --git a/test/Transforms/InstCombine/2003-08-12-AllocaNonNull.ll b/test/Transforms/InstCombine/2003-08-12-AllocaNonNull.ll
index 52b778c10d..81594dbb6b 100644
--- a/test/Transforms/InstCombine/2003-08-12-AllocaNonNull.ll
+++ b/test/Transforms/InstCombine/2003-08-12-AllocaNonNull.ll
@@ -1,6 +1,7 @@
; This testcase can be simplified by "realizing" that alloca can never return
; null.
-; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -simplifycfg | llvm-dis | not grep 'br '
+; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -simplifycfg | \
+; RUN: llvm-dis | not grep br
implementation ; Functions:
diff --git a/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll b/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll
index e1144b61b0..0a0038f217 100644
--- a/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll
+++ b/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll
@@ -1,4 +1,5 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep 'ret i1 false'
+; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
+; RUN: grep {ret i1 false}
bool %test(bool %V) {
%Y = setlt bool %V, false
ret bool %Y
diff --git a/test/Transforms/InstCombine/2004-09-20-BadLoadCombine.llx b/test/Transforms/InstCombine/2004-09-20-BadLoadCombine.llx
index 3fcbb88e2d..ddc40394aa 100644
--- a/test/Transforms/InstCombine/2004-09-20-BadLoadCombine.llx
+++ b/test/Transforms/InstCombine/2004-09-20-BadLoadCombine.llx
@@ -1,4 +1,5 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -mem2reg | llvm-dis | not grep 'int 1'
+; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -mem2reg | llvm-dis | \
+; RUN: not grep {int 1}
; When propagating the load through the select, make sure that the load is
; inserted where the original load was, not where the select is. Not doing
diff --git a/test/Trans