[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/2004-11-29-ShrCrash.ll 2004-11-30-shift-crash.ll 2004-11-30-shr-var-crash.ll 2004-12-12-ZeroSizeCommon.ll 2005-01-14-SetSelectCrash.ll 2005-01-14-UndefLong.ll 2005-08-12-rlwimi-crash.ll 2005-09-02-LegalizeDuplicatesCalls.ll 2005-10-08-ArithmeticRotate.ll 2005-11-30-vastart-crash.ll 2006-01-11-darwin-fp-argument.ll 2006-01-20-ShiftPartsCrash.ll 2006-04-01-FloatDoubleExtend.ll 2006-04-05-splat-ish.ll 2006-04-19-vmaddfp-crash.ll 2006-05-12-rlwimi-crash.ll 2006-07-07-ComputeMaskedBits.ll 2006-07-19-stwbrx-crash.ll 2006-08-11-RetVector.ll 2006-08-15-SelectionCrash.ll 2006-09-28-shift_64.ll 2006-10-11-combiner-aa-regression.ll 2006-10-13-Miscompile.ll 2006-10-17-brcc-miscompile.ll 2006-10-17-ppc64-alloca.ll 2006-11-29-AltivecFPSplat.ll Frames-align.ll Frames-alloca.ll Frames-large.ll Frames-leaf.ll Frames-small.ll addc.ll addi-reassoc.ll align.ll and-branch.ll and-elim.ll and-imm.ll and_add.ll and_sext.ll and_sra.ll branch-opt.ll! bswap-load-store.ll buildvec_canonicalize.ll calls.ll cmp-cmp.ll constants.ll cttz.ll darwin-labels.ll div-2.ll eqv-andc-orc-nor.ll extsh.ll fma.ll fnabs.ll fnegsel.ll fold-li.ll fp-branch.ll fp-int-fp.ll fp_to_uint.ll fpcopy.ll fsqrt.ll i64_fp.ll inlineasm-copy.ll inverted-bool-compares.ll lha.ll load-constant-addr.ll mem-rr-addr-mode.ll mem_update.ll mul-neg-power-2.ll mulhs.ll neg.ll or-addressing-mode.ll reg-coalesce-simple.ll rlwimi-commute.ll rlwimi.ll rlwimi2.ll rlwimi3.ll rlwinm.ll rlwinm2.ll rotl.ll select_lt0.ll setcc_no_zext.ll seteq-0.ll shl_sext.ll small-arguments.ll stfiwx.ll store-load-fwd.ll subc.ll vcmp-fold.ll vec_br_cmp.ll vec_call.ll vec_constants.ll vec_mul.ll vec_perf_shuffle.ll vec_shuffle.ll vec_spat.ll vec_vrsave.ll vec_zero.ll
Reid Spencer
reid at x10sys.com
Fri Dec 1 20:25:23 PST 2006
Changes in directory llvm/test/Regression/CodeGen/PowerPC:
2004-11-29-ShrCrash.ll updated: 1.1 -> 1.2
2004-11-30-shift-crash.ll updated: 1.1 -> 1.2
2004-11-30-shr-var-crash.ll updated: 1.1 -> 1.2
2004-12-12-ZeroSizeCommon.ll updated: 1.1 -> 1.2
2005-01-14-SetSelectCrash.ll updated: 1.1 -> 1.2
2005-01-14-UndefLong.ll updated: 1.1 -> 1.2
2005-08-12-rlwimi-crash.ll updated: 1.1 -> 1.2
2005-09-02-LegalizeDuplicatesCalls.ll updated: 1.2 -> 1.3
2005-10-08-ArithmeticRotate.ll updated: 1.1 -> 1.2
2005-11-30-vastart-crash.ll updated: 1.1 -> 1.2
2006-01-11-darwin-fp-argument.ll updated: 1.1 -> 1.2
2006-01-20-ShiftPartsCrash.ll updated: 1.1 -> 1.2
2006-04-01-FloatDoubleExtend.ll updated: 1.1 -> 1.2
2006-04-05-splat-ish.ll updated: 1.1 -> 1.2
2006-04-19-vmaddfp-crash.ll updated: 1.1 -> 1.2
2006-05-12-rlwimi-crash.ll updated: 1.1 -> 1.2
2006-07-07-ComputeMaskedBits.ll updated: 1.1 -> 1.2
2006-07-19-stwbrx-crash.ll updated: 1.1 -> 1.2
2006-08-11-RetVector.ll updated: 1.1 -> 1.2
2006-08-15-SelectionCrash.ll updated: 1.1 -> 1.2
2006-09-28-shift_64.ll updated: 1.1 -> 1.2
2006-10-11-combiner-aa-regression.ll updated: 1.2 -> 1.3
2006-10-13-Miscompile.ll updated: 1.1 -> 1.2
2006-10-17-brcc-miscompile.ll updated: 1.1 -> 1.2
2006-10-17-ppc64-alloca.ll updated: 1.1 -> 1.2
2006-11-29-AltivecFPSplat.ll updated: 1.1 -> 1.2
Frames-align.ll updated: 1.1 -> 1.2
Frames-alloca.ll updated: 1.1 -> 1.2
Frames-large.ll updated: 1.2 -> 1.3
Frames-leaf.ll updated: 1.2 -> 1.3
Frames-small.ll updated: 1.2 -> 1.3
addc.ll updated: 1.2 -> 1.3
addi-reassoc.ll updated: 1.1 -> 1.2
align.ll updated: 1.1 -> 1.2
and-branch.ll updated: 1.1 -> 1.2
and-elim.ll updated: 1.2 -> 1.3
and-imm.ll updated: 1.2 -> 1.3
and_add.ll updated: 1.1 -> 1.2
and_sext.ll updated: 1.3 -> 1.4
and_sra.ll updated: 1.2 -> 1.3
branch-opt.ll updated: 1.2 -> 1.3
bswap-load-store.ll updated: 1.1 -> 1.2
buildvec_canonicalize.ll updated: 1.2 -> 1.3
calls.ll updated: 1.2 -> 1.3
cmp-cmp.ll updated: 1.1 -> 1.2
constants.ll updated: 1.4 -> 1.5
cttz.ll updated: 1.1 -> 1.2
darwin-labels.ll updated: 1.1 -> 1.2
div-2.ll updated: 1.4 -> 1.5
eqv-andc-orc-nor.ll updated: 1.4 -> 1.5
extsh.ll updated: 1.1 -> 1.2
fma.ll updated: 1.5 -> 1.6
fnabs.ll updated: 1.2 -> 1.3
fnegsel.ll updated: 1.3 -> 1.4
fold-li.ll updated: 1.1 -> 1.2
fp-branch.ll updated: 1.1 -> 1.2
fp-int-fp.ll updated: 1.1 -> 1.2
fp_to_uint.ll updated: 1.1 -> 1.2
fpcopy.ll updated: 1.1 -> 1.2
fsqrt.ll updated: 1.1 -> 1.2
i64_fp.ll updated: 1.1 -> 1.2
inlineasm-copy.ll updated: 1.1 -> 1.2
inverted-bool-compares.ll updated: 1.1 -> 1.2
lha.ll updated: 1.2 -> 1.3
load-constant-addr.ll updated: 1.1 -> 1.2
mem-rr-addr-mode.ll updated: 1.1 -> 1.2
mem_update.ll updated: 1.4 -> 1.5
mul-neg-power-2.ll updated: 1.1 -> 1.2
mulhs.ll updated: 1.2 -> 1.3
neg.ll updated: 1.1 -> 1.2
or-addressing-mode.ll updated: 1.1 -> 1.2
reg-coalesce-simple.ll updated: 1.1 -> 1.2
rlwimi-commute.ll updated: 1.1 -> 1.2
rlwimi.ll updated: 1.4 -> 1.5
rlwimi2.ll updated: 1.2 -> 1.3
rlwimi3.ll updated: 1.1 -> 1.2
rlwinm.ll updated: 1.4 -> 1.5
rlwinm2.ll updated: 1.1 -> 1.2
rotl.ll updated: 1.1 -> 1.2
select_lt0.ll updated: 1.3 -> 1.4
setcc_no_zext.ll updated: 1.2 -> 1.3
seteq-0.ll updated: 1.1 -> 1.2
shl_sext.ll updated: 1.2 -> 1.3
small-arguments.ll updated: 1.4 -> 1.5
stfiwx.ll updated: 1.1 -> 1.2
store-load-fwd.ll updated: 1.1 -> 1.2
subc.ll updated: 1.2 -> 1.3
vcmp-fold.ll updated: 1.1 -> 1.2
vec_br_cmp.ll updated: 1.1 -> 1.2
vec_call.ll updated: 1.1 -> 1.2
vec_constants.ll updated: 1.5 -> 1.6
vec_mul.ll updated: 1.2 -> 1.3
vec_perf_shuffle.ll updated: 1.1 -> 1.2
vec_shuffle.ll updated: 1.7 -> 1.8
vec_spat.ll updated: 1.4 -> 1.5
vec_vrsave.ll updated: 1.2 -> 1.3
vec_zero.ll updated: 1.1 -> 1.2
---
Log message:
Use the llvm-upgrade program to upgrade llvm assembly.
---
Diffs of the changes: (+266 -266)
2004-11-29-ShrCrash.ll | 2 -
2004-11-30-shift-crash.ll | 2 -
2004-11-30-shr-var-crash.ll | 2 -
2004-12-12-ZeroSizeCommon.ll | 2 -
2005-01-14-SetSelectCrash.ll | 2 -
2005-01-14-UndefLong.ll | 2 -
2005-08-12-rlwimi-crash.ll | 2 -
2005-09-02-LegalizeDuplicatesCalls.ll | 2 -
2005-10-08-ArithmeticRotate.ll | 2 -
2005-11-30-vastart-crash.ll | 2 -
2006-01-11-darwin-fp-argument.ll | 4 +-
2006-01-20-ShiftPartsCrash.ll | 2 -
2006-04-01-FloatDoubleExtend.ll | 2 -
2006-04-05-splat-ish.ll | 2 -
2006-04-19-vmaddfp-crash.ll | 2 -
2006-05-12-rlwimi-crash.ll | 2 -
2006-07-07-ComputeMaskedBits.ll | 2 -
2006-07-19-stwbrx-crash.ll | 2 -
2006-08-11-RetVector.ll | 4 +-
2006-08-15-SelectionCrash.ll | 2 -
2006-09-28-shift_64.ll | 2 -
2006-10-11-combiner-aa-regression.ll | 2 -
2006-10-13-Miscompile.ll | 4 +-
2006-10-17-brcc-miscompile.ll | 2 -
2006-10-17-ppc64-alloca.ll | 2 -
2006-11-29-AltivecFPSplat.ll | 2 -
Frames-align.ll | 6 ++--
Frames-alloca.ll | 32 +++++++++++-----------
Frames-large.ll | 48 +++++++++++++++++-----------------
Frames-leaf.ll | 32 +++++++++++-----------
Frames-small.ll | 32 +++++++++++-----------
addc.ll | 10 +++----
addi-reassoc.ll | 4 +-
align.ll | 6 ++--
and-branch.ll | 4 +-
and-elim.ll | 4 +-
and-imm.ll | 2 -
and_add.ll | 6 ++--
and_sext.ll | 6 ++--
and_sra.ll | 2 -
branch-opt.ll | 4 +-
bswap-load-store.ll | 12 ++++----
buildvec_canonicalize.ll | 4 +-
calls.ll | 6 ++--
cmp-cmp.ll | 4 +-
constants.ll | 6 ++--
cttz.ll | 2 -
darwin-labels.ll | 2 -
div-2.ll | 4 +-
eqv-andc-orc-nor.ll | 10 +++----
extsh.ll | 2 -
fma.ll | 2 -
fnabs.ll | 2 -
fnegsel.ll | 2 -
fold-li.ll | 4 +-
fp-branch.ll | 2 -
fp-int-fp.ll | 4 +-
fp_to_uint.ll | 2 -
fpcopy.ll | 4 +-
fsqrt.ll | 8 ++---
i64_fp.ll | 16 +++++------
inlineasm-copy.ll | 4 +-
inverted-bool-compares.ll | 4 +-
lha.ll | 2 -
load-constant-addr.ll | 4 +-
mem-rr-addr-mode.ll | 4 +-
mem_update.ll | 8 ++---
mul-neg-power-2.ll | 4 +-
mulhs.ll | 8 ++---
neg.ll | 2 -
or-addressing-mode.ll | 6 ++--
reg-coalesce-simple.ll | 4 +-
rlwimi-commute.ll | 4 +-
rlwimi.ll | 4 +-
rlwimi2.ll | 6 ++--
rlwimi3.ll | 2 -
rlwinm.ll | 10 +++----
rlwinm2.ll | 12 ++++----
rotl.ll | 6 ++--
select_lt0.ll | 2 -
setcc_no_zext.ll | 2 -
seteq-0.ll | 2 -
shl_sext.ll | 2 -
small-arguments.ll | 4 +-
stfiwx.ll | 8 ++---
store-load-fwd.ll | 4 +-
subc.ll | 10 +++----
vcmp-fold.ll | 2 -
vec_br_cmp.ll | 4 +-
vec_call.ll | 2 -
vec_constants.ll | 4 +-
vec_mul.ll | 6 ++--
vec_perf_shuffle.ll | 4 +-
vec_shuffle.ll | 12 ++++----
vec_spat.ll | 8 ++---
vec_vrsave.ll | 6 ++--
vec_zero.ll | 2 -
97 files changed, 266 insertions(+), 266 deletions(-)
Index: llvm/test/Regression/CodeGen/PowerPC/2004-11-29-ShrCrash.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2004-11-29-ShrCrash.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2004-11-29-ShrCrash.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2004-11-29-ShrCrash.ll:1.1 Tue Nov 30 00:35:52 2004
+++ llvm/test/Regression/CodeGen/PowerPC/2004-11-29-ShrCrash.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32
void %main() {
%tr1 = shr uint 1, ubyte 0
Index: llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shift-crash.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shift-crash.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shift-crash.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shift-crash.ll:1.1 Tue Nov 30 00:28:53 2004
+++ llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shift-crash.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32
void %main() {
%tr4 = shl ulong 1, ubyte 0 ; <ulong> [#uses=0]
Index: llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll:1.1 Tue Nov 30 00:39:45 2004
+++ llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32
void %main() {
%shamt = add ubyte 0, 1 ; <ubyte> [#uses=1]
Index: llvm/test/Regression/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll:1.1 Sun Dec 12 14:34:06 2004
+++ llvm/test/Regression/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll Fri Dec 1 22:23:08 2006
@@ -1,3 +1,3 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep '.comm.*X,0'
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep '.comm.*X,0'
%X = linkonce global {} {}
Index: llvm/test/Regression/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll:1.1 Fri Jan 14 13:30:42 2005
+++ llvm/test/Regression/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32
int %main() {
%setle = setle long 1, 0
Index: llvm/test/Regression/CodeGen/PowerPC/2005-01-14-UndefLong.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2005-01-14-UndefLong.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2005-01-14-UndefLong.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2005-01-14-UndefLong.ll:1.1 Fri Jan 14 14:21:51 2005
+++ llvm/test/Regression/CodeGen/PowerPC/2005-01-14-UndefLong.ll Fri Dec 1 22:23:08 2006
@@ -1,3 +1,3 @@
-; RUN: llvm-as < %s | llc -march=ppc32
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32
long %test() { ret long undef }
Index: llvm/test/Regression/CodeGen/PowerPC/2005-08-12-rlwimi-crash.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2005-08-12-rlwimi-crash.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2005-08-12-rlwimi-crash.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2005-08-12-rlwimi-crash.ll:1.1 Fri Aug 12 18:34:03 2005
+++ llvm/test/Regression/CodeGen/PowerPC/2005-08-12-rlwimi-crash.ll Fri Dec 1 22:23:08 2006
@@ -1,6 +1,6 @@
; this should not crash the ppc backend
-; RUN: llvm-as < %s | llc -march=ppc32
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32
uint %test( int %j.0.0.i) {
%tmp.85.i = and int %j.0.0.i, 7
Index: llvm/test/Regression/CodeGen/PowerPC/2005-09-02-LegalizeDuplicatesCalls.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2005-09-02-LegalizeDuplicatesCalls.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/2005-09-02-LegalizeDuplicatesCalls.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/2005-09-02-LegalizeDuplicatesCalls.ll:1.2 Sat Sep 10 22:50:38 2005
+++ llvm/test/Regression/CodeGen/PowerPC/2005-09-02-LegalizeDuplicatesCalls.ll Fri Dec 1 22:23:08 2006
@@ -1,6 +1,6 @@
; This function should have exactly one call to fixdfdi, no more!
-; RUN: llvm-as < %s | llc -march=ppc32 -mattr=-64bit | grep 'bl .*fixdfdi' | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mattr=-64bit | grep 'bl .*fixdfdi' | wc -l | grep 1
double %test2(double %tmp.7705) {
%mem_tmp.2.0.in = cast double %tmp.7705 to long ; <long> [#uses=1]
Index: llvm/test/Regression/CodeGen/PowerPC/2005-10-08-ArithmeticRotate.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2005-10-08-ArithmeticRotate.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2005-10-08-ArithmeticRotate.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2005-10-08-ArithmeticRotate.ll:1.1 Sun Oct 9 00:31:47 2005
+++ llvm/test/Regression/CodeGen/PowerPC/2005-10-08-ArithmeticRotate.ll Fri Dec 1 22:23:08 2006
@@ -1,7 +1,7 @@
; This was erroneously being turned into an rlwinm instruction.
; The sign bit does matter in this case.
-; RUN: llvm-as < %s | llc -march=ppc32 | grep srawi
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep srawi
int %test(int %X) {
%Y = and int %X, -2
%Z = shr int %Y, ubyte 11
Index: llvm/test/Regression/CodeGen/PowerPC/2005-11-30-vastart-crash.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2005-11-30-vastart-crash.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2005-11-30-vastart-crash.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2005-11-30-vastart-crash.ll:1.1 Wed Nov 30 14:40:28 2005
+++ llvm/test/Regression/CodeGen/PowerPC/2005-11-30-vastart-crash.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc
+; RUN: llvm-upgrade < %s | llvm-as | llc
target endian = big
target pointersize = 32
target triple = "powerpc-apple-darwin8.2.0"
Index: llvm/test/Regression/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll:1.1 Wed Jan 11 12:15:37 2006
+++ llvm/test/Regression/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc &&
-; RUN: llvm-as < %s | llc | not grep ', f1'
+; RUN: llvm-upgrade < %s | llvm-as | llc &&
+; RUN: llvm-upgrade < %s | llvm-as | llc | not grep ', f1'
target endian = big
target pointersize = 32
Index: llvm/test/Regression/CodeGen/PowerPC/2006-01-20-ShiftPartsCrash.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2006-01-20-ShiftPartsCrash.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2006-01-20-ShiftPartsCrash.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2006-01-20-ShiftPartsCrash.ll:1.1 Fri Jan 20 22:25:07 2006
+++ llvm/test/Regression/CodeGen/PowerPC/2006-01-20-ShiftPartsCrash.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc
+; RUN: llvm-upgrade < %s | llvm-as | llc
void %iterative_hash_host_wide_int() {
%zero = alloca int ; <int*> [#uses=2]
Index: llvm/test/Regression/CodeGen/PowerPC/2006-04-01-FloatDoubleExtend.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2006-04-01-FloatDoubleExtend.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2006-04-01-FloatDoubleExtend.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2006-04-01-FloatDoubleExtend.ll:1.1 Sat Apr 1 18:23:59 2006
+++ llvm/test/Regression/CodeGen/PowerPC/2006-04-01-FloatDoubleExtend.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32
double %CalcSpeed(float %tmp127) {
%tmp145 = cast float %tmp127 to double ; <double> [#uses=1]
Index: llvm/test/Regression/CodeGen/PowerPC/2006-04-05-splat-ish.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2006-04-05-splat-ish.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2006-04-05-splat-ish.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2006-04-05-splat-ish.ll:1.1 Wed Apr 5 12:38:50 2006
+++ llvm/test/Regression/CodeGen/PowerPC/2006-04-05-splat-ish.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep 'vspltish v.*, 10'
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep 'vspltish v.*, 10'
void %test(<8 x short>* %P) {
%tmp = load <8 x short>* %P ; <<8 x short>> [#uses=1]
Index: llvm/test/Regression/CodeGen/PowerPC/2006-04-19-vmaddfp-crash.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2006-04-19-vmaddfp-crash.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2006-04-19-vmaddfp-crash.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2006-04-19-vmaddfp-crash.ll:1.1 Thu Apr 20 00:57:43 2006
+++ llvm/test/Regression/CodeGen/PowerPC/2006-04-19-vmaddfp-crash.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5
void %test(sbyte* %stack) {
entry:
Index: llvm/test/Regression/CodeGen/PowerPC/2006-05-12-rlwimi-crash.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2006-05-12-rlwimi-crash.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2006-05-12-rlwimi-crash.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2006-05-12-rlwimi-crash.ll:1.1 Fri May 12 11:28:13 2006
+++ llvm/test/Regression/CodeGen/PowerPC/2006-05-12-rlwimi-crash.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32
%struct.attr_desc = type { sbyte*, %struct.attr_desc*, %struct.attr_value*, %struct.attr_value*, uint }
%struct.attr_value = type { %struct.rtx_def*, %struct.attr_value*, %struct.insn_ent*, int, int }
Index: llvm/test/Regression/CodeGen/PowerPC/2006-07-07-ComputeMaskedBits.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2006-07-07-ComputeMaskedBits.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2006-07-07-ComputeMaskedBits.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2006-07-07-ComputeMaskedBits.ll:1.1 Fri Jul 7 16:36:24 2006
+++ llvm/test/Regression/CodeGen/PowerPC/2006-07-07-ComputeMaskedBits.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -mtriple=powerpc64-apple-darwin | grep extsw | wc -l | grep 2
+; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=powerpc64-apple-darwin | grep extsw | wc -l | grep 2
%lens = external global ubyte*
%vals = external global int*
Index: llvm/test/Regression/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll:1.1 Wed Jul 19 12:14:23 2006
+++ llvm/test/Regression/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32
void %img2buf(int %symbol_size_in_bytes, ushort* %ui16) {
%tmp93 = load ushort* null ; <ushort> [#uses=1]
Index: llvm/test/Regression/CodeGen/PowerPC/2006-08-11-RetVector.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2006-08-11-RetVector.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2006-08-11-RetVector.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2006-08-11-RetVector.ll:1.1 Fri Aug 11 11:46:38 2006
+++ llvm/test/Regression/CodeGen/PowerPC/2006-08-11-RetVector.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vsldoi &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | not grep vor
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vsldoi &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | not grep vor
<4 x float> %func(<4 x float> %fp0, <4 x float> %fp1) {
%tmp76 = shufflevector <4 x float> %fp0, <4 x float> %fp1, <4 x uint> < uint 0, uint 1, uint 2, uint 7 > ; <<4 x float>> [#uses=1]
Index: llvm/test/Regression/CodeGen/PowerPC/2006-08-15-SelectionCrash.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2006-08-15-SelectionCrash.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2006-08-15-SelectionCrash.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2006-08-15-SelectionCrash.ll:1.1 Tue Aug 15 18:45:28 2006
+++ llvm/test/Regression/CodeGen/PowerPC/2006-08-15-SelectionCrash.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc
+; RUN: llvm-upgrade < %s | llvm-as | llc
%struct..0anon = type { int }
%struct.rtx_def = type { ushort, ubyte, ubyte, [1 x %struct..0anon] }
Index: llvm/test/Regression/CodeGen/PowerPC/2006-09-28-shift_64.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2006-09-28-shift_64.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2006-09-28-shift_64.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2006-09-28-shift_64.ll:1.1 Thu Sep 28 15:48:17 2006
+++ llvm/test/Regression/CodeGen/PowerPC/2006-09-28-shift_64.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc64
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64
target endian = big
target pointersize = 64
target triple = "powerpc64-apple-darwin8"
Index: llvm/test/Regression/CodeGen/PowerPC/2006-10-11-combiner-aa-regression.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2006-10-11-combiner-aa-regression.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/2006-10-11-combiner-aa-regression.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/2006-10-11-combiner-aa-regression.ll:1.2 Wed Oct 11 12:14:14 2006
+++ llvm/test/Regression/CodeGen/PowerPC/2006-10-11-combiner-aa-regression.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -combiner-alias-analysis | grep 'f5'
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -combiner-alias-analysis | grep 'f5'
target endian = big
target pointersize = 32
Index: llvm/test/Regression/CodeGen/PowerPC/2006-10-13-Miscompile.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2006-10-13-Miscompile.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2006-10-13-Miscompile.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2006-10-13-Miscompile.ll:1.1 Fri Oct 13 18:54:16 2006
+++ llvm/test/Regression/CodeGen/PowerPC/2006-10-13-Miscompile.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep IMPLICIT_DEF
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep IMPLICIT_DEF
void %foo(long %X) {
entry:
Index: llvm/test/Regression/CodeGen/PowerPC/2006-10-17-brcc-miscompile.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2006-10-17-brcc-miscompile.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2006-10-17-brcc-miscompile.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2006-10-17-brcc-miscompile.ll:1.1 Tue Oct 17 16:23:20 2006
+++ llvm/test/Regression/CodeGen/PowerPC/2006-10-17-brcc-miscompile.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep xor
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep xor
target endian = big
target pointersize = 32
Index: llvm/test/Regression/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll:1.1 Tue Oct 17 20:21:35 2006
+++ llvm/test/Regression/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc64
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64
int * %foo(uint %n) {
%A = alloca int, uint %n
Index: llvm/test/Regression/CodeGen/PowerPC/2006-11-29-AltivecFPSplat.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/2006-11-29-AltivecFPSplat.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/2006-11-29-AltivecFPSplat.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/2006-11-29-AltivecFPSplat.ll:1.1 Wed Nov 29 13:57:55 2006
+++ llvm/test/Regression/CodeGen/PowerPC/2006-11-29-AltivecFPSplat.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5
void %glgRunProcessor15() {
%tmp26355.i = shufflevector <4 x float> zeroinitializer, <4 x float> < float 0x379FFFE000000000, float 0x379FFFE000000000, float 0x379FFFE000000000, float 0x379FFFE000000000 >, <4 x uint> < uint 0, uint 1, uint 2, uint 7 > ; <<4 x float>> [#uses=1]
Index: llvm/test/Regression/CodeGen/PowerPC/Frames-align.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/Frames-align.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/Frames-align.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/Frames-align.ll:1.1 Fri Nov 17 11:19:49 2006
+++ llvm/test/Regression/CodeGen/PowerPC/Frames-align.ll Fri Dec 1 22:23:08 2006
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'rlwinm r0, r1, 0, 22, 31' &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'subfic r0, r0, -17408' &&
-; RUN: llvm-as < %s | llc -march=ppc64 | grep 'rldicl r0, r1, 0, 54'
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep 'rlwinm r0, r1, 0, 22, 31' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep 'subfic r0, r0, -17408' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | grep 'rldicl r0, r1, 0, 54'
implementation
Index: llvm/test/Regression/CodeGen/PowerPC/Frames-alloca.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/Frames-alloca.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/Frames-alloca.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/Frames-alloca.ll:1.1 Fri Nov 17 10:54:21 2006
+++ llvm/test/Regression/CodeGen/PowerPC/Frames-alloca.ll Fri Dec 1 22:23:08 2006
@@ -1,19 +1,19 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'stw r31, 20(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'stwu r1, -64(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'lwz r1, 0(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'lwz r31, 20(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-fp-elim | grep 'stw r31, 20(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-fp-elim | grep 'stwu r1, -64(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-fp-elim | grep 'lwz r1, 0(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-fp-elim | grep 'lwz r31, 20(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 | grep 'std r31, 40(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 | grep 'stdu r1, -112(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 | grep 'ld r1, 0(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 | grep 'ld r31, 40(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 -disable-fp-elim | grep 'std r31, 40(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 -disable-fp-elim | grep 'stdu r1, -112(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 -disable-fp-elim | grep 'ld r1, 0(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 -disable-fp-elim | grep 'ld r31, 40(r1)'
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep 'stw r31, 20(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep 'stwu r1, -64(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep 'lwz r1, 0(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep 'lwz r31, 20(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | grep 'stw r31, 20(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | grep 'stwu r1, -64(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | grep 'lwz r1, 0(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | grep 'lwz r31, 20(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | grep 'std r31, 40(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | grep 'stdu r1, -112(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | grep 'ld r1, 0(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | grep 'ld r31, 40(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | grep 'std r31, 40(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | grep 'stdu r1, -112(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | grep 'ld r1, 0(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | grep 'ld r31, 40(r1)'
implementation
Index: llvm/test/Regression/CodeGen/PowerPC/Frames-large.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/Frames-large.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/Frames-large.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/Frames-large.ll:1.2 Fri Nov 17 12:00:39 2006
+++ llvm/test/Regression/CodeGen/PowerPC/Frames-large.ll Fri Dec 1 22:23:08 2006
@@ -1,27 +1,27 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep 'stw r31, 20(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'lis r0, -1' &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'ori r0, r0, 32704' &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'stwux r1, r1, r0' &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'lwz r1, 0(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep 'lwz r31, 20(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-fp-elim | grep 'stw r31, 20(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-fp-elim | grep 'lis r0, -1' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-fp-elim | grep 'ori r0, r0, 32704' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-fp-elim | grep 'stwux r1, r1, r0' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-fp-elim | grep 'lwz r1, 0(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-fp-elim | grep 'lwz r31, 20(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 | not grep 'std r31, 40(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 | grep 'lis r0, -1' &&
-; RUN: llvm-as < %s | llc -march=ppc64 | grep 'ori r0, r0, 32656' &&
-; RUN: llvm-as < %s | llc -march=ppc64 | grep 'stdux r1, r1, r0' &&
-; RUN: llvm-as < %s | llc -march=ppc64 | grep 'ld r1, 0(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 | not grep 'ld r31, 40(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 -disable-fp-elim | grep 'std r31, 40(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 -disable-fp-elim | grep 'lis r0, -1' &&
-; RUN: llvm-as < %s | llc -march=ppc64 -disable-fp-elim | grep 'ori r0, r0, 32656' &&
-; RUN: llvm-as < %s | llc -march=ppc64 -disable-fp-elim | grep 'stdux r1, r1, r0' &&
-; RUN: llvm-as < %s | llc -march=ppc64 -disable-fp-elim | grep 'ld r1, 0(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 -disable-fp-elim | grep 'ld r31, 40(r1)'
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep 'stw r31, 20(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep 'lis r0, -1' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep 'ori r0, r0, 32704' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep 'stwux r1, r1, r0' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep 'lwz r1, 0(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep 'lwz r31, 20(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | grep 'stw r31, 20(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | grep 'lis r0, -1' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | grep 'ori r0, r0, 32704' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | grep 'stwux r1, r1, r0' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | grep 'lwz r1, 0(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | grep 'lwz r31, 20(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | not grep 'std r31, 40(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | grep 'lis r0, -1' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | grep 'ori r0, r0, 32656' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | grep 'stdux r1, r1, r0' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | grep 'ld r1, 0(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | not grep 'ld r31, 40(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | grep 'std r31, 40(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | grep 'lis r0, -1' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | grep 'ori r0, r0, 32656' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | grep 'stdux r1, r1, r0' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | grep 'ld r1, 0(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | grep 'ld r31, 40(r1)'
implementation
Index: llvm/test/Regression/CodeGen/PowerPC/Frames-leaf.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/Frames-leaf.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/Frames-leaf.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/Frames-leaf.ll:1.2 Fri Nov 17 12:00:39 2006
+++ llvm/test/Regression/CodeGen/PowerPC/Frames-leaf.ll Fri Dec 1 22:23:08 2006
@@ -1,19 +1,19 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep 'stw r31, 20(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep 'stwu r1, -.*(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep 'addi r1, r1, ' &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep 'lwz r31, 20(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-fp-elim | not grep 'stw r31, 20(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-fp-elim | not grep 'stwu r1, -.*(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-fp-elim | not grep 'addi r1, r1, ' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-fp-elim | not grep 'lwz r31, 20(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 | not grep 'std r31, 40(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 | not grep 'stdu r1, -.*(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 | not grep 'addi r1, r1, ' &&
-; RUN: llvm-as < %s | llc -march=ppc64 | not grep 'ld r31, 40(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 -disable-fp-elim | not grep 'stw r31, 40(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 -disable-fp-elim | not grep 'stdu r1, -.*(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 -disable-fp-elim | not grep 'addi r1, r1, ' &&
-; RUN: llvm-as < %s | llc -march=ppc64 -disable-fp-elim | not grep 'ld r31, 40(r1)'
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep 'stw r31, 20(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep 'stwu r1, -.*(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep 'addi r1, r1, ' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep 'lwz r31, 20(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | not grep 'stw r31, 20(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | not grep 'stwu r1, -.*(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | not grep 'addi r1, r1, ' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | not grep 'lwz r31, 20(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | not grep 'std r31, 40(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | not grep 'stdu r1, -.*(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | not grep 'addi r1, r1, ' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | not grep 'ld r31, 40(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | not grep 'stw r31, 40(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | not grep 'stdu r1, -.*(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | not grep 'addi r1, r1, ' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | not grep 'ld r31, 40(r1)'
implementation
Index: llvm/test/Regression/CodeGen/PowerPC/Frames-small.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/Frames-small.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/Frames-small.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/Frames-small.ll:1.2 Fri Nov 17 12:00:39 2006
+++ llvm/test/Regression/CodeGen/PowerPC/Frames-small.ll Fri Dec 1 22:23:08 2006
@@ -1,19 +1,19 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep 'stw r31, 20(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'stwu r1, -16448(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'addi r1, r1, 16448' &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep 'lwz r31, 20(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-fp-elim | grep 'stw r31, 20(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-fp-elim | grep 'stwu r1, -16448(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-fp-elim | grep 'addi r1, r1, 16448' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-fp-elim | grep 'lwz r31, 20(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 | not grep 'std r31, 40(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 | grep 'stdu r1, -16496(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 | grep 'addi r1, r1, 16496' &&
-; RUN: llvm-as < %s | llc -march=ppc64 | not grep 'ld r31, 40(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 -disable-fp-elim | grep 'std r31, 40(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 -disable-fp-elim | grep 'stdu r1, -16496(r1)' &&
-; RUN: llvm-as < %s | llc -march=ppc64 -disable-fp-elim | grep 'addi r1, r1, 16496' &&
-; RUN: llvm-as < %s | llc -march=ppc64 -disable-fp-elim | grep 'ld r31, 40(r1)'
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep 'stw r31, 20(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep 'stwu r1, -16448(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep 'addi r1, r1, 16448' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep 'lwz r31, 20(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | grep 'stw r31, 20(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | grep 'stwu r1, -16448(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | grep 'addi r1, r1, 16448' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | grep 'lwz r31, 20(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | not grep 'std r31, 40(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | grep 'stdu r1, -16496(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | grep 'addi r1, r1, 16496' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | not grep 'ld r31, 40(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | grep 'std r31, 40(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | grep 'stdu r1, -16496(r1)' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | grep 'addi r1, r1, 16496' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | grep 'ld r31, 40(r1)'
implementation
Index: llvm/test/Regression/CodeGen/PowerPC/addc.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/addc.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/addc.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/addc.ll:1.2 Fri Feb 17 00:24:31 2006
+++ llvm/test/Regression/CodeGen/PowerPC/addc.ll Fri Dec 1 22:23:08 2006
@@ -1,9 +1,9 @@
; All of these should be codegen'd without loading immediates
-; RUN: llvm-as < %s | llc -march=ppc32 | grep addc | wc -l | grep 1 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep adde | wc -l | grep 1 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep addze | wc -l | grep 1 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep addme | wc -l | grep 1 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep addic | wc -l | grep 2
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep addc | wc -l | grep 1 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep adde | wc -l | grep 1 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep addze | wc -l | grep 1 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep addme | wc -l | grep 1 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep addic | wc -l | grep 2
implementation ; Functions:
Index: llvm/test/Regression/CodeGen/PowerPC/addi-reassoc.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/addi-reassoc.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/addi-reassoc.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/addi-reassoc.ll:1.1 Sat Mar 4 17:31:49 2006
+++ llvm/test/Regression/CodeGen/PowerPC/addi-reassoc.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep addi
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep addi
%struct.X = type { [5 x sbyte] }
implementation ; Functions:
Index: llvm/test/Regression/CodeGen/PowerPC/align.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/align.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/align.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/align.ll:1.1 Thu Jun 15 14:35:07 2006
+++ llvm/test/Regression/CodeGen/PowerPC/align.ll Fri Dec 1 22:23:08 2006
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep "align.4" | wc -l | grep 1 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep "align.2" | wc -l | grep 1 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep "align.3" | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep "align.4" | wc -l | grep 1 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep "align.2" | wc -l | grep 1 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep "align.3" | wc -l | grep 1
%A = global <4 x uint> < uint 10, uint 20, uint 30, uint 40 >
Index: llvm/test/Regression/CodeGen/PowerPC/and-branch.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/and-branch.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/and-branch.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/and-branch.ll:1.1 Fri Oct 27 16:52:39 2006
+++ llvm/test/Regression/CodeGen/PowerPC/and-branch.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep mfcr
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep mfcr
void %foo(int %X, int %Y, int %Z) {
entry:
Index: llvm/test/Regression/CodeGen/PowerPC/and-elim.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/and-elim.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/and-elim.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/and-elim.ll:1.2 Sun Feb 26 18:20:23 2006
+++ llvm/test/Regression/CodeGen/PowerPC/and-elim.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep rlwin
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep rlwin
void %test(ubyte* %P) {
%W = load ubyte* %P
Index: llvm/test/Regression/CodeGen/PowerPC/and-imm.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/and-imm.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/and-imm.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/and-imm.ll:1.2 Mon Feb 13 01:26:36 2006
+++ llvm/test/Regression/CodeGen/PowerPC/and-imm.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep 'ori\|lis'
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep 'ori\|lis'
int %test(int %X) {
%Y = and int %X, 32769 ; andi. r3, r3, 32769
Index: llvm/test/Regression/CodeGen/PowerPC/and_add.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/and_add.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/and_add.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/and_add.ll:1.1 Mon Mar 13 00:50:47 2006
+++ llvm/test/Regression/CodeGen/PowerPC/and_add.ll Fri Dec 1 22:23:08 2006
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep slwi &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep addi &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep rlwinm
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep slwi &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep addi &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep rlwinm
int %test(int %A) {
%B = mul int %A, 8 ;; shift
Index: llvm/test/Regression/CodeGen/PowerPC/and_sext.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/and_sext.ll:1.3 llvm/test/Regression/CodeGen/PowerPC/and_sext.ll:1.4
--- llvm/test/Regression/CodeGen/PowerPC/and_sext.ll:1.3 Mon May 8 15:58:58 2006
+++ llvm/test/Regression/CodeGen/PowerPC/and_sext.ll Fri Dec 1 22:23:08 2006
@@ -1,7 +1,7 @@
; These tests should not contain a sign extend.
-; RUN: llvm-as < %s | llc -march=ppc32 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep extsh &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep extsb
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep extsh &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep extsb
int %test1(uint %mode.0.i.0) {
%tmp.79 = cast uint %mode.0.i.0 to short
Index: llvm/test/Regression/CodeGen/PowerPC/and_sra.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/and_sra.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/and_sra.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/and_sra.ll:1.2 Fri Feb 17 15:38:45 2006
+++ llvm/test/Regression/CodeGen/PowerPC/and_sra.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
; Neither of these functions should contain algebraic right shifts
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep srawi
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep srawi
int %test1(uint %mode.0.i.0) {
%tmp.79 = cast uint %mode.0.i.0 to int ; <sbyte> [#uses=1]
Index: llvm/test/Regression/CodeGen/PowerPC/branch-opt.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/branch-opt.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/branch-opt.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/branch-opt.ll:1.2 Wed Nov 8 00:42:42 2006
+++ llvm/test/Regression/CodeGen/PowerPC/branch-opt.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'b LBB.*cond_next48.loopexit' | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep 'b LBB.*cond_next48.loopexit' | wc -l | grep 1
target endian = big
target pointersize = 32
Index: llvm/test/Regression/CodeGen/PowerPC/bswap-load-store.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/bswap-load-store.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/bswap-load-store.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/bswap-load-store.ll:1.1 Mon Jul 10 15:53:53 2006
+++ llvm/test/Regression/CodeGen/PowerPC/bswap-load-store.ll Fri Dec 1 22:23:08 2006
@@ -1,9 +1,9 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'stwbrx\|lwbrx\|sthbrx\|lhbrx' | wc -l | grep 4 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep rlwinm &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep rlwimi &&
-; RUN: llvm-as < %s | llc -march=ppc64 | grep 'stwbrx\|lwbrx\|sthbrx\|lhbrx' | wc -l | grep 4 &&
-; RUN: llvm-as < %s | llc -march=ppc64 | not grep rlwinm &&
-; RUN: llvm-as < %s | llc -march=ppc64 | not grep rlwimi
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep 'stwbrx\|lwbrx\|sthbrx\|lhbrx' | wc -l | grep 4 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep rlwinm &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep rlwimi &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | grep 'stwbrx\|lwbrx\|sthbrx\|lhbrx' | wc -l | grep 4 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | not grep rlwinm &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | not grep rlwimi
void %STWBRX(uint %i, sbyte* %ptr, int %off) {
%tmp1 = getelementptr sbyte* %ptr, int %off
Index: llvm/test/Regression/CodeGen/PowerPC/buildvec_canonicalize.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/buildvec_canonicalize.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/buildvec_canonicalize.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/buildvec_canonicalize.ll:1.2 Wed Apr 12 12:36:04 2006
+++ llvm/test/Regression/CodeGen/PowerPC/buildvec_canonicalize.ll Fri Dec 1 22:23:08 2006
@@ -1,8 +1,8 @@
; There should be exactly one vxor here.
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 --enable-unsafe-fp-math | grep vxor | wc -l | grep 1 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 --enable-unsafe-fp-math | grep vxor | wc -l | grep 1 &&
; There should be exactly one vsplti here.
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 --enable-unsafe-fp-math | grep vsplti | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 --enable-unsafe-fp-math | grep vsplti | wc -l | grep 1
void %VXOR(<4 x float>* %P1, <4 x int>* %P2, <4 x float>* %P3) {
Index: llvm/test/Regression/CodeGen/PowerPC/calls.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/calls.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/calls.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/calls.ll:1.2 Tue May 16 23:20:13 2006
+++ llvm/test/Regression/CodeGen/PowerPC/calls.ll Fri Dec 1 22:23:08 2006
@@ -1,8 +1,8 @@
; Test various forms of calls.
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'bl ' | wc -l | grep 2 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'bctrl' | wc -l | grep 1 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'bla ' | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep 'bl ' | wc -l | grep 2 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep 'bctrl' | wc -l | grep 1 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep 'bla ' | wc -l | grep 1
declare void %foo()
Index: llvm/test/Regression/CodeGen/PowerPC/cmp-cmp.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/cmp-cmp.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/cmp-cmp.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/cmp-cmp.ll:1.1 Fri Oct 13 22:40:02 2006
+++ llvm/test/Regression/CodeGen/PowerPC/cmp-cmp.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep mfcr
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep mfcr
void %test(long %X) {
%tmp1 = and long %X, 3 ; <long> [#uses=1]
Index: llvm/test/Regression/CodeGen/PowerPC/constants.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/constants.ll:1.4 llvm/test/Regression/CodeGen/PowerPC/constants.ll:1.5
--- llvm/test/Regression/CodeGen/PowerPC/constants.ll:1.4 Mon Oct 17 16:54:18 2005
+++ llvm/test/Regression/CodeGen/PowerPC/constants.ll Fri Dec 1 22:23:08 2006
@@ -1,7 +1,7 @@
; All of these routines should be perform optimal load of constants.
-; RUN: llvm-as < %s | llc -march=ppc32 | grep lis | wc -l | grep 5 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep ori | wc -l | grep 3 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'li ' | wc -l | grep 4
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep lis | wc -l | grep 5 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep ori | wc -l | grep 3 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep 'li ' | wc -l | grep 4
implementation ; Functions:
Index: llvm/test/Regression/CodeGen/PowerPC/cttz.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/cttz.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/cttz.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/cttz.ll:1.1 Wed May 11 18:45:54 2005
+++ llvm/test/Regression/CodeGen/PowerPC/cttz.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
; Make sure this testcase does not use ctpop
-; RUN: llvm-as < %s | llc -march=ppc32 | grep -i 'cntlzw'
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep -i 'cntlzw'
declare int %llvm.cttz(int)
Index: llvm/test/Regression/CodeGen/PowerPC/darwin-labels.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/darwin-labels.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/darwin-labels.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/darwin-labels.ll:1.1 Thu Nov 10 13:33:05 2005
+++ llvm/test/Regression/CodeGen/PowerPC/darwin-labels.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc | grep 'foo bar":'
+; RUN: llvm-upgrade < %s | llvm-as | llc | grep 'foo bar":'
target endian = big
target pointersize = 32
Index: llvm/test/Regression/CodeGen/PowerPC/div-2.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/div-2.ll:1.4 llvm/test/Regression/CodeGen/PowerPC/div-2.ll:1.5
--- llvm/test/Regression/CodeGen/PowerPC/div-2.ll:1.4 Sun Feb 26 19:00:12 2006
+++ llvm/test/Regression/CodeGen/PowerPC/div-2.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep srawi &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep blr
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep srawi &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep blr
int %test1(int %X) {
%Y = and int %X, 15
Index: llvm/test/Regression/CodeGen/PowerPC/eqv-andc-orc-nor.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/eqv-andc-orc-nor.ll:1.4 llvm/test/Regression/CodeGen/PowerPC/eqv-andc-orc-nor.ll:1.5
--- llvm/test/Regression/CodeGen/PowerPC/eqv-andc-orc-nor.ll:1.4 Sat Mar 25 17:12:47 2006
+++ llvm/test/Regression/CodeGen/PowerPC/eqv-andc-orc-nor.ll Fri Dec 1 22:23:08 2006
@@ -1,8 +1,8 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep eqv | wc -l | grep 3 &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep andc | wc -l | grep 3 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep orc | wc -l | grep 2 &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep nor | wc -l | grep 3 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep nand | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep eqv | wc -l | grep 3 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep andc | wc -l | grep 3 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep orc | wc -l | grep 2 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep nor | wc -l | grep 3 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep nand | wc -l | grep 1
int %EQV1(int %X, int %Y) {
%A = xor int %X, %Y
Index: llvm/test/Regression/CodeGen/PowerPC/extsh.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/extsh.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/extsh.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/extsh.ll:1.1 Fri Feb 17 15:22:08 2006
+++ llvm/test/Regression/CodeGen/PowerPC/extsh.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
; This should turn into a single extsh
-; RUN: llvm-as < %s | llc -march=ppc32 | grep extsh | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep extsh | wc -l | grep 1
int %test(int %X) {
%tmp.81 = shl int %X, ubyte 16 ; <int> [#uses=1]
%tmp.82 = shr int %tmp.81, ubyte 16 ; <int> [#uses=1]
Index: llvm/test/Regression/CodeGen/PowerPC/fma.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/fma.ll:1.5 llvm/test/Regression/CodeGen/PowerPC/fma.ll:1.6
--- llvm/test/Regression/CodeGen/PowerPC/fma.ll:1.5 Wed Dec 14 16:51:13 2005
+++ llvm/test/Regression/CodeGen/PowerPC/fma.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | egrep 'fn?madd|fn?msub' | wc -l | grep 8
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | egrep 'fn?madd|fn?msub' | wc -l | grep 8
double %test_FMADD1(double %A, double %B, double %C) {
%D = mul double %A, %B
Index: llvm/test/Regression/CodeGen/PowerPC/fnabs.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/fnabs.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/fnabs.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/fnabs.ll:1.2 Fri Apr 15 23:25:48 2005
+++ llvm/test/Regression/CodeGen/PowerPC/fnabs.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep fnabs
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep fnabs
declare double %fabs(double)
Index: llvm/test/Regression/CodeGen/PowerPC/fnegsel.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/fnegsel.ll:1.3 llvm/test/Regression/CodeGen/PowerPC/fnegsel.ll:1.4
--- llvm/test/Regression/CodeGen/PowerPC/fnegsel.ll:1.3 Thu Aug 18 20:16:18 2005
+++ llvm/test/Regression/CodeGen/PowerPC/fnegsel.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep fneg
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep fneg
double %test_FNEG_sel(double %A, double %B, double %C) {
%D = sub double -0.0, %A
Index: llvm/test/Regression/CodeGen/PowerPC/fold-li.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/fold-li.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/fold-li.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/fold-li.ll:1.1 Wed Sep 28 18:03:11 2005
+++ llvm/test/Regression/CodeGen/PowerPC/fold-li.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep -v align | not grep li
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep -v align | not grep li
;; Test that immediates are folded into these instructions correctly.
Index: llvm/test/Regression/CodeGen/PowerPC/fp-branch.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/fp-branch.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/fp-branch.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/fp-branch.ll:1.1 Tue Oct 31 17:05:16 2006
+++ llvm/test/Regression/CodeGen/PowerPC/fp-branch.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep fcmp | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep fcmp | wc -l | grep 1
declare bool %llvm.isunordered.f64(double, double)
Index: llvm/test/Regression/CodeGen/PowerPC/fp-int-fp.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/fp-int-fp.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/fp-int-fp.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/fp-int-fp.ll:1.1 Tue Feb 28 22:56:33 2006
+++ llvm/test/Regression/CodeGen/PowerPC/fp-int-fp.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | not grep r1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | not grep r1
double %test1(double %X) {
%Y = cast double %X to long
Index: llvm/test/Regression/CodeGen/PowerPC/fp_to_uint.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/fp_to_uint.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/fp_to_uint.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/fp_to_uint.ll:1.1 Tue Oct 25 18:53:22 2005
+++ llvm/test/Regression/CodeGen/PowerPC/fp_to_uint.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep fctiwz | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep fctiwz | wc -l | grep 1
implementation
Index: llvm/test/Regression/CodeGen/PowerPC/fpcopy.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/fpcopy.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/fpcopy.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/fpcopy.ll:1.1 Thu Oct 6 23:59:41 2005
+++ llvm/test/Regression/CodeGen/PowerPC/fpcopy.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep fmr
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep fmr
double %test(float %F) {
%F = cast float %F to double
Index: llvm/test/Regression/CodeGen/PowerPC/fsqrt.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/fsqrt.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/fsqrt.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/fsqrt.ll:1.1 Fri Sep 2 13:32:22 2005
+++ llvm/test/Regression/CodeGen/PowerPC/fsqrt.ll Fri Dec 1 22:23:08 2006
@@ -1,10 +1,10 @@
; fsqrt should be generated when the fsqrt feature is enabled, but not
; otherwise.
-; RUN: llvm-as < %s | llc -march=ppc32 -mattr=+fsqrt | grep 'fsqrt f1, f1' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep 'fsqrt f1, f1' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mattr=-fsqrt | not grep 'fsqrt f1, f1' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g4 | not grep 'fsqrt f1, f1'
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mattr=+fsqrt | grep 'fsqrt f1, f1' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep 'fsqrt f1, f1' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mattr=-fsqrt | not grep 'fsqrt f1, f1' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g4 | not grep 'fsqrt f1, f1'
declare double %llvm.sqrt(double)
double %X(double %Y) {
Index: llvm/test/Regression/CodeGen/PowerPC/i64_fp.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/i64_fp.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/i64_fp.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/i64_fp.ll:1.1 Tue Sep 6 17:23:15 2005
+++ llvm/test/Regression/CodeGen/PowerPC/i64_fp.ll Fri Dec 1 22:23:08 2006
@@ -1,14 +1,14 @@
; fcfid and fctid should be generated when the 64bit feature is enabled, but not
; otherwise.
-; RUN: llvm-as < %s | llc -march=ppc32 -mattr=+64bit | grep 'fcfid' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mattr=+64bit | grep 'fctidz' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep 'fcfid' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep 'fctidz' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mattr=-64bit | not grep 'fcfid' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mattr=-64bit | not grep 'fctidz' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g4 | not grep 'fcfid' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g4 | not grep 'fctidz'
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mattr=+64bit | grep 'fcfid' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mattr=+64bit | grep 'fctidz' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep 'fcfid' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep 'fctidz' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mattr=-64bit | not grep 'fcfid' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mattr=-64bit | not grep 'fctidz' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g4 | not grep 'fcfid' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g4 | not grep 'fctidz'
double %X(double %Y) {
%A = cast double %Y to long
Index: llvm/test/Regression/CodeGen/PowerPC/inlineasm-copy.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/inlineasm-copy.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/inlineasm-copy.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/inlineasm-copy.ll:1.1 Wed Nov 1 19:45:28 2006
+++ llvm/test/Regression/CodeGen/PowerPC/inlineasm-copy.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep mr
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep mr
int %test(int %Y, int %X) {
entry:
Index: llvm/test/Regression/CodeGen/PowerPC/inverted-bool-compares.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/inverted-bool-compares.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/inverted-bool-compares.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/inverted-bool-compares.ll:1.1 Thu Sep 22 19:53:06 2005
+++ llvm/test/Regression/CodeGen/PowerPC/inverted-bool-compares.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep xori &&
-; RUN: llvm-as < %s | llc -march=ppc32
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep xori &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32
int %test(bool %B, int* %P) {
br bool %B, label %T, label %F
Index: llvm/test/Regression/CodeGen/PowerPC/lha.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/lha.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/lha.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/lha.ll:1.2 Thu Oct 13 01:04:34 2005
+++ llvm/test/Regression/CodeGen/PowerPC/lha.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep lha
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep lha
uint %test(short* %a) {
%tmp.1 = load short* %a
Index: llvm/test/Regression/CodeGen/PowerPC/load-constant-addr.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/load-constant-addr.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/load-constant-addr.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/load-constant-addr.ll:1.1 Mon Mar 20 16:37:05 2006
+++ llvm/test/Regression/CodeGen/PowerPC/load-constant-addr.ll Fri Dec 1 22:23:08 2006
@@ -1,6 +1,6 @@
; Should fold the ori into the lfs.
-; RUN: llvm-as < %s | llc -march=ppc32 | grep lfs &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep ori
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep lfs &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep ori
float %test() {
%tmp.i = load float* cast (uint 186018016 to float*)
Index: llvm/test/Regression/CodeGen/PowerPC/mem-rr-addr-mode.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/mem-rr-addr-mode.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/mem-rr-addr-mode.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/mem-rr-addr-mode.ll:1.1 Fri Mar 24 11:57:24 2006
+++ llvm/test/Regression/CodeGen/PowerPC/mem-rr-addr-mode.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep 'li.*16' &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | not grep addi
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep 'li.*16' &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | not grep addi
; Codegen lvx (R+16) as t = li 16, lvx t,R
; This shares the 16 between the two loads.
Index: llvm/test/Regression/CodeGen/PowerPC/mem_update.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/mem_update.ll:1.4 llvm/test/Regression/CodeGen/PowerPC/mem_update.ll:1.5
--- llvm/test/Regression/CodeGen/PowerPC/mem_update.ll:1.4 Wed Nov 15 19:22:52 2006
+++ llvm/test/Regression/CodeGen/PowerPC/mem_update.ll Fri Dec 1 22:23:08 2006
@@ -1,7 +1,7 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -enable-ppc-preinc &&
-; RUN: llvm-as < %s | llc -march=ppc32 -enable-ppc-preinc | not grep addi &&
-; RUN: llvm-as < %s | llc -march=ppc64 -enable-ppc-preinc &&
-; RUN: llvm-as < %s | llc -march=ppc64 -enable-ppc-preinc | not grep addi
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -enable-ppc-preinc &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -enable-ppc-preinc | not grep addi &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -enable-ppc-preinc &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -enable-ppc-preinc | not grep addi
%Glob = global ulong 4
int *%test0(int *%X, int *%dest) {
Index: llvm/test/Regression/CodeGen/PowerPC/mul-neg-power-2.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/mul-neg-power-2.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/mul-neg-power-2.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/mul-neg-power-2.ll:1.1 Sun Oct 30 01:37:34 2005
+++ llvm/test/Regression/CodeGen/PowerPC/mul-neg-power-2.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep mul
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep mul
int %test1(int %a) {
%tmp.1 = mul int %a, -2 ; <int> [#uses=1]
Index: llvm/test/Regression/CodeGen/PowerPC/mulhs.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/mulhs.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/mulhs.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/mulhs.ll:1.2 Mon Oct 17 16:54:18 2005
+++ llvm/test/Regression/CodeGen/PowerPC/mulhs.ll Fri Dec 1 22:23:08 2006
@@ -1,8 +1,8 @@
; All of these ands and shifts should be folded into rlwimi's
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep mulhwu &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep srawi &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep add &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep mulhw | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep mulhwu &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep srawi &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep add &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep mulhw | wc -l | grep 1
implementation ; Functions:
Index: llvm/test/Regression/CodeGen/PowerPC/neg.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/neg.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/neg.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/neg.ll:1.1 Fri Mar 17 16:39:45 2006
+++ llvm/test/Regression/CodeGen/PowerPC/neg.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep neg
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep neg
int %test(int %X) {
%Y = sub int 0, %X
Index: llvm/test/Regression/CodeGen/PowerPC/or-addressing-mode.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/or-addressing-mode.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/or-addressing-mode.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/or-addressing-mode.ll:1.1 Wed Mar 1 01:13:56 2006
+++ llvm/test/Regression/CodeGen/PowerPC/or-addressing-mode.ll Fri Dec 1 22:23:08 2006
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | llc &&
-; RUN: llvm-as < %s | llc | not grep ori &&
-; RUN: llvm-as < %s | llc | not grep rlwimi
+; RUN: llvm-upgrade < %s | llvm-as | llc &&
+; RUN: llvm-upgrade < %s | llvm-as | llc | not grep ori &&
+; RUN: llvm-upgrade < %s | llvm-as | llc | not grep rlwimi
int %test1(sbyte* %P) { ;; or -> lwzx
%tmp.2.i = cast sbyte* %P to uint
Index: llvm/test/Regression/CodeGen/PowerPC/reg-coalesce-simple.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/reg-coalesce-simple.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/reg-coalesce-simple.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/reg-coalesce-simple.ll:1.1 Sun Oct 30 13:42:19 2005
+++ llvm/test/Regression/CodeGen/PowerPC/reg-coalesce-simple.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep or
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep or
%struct.foo = type { int, int, [0 x ubyte] }
int %test(%struct.foo* %X) {
Index: llvm/test/Regression/CodeGen/PowerPC/rlwimi-commute.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/rlwimi-commute.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/rlwimi-commute.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/rlwimi-commute.ll:1.1 Fri Sep 9 12:48:57 2005
+++ llvm/test/Regression/CodeGen/PowerPC/rlwimi-commute.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep rlwimi &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep 'or '
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep rlwimi &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep 'or '
; Make sure there is no register-register copies here.
Index: llvm/test/Regression/CodeGen/PowerPC/rlwimi.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/rlwimi.ll:1.4 llvm/test/Regression/CodeGen/PowerPC/rlwimi.ll:1.5
--- llvm/test/Regression/CodeGen/PowerPC/rlwimi.ll:1.4 Mon Oct 17 16:54:18 2005
+++ llvm/test/Regression/CodeGen/PowerPC/rlwimi.ll Fri Dec 1 22:23:08 2006
@@ -1,6 +1,6 @@
; All of these ands and shifts should be folded into rlwimi's
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep and &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep rlwimi | wc -l | grep 8
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep and &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep rlwimi | wc -l | grep 8
implementation ; Functions:
Index: llvm/test/Regression/CodeGen/PowerPC/rlwimi2.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/rlwimi2.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/rlwimi2.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/rlwimi2.ll:1.2 Mon Oct 17 16:54:18 2005
+++ llvm/test/Regression/CodeGen/PowerPC/rlwimi2.ll Fri Dec 1 22:23:08 2006
@@ -1,7 +1,7 @@
; All of these ands and shifts should be folded into rlwimi's
-; RUN: llvm-as < %s | llc -march=ppc32 | grep rlwimi | wc -l | grep 3 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep srwi | wc -l | grep 1 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep slwi
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep rlwimi | wc -l | grep 3 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep srwi | wc -l | grep 1 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep slwi
implementation ; Functions:
Index: llvm/test/Regression/CodeGen/PowerPC/rlwimi3.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/rlwimi3.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/rlwimi3.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/rlwimi3.ll:1.1 Sun Sep 10 13:52:25 2006
+++ llvm/test/Regression/CodeGen/PowerPC/rlwimi3.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -stats 2>&1 | grep 'Number of machine instrs printed' | grep 12
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -stats 2>&1 | grep 'Number of machine instrs printed' | grep 12
ushort %Trans16Bit(uint %srcA, uint %srcB, uint %alpha) {
%tmp1 = shl uint %srcA, ubyte 15 ; <uint> [#uses=1]
Index: llvm/test/Regression/CodeGen/PowerPC/rlwinm.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/rlwinm.ll:1.4 llvm/test/Regression/CodeGen/PowerPC/rlwinm.ll:1.5
--- llvm/test/Regression/CodeGen/PowerPC/rlwinm.ll:1.4 Mon Oct 17 16:54:18 2005
+++ llvm/test/Regression/CodeGen/PowerPC/rlwinm.ll Fri Dec 1 22:23:08 2006
@@ -1,9 +1,9 @@
; All of these ands and shifts should be folded into rlwimi's
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep and &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep srawi &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep srwi &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep slwi &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep rlwinm | wc -l | grep 8
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep and &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep srawi &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep srwi &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep slwi &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep rlwinm | wc -l | grep 8
implementation ; Functions:
Index: llvm/test/Regression/CodeGen/PowerPC/rlwinm2.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/rlwinm2.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/rlwinm2.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/rlwinm2.ll:1.1 Fri Sep 22 00:49:57 2006
+++ llvm/test/Regression/CodeGen/PowerPC/rlwinm2.ll Fri Dec 1 22:23:08 2006
@@ -1,10 +1,10 @@
; All of these ands and shifts should be folded into rlw[i]nm instructions
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep and &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep srawi &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep srwi &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep slwi &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep rlwnm | wc -l | grep 1 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep rlwinm | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep and &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep srawi &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep srwi &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep slwi &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep rlwnm | wc -l | grep 1 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep rlwinm | wc -l | grep 1
implementation ; Functions:
Index: llvm/test/Regression/CodeGen/PowerPC/rotl.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/rotl.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/rotl.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/rotl.ll:1.1 Wed Jan 11 16:58:12 2006
+++ llvm/test/Regression/CodeGen/PowerPC/rotl.ll Fri Dec 1 22:23:08 2006
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep or &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep rlwnm | wc -l | grep 2 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep rlwinm | wc -l | grep 2
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep or &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep rlwnm | wc -l | grep 2 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep rlwinm | wc -l | grep 2
implementation ; Functions:
Index: llvm/test/Regression/CodeGen/PowerPC/select_lt0.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/select_lt0.ll:1.3 llvm/test/Regression/CodeGen/PowerPC/select_lt0.ll:1.4
--- llvm/test/Regression/CodeGen/PowerPC/select_lt0.ll:1.3 Wed Sep 20 01:40:37 2006
+++ llvm/test/Regression/CodeGen/PowerPC/select_lt0.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep cmp
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep cmp
int %seli32_1(int %a) {
entry:
Index: llvm/test/Regression/CodeGen/PowerPC/setcc_no_zext.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/setcc_no_zext.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/setcc_no_zext.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/setcc_no_zext.ll:1.2 Thu Aug 18 20:16:18 2005
+++ llvm/test/Regression/CodeGen/PowerPC/setcc_no_zext.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep rlwinm
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep rlwinm
int %setcc_one_or_zero(int* %a) {
entry:
Index: llvm/test/Regression/CodeGen/PowerPC/seteq-0.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/seteq-0.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/seteq-0.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/seteq-0.ll:1.1 Wed Aug 24 11:48:49 2005
+++ llvm/test/Regression/CodeGen/PowerPC/seteq-0.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'srwi r., r., 5'
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep 'srwi r., r., 5'
int %eq0(int %a) {
%tmp.1 = seteq int %a, 0 ; <bool> [#uses=1]
Index: llvm/test/Regression/CodeGen/PowerPC/shl_sext.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/shl_sext.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/shl_sext.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/shl_sext.ll:1.2 Fri Feb 17 15:38:45 2006
+++ llvm/test/Regression/CodeGen/PowerPC/shl_sext.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
; This test should not contain a sign extend
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep extsb
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep extsb
int %test(uint %mode.0.i.0) {
%tmp.79 = cast uint %mode.0.i.0 to sbyte ; <sbyte> [#uses=1]
Index: llvm/test/Regression/CodeGen/PowerPC/small-arguments.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/small-arguments.ll:1.4 llvm/test/Regression/CodeGen/PowerPC/small-arguments.ll:1.5
--- llvm/test/Regression/CodeGen/PowerPC/small-arguments.ll:1.4 Tue Feb 28 00:54:19 2006
+++ llvm/test/Regression/CodeGen/PowerPC/small-arguments.ll Fri Dec 1 22:23:08 2006
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | llc -march=ppc32 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep 'extsh\|rlwinm'
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep 'extsh\|rlwinm'
declare short %foo()
Index: llvm/test/Regression/CodeGen/PowerPC/stfiwx.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/stfiwx.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/stfiwx.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/stfiwx.ll:1.1 Tue Feb 28 23:49:05 2006
+++ llvm/test/Regression/CodeGen/PowerPC/stfiwx.ll Fri Dec 1 22:23:08 2006
@@ -1,7 +1,7 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -mattr=stfiwx | grep stfiwx &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mattr=stfiwx | not grep r1 &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mattr=-stfiwx | not grep stfiwx &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mattr=-stfiwx | grep r1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mattr=stfiwx | grep stfiwx &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mattr=stfiwx | not grep r1 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mattr=-stfiwx | not grep stfiwx &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mattr=-stfiwx | grep r1
void %test(float %a, int* %b) {
%tmp.2 = cast float %a to int
Index: llvm/test/Regression/CodeGen/PowerPC/store-load-fwd.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/store-load-fwd.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/store-load-fwd.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/store-load-fwd.ll:1.1 Mon Oct 10 16:57:37 2005
+++ llvm/test/Regression/CodeGen/PowerPC/store-load-fwd.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep lwz
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep lwz
int %test(int* %P) {
store int 1, int* %P
%V = load int* %P
Index: llvm/test/Regression/CodeGen/PowerPC/subc.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/subc.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/subc.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/subc.ll:1.2 Fri Feb 17 00:24:31 2006
+++ llvm/test/Regression/CodeGen/PowerPC/subc.ll Fri Dec 1 22:23:08 2006
@@ -1,9 +1,9 @@
; All of these should be codegen'd without loading immediates
-; RUN: llvm-as < %s | llc -march=ppc32 | grep subfc | wc -l | grep 1 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep subfe | wc -l | grep 1 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep subfze | wc -l | grep 1 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep subfme | wc -l | grep 1 &&
-; RUN: llvm-as < %s | llc -march=ppc32 | grep subfic | wc -l | grep 2
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep subfc | wc -l | grep 1 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep subfe | wc -l | grep 1 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep subfze | wc -l | grep 1 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep subfme | wc -l | grep 1 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep subfic | wc -l | grep 2
implementation ; Functions:
long %sub_ll(long %a, long %b) {
Index: llvm/test/Regression/CodeGen/PowerPC/vcmp-fold.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/vcmp-fold.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/vcmp-fold.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/vcmp-fold.ll:1.1 Fri Mar 31 00:01:48 2006
+++ llvm/test/Regression/CodeGen/PowerPC/vcmp-fold.ll Fri Dec 1 22:23:08 2006
@@ -1,6 +1,6 @@
; This should fold the "vcmpbfp." and "vcmpbfp" instructions into a single
; "vcmpbfp.".
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vcmpbfp | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vcmpbfp | wc -l | grep 1
void %test(<4 x float>* %x, <4 x float>* %y, int* %P) {
entry:
Index: llvm/test/Regression/CodeGen/PowerPC/vec_br_cmp.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/vec_br_cmp.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/vec_br_cmp.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/vec_br_cmp.ll:1.1 Tue Apr 18 12:56:30 2006
+++ llvm/test/Regression/CodeGen/PowerPC/vec_br_cmp.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vcmpeqfp. &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | not grep mfcr
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vcmpeqfp. &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | not grep mfcr
; A predicate compare used immediately by a branch should not generate an mfcr.
Index: llvm/test/Regression/CodeGen/PowerPC/vec_call.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/vec_call.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/vec_call.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/vec_call.ll:1.1 Tue May 16 19:18:23 2006
+++ llvm/test/Regression/CodeGen/PowerPC/vec_call.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5
<4 x int> %test_arg(<4 x int> %A, <4 x int> %B) {
%C = add <4 x int> %A, %B
Index: llvm/test/Regression/CodeGen/PowerPC/vec_constants.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/vec_constants.ll:1.5 llvm/test/Regression/CodeGen/PowerPC/vec_constants.ll:1.6
--- llvm/test/Regression/CodeGen/PowerPC/vec_constants.ll:1.5 Mon Apr 17 12:54:18 2006
+++ llvm/test/Regression/CodeGen/PowerPC/vec_constants.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | not grep CPI
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | not grep CPI
; Tests spltw(0x80000000) and spltw(0x7FFFFFFF).
Index: llvm/test/Regression/CodeGen/PowerPC/vec_mul.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/vec_mul.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/vec_mul.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/vec_mul.ll:1.2 Mon Apr 17 22:54:50 2006
+++ llvm/test/Regression/CodeGen/PowerPC/vec_mul.ll Fri Dec 1 22:23:08 2006
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | not grep mullw &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vmsumuhm
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | not grep mullw &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vmsumuhm
<4 x int> %test_v4i32(<4 x int>* %X, <4 x int>* %Y) {
%tmp = load <4 x int>* %X
Index: llvm/test/Regression/CodeGen/PowerPC/vec_perf_shuffle.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/vec_perf_shuffle.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/vec_perf_shuffle.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/vec_perf_shuffle.ll:1.1 Mon Apr 17 00:27:31 2006
+++ llvm/test/Regression/CodeGen/PowerPC/vec_perf_shuffle.ll Fri Dec 1 22:23:08 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | not grep vperm
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | not grep vperm
<4 x float> %test_uu72(<4 x float> *%P1, <4 x float> *%P2) {
%V1 = load <4 x float> *%P1
Index: llvm/test/Regression/CodeGen/PowerPC/vec_shuffle.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/vec_shuffle.ll:1.7 llvm/test/Regression/CodeGen/PowerPC/vec_shuffle.ll:1.8
--- llvm/test/Regression/CodeGen/PowerPC/vec_shuffle.ll:1.7 Thu Apr 13 11:52:13 2006
+++ llvm/test/Regression/CodeGen/PowerPC/vec_shuffle.ll Fri Dec 1 22:23:08 2006
@@ -1,9 +1,9 @@
-; RUN: llvm-as < %s | opt -instcombine | llc -march=ppc32 -mcpu=g5 | not grep vperm &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vsldoi | wc -l | grep 2 &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vmrgh | wc -l | grep 7 &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vmrgl | wc -l | grep 6 &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vpkuhum | wc -l | grep 1 &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vpkuwum | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llc -march=ppc32 -mcpu=g5 | not grep vperm &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vsldoi | wc -l | grep 2 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vmrgh | wc -l | grep 7 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vmrgl | wc -l | grep 6 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vpkuhum | wc -l | grep 1 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vpkuwum | wc -l | grep 1
void %VSLDOI_xy(<8 x short>* %A, <8 x short>* %B) {
entry:
Index: llvm/test/Regression/CodeGen/PowerPC/vec_spat.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/vec_spat.ll:1.4 llvm/test/Regression/CodeGen/PowerPC/vec_spat.ll:1.5
--- llvm/test/Regression/CodeGen/PowerPC/vec_spat.ll:1.4 Sat Apr 8 02:13:46 2006
+++ llvm/test/Regression/CodeGen/PowerPC/vec_spat.ll Fri Dec 1 22:23:08 2006
@@ -1,8 +1,8 @@
; Test that vectors are scalarized/lowered correctly.
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vspltw | wc -l | grep 2 &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g3 | grep stfs | wc -l | grep 4 &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vsplti | wc -l | grep 3 &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vsplth | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vspltw | wc -l | grep 2 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g3 | grep stfs | wc -l | grep 4 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vsplti | wc -l | grep 3 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vsplth | wc -l | grep 1
%f4 = type <4 x float>
%i4 = type <4 x int>
Index: llvm/test/Regression/CodeGen/PowerPC/vec_vrsave.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/vec_vrsave.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/vec_vrsave.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/vec_vrsave.ll:1.2 Tue May 16 13:23:55 2006
+++ llvm/test/Regression/CodeGen/PowerPC/vec_vrsave.ll Fri Dec 1 22:23:08 2006
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vrlw &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | not grep spr &&
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | not grep vrsave
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vrlw &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | not grep spr &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | not grep vrsave
<4 x int> %test_rol() {
ret <4 x int> < int -11534337, int -11534337, int -11534337, int -11534337 >
Index: llvm/test/Regression/CodeGen/PowerPC/vec_zero.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/vec_zero.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/vec_zero.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/vec_zero.ll:1.1 Fri Mar 24 01:47:53 2006
+++ llvm/test/Regression/CodeGen/PowerPC/vec_zero.ll Fri Dec 1 22:23:08 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vxor
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vxor
void %foo(<4 x float> *%P) {
%T = load <4 x float> * %P
More information about the llvm-commits
mailing list