diff options
Diffstat (limited to 'test/CodeGen/ARM')
28 files changed, 119 insertions, 119 deletions
diff --git a/test/CodeGen/ARM/alloca.ll b/test/CodeGen/ARM/alloca.ll index b77f234e10..6722026835 100644 --- a/test/CodeGen/ARM/alloca.ll +++ b/test/CodeGen/ARM/alloca.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=arm +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm void %f(uint %a) { entry: %tmp = alloca sbyte, uint %a diff --git a/test/CodeGen/ARM/argaddr.ll b/test/CodeGen/ARM/argaddr.ll index abdf215ee0..a1317213fc 100644 --- a/test/CodeGen/ARM/argaddr.ll +++ b/test/CodeGen/ARM/argaddr.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=arm +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm void %f(int %a, int %b, int %c, int %d, int %e) { entry: %a_addr = alloca int ; <int*> [#uses=2] diff --git a/test/CodeGen/ARM/bits.ll b/test/CodeGen/ARM/bits.ll index ca79e49829..c5052e5bac 100644 --- a/test/CodeGen/ARM/bits.ll +++ b/test/CodeGen/ARM/bits.ll @@ -1,9 +1,9 @@ -; RUN: llvm-as < %s | llc -march=arm && -; RUN: llvm-as < %s | llc -march=arm | grep and | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep orr | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep eor | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep mov.*lsl | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep mov.*asr | wc -l | grep 1 +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep and | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep orr | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep eor | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep mov.*lsl | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep mov.*asr | wc -l | grep 1 int %f1(int %a, int %b) { entry: diff --git a/test/CodeGen/ARM/branch.ll b/test/CodeGen/ARM/branch.ll index 57aa179a7c..54929ad5df 100644 --- a/test/CodeGen/ARM/branch.ll +++ b/test/CodeGen/ARM/branch.ll @@ -1,8 +1,8 @@ -; RUN: llvm-as < %s | llc -march=arm && -; RUN: llvm-as < %s | llc -march=arm | grep bne && -; RUN: llvm-as < %s | llc -march=arm | grep bge && -; RUN: llvm-as < %s | llc -march=arm | grep bcs && -; RUN: llvm-as < %s | llc -march=arm | grep bcc +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep bne && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep bge && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep bcs && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep bcc void %f1(int %a, int %b, int* %v) { entry: diff --git a/test/CodeGen/ARM/call.ll b/test/CodeGen/ARM/call.ll index b223698c65..a4b6b807d6 100644 --- a/test/CodeGen/ARM/call.ll +++ b/test/CodeGen/ARM/call.ll @@ -1,6 +1,6 @@ -; RUN: llvm-as < %s | llc -march=arm && -; RUN: llvm-as < %s | llc -march=arm | grep bl && -; RUN: llvm-as < %s | llc -march=arm | grep blx +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep bl && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep blx void %f() { entry: diff --git a/test/CodeGen/ARM/constants.ll b/test/CodeGen/ARM/constants.ll index f161b9d070..0d69f53585 100644 --- a/test/CodeGen/ARM/constants.ll +++ b/test/CodeGen/ARM/constants.ll @@ -1,11 +1,11 @@ -; RUN: llvm-as < %s | llc -march=arm && -; RUN: llvm-as < %s | llc -march=arm | grep "mov r0, #0" | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep "mov r0, #255" | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep "mov r0, #256" | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep ".word.*257" | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep "mov r0, #-1073741761" | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep "mov r0, #1008" | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep "\.comm.*a,4,4" | wc -l | grep 1 +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "mov r0, #0" | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "mov r0, #255" | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "mov r0, #256" | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep ".word.*257" | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "mov r0, #-1073741761" | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "mov r0, #1008" | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "\.comm.*a,4,4" | wc -l | grep 1 %a = internal global int 0 diff --git a/test/CodeGen/ARM/div.ll b/test/CodeGen/ARM/div.ll index 1d7839439d..5ad660ed5a 100644 --- a/test/CodeGen/ARM/div.ll +++ b/test/CodeGen/ARM/div.ll @@ -1,8 +1,8 @@ -; RUN: llvm-as < %s | llc -march=arm && -; RUN: llvm-as < %s | llc -march=arm | grep __divsi3 && -; RUN: llvm-as < %s | llc -march=arm | grep __udivsi3 && -; RUN: llvm-as < %s | llc -march=arm | grep __modsi3 && -; RUN: llvm-as < %s | llc -march=arm | grep __umodsi3 +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep __divsi3 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep __udivsi3 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep __modsi3 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep __umodsi3 int %f1(int %a, int %b) { entry: diff --git a/test/CodeGen/ARM/fp.ll b/test/CodeGen/ARM/fp.ll index 681ccc1bf6..127d9a1a21 100644 --- a/test/CodeGen/ARM/fp.ll +++ b/test/CodeGen/ARM/fp.ll @@ -1,13 +1,13 @@ -; RUN: llvm-as < %s | llc -march=arm && -; RUN: llvm-as < %s | llc -march=arm | grep fmsr && -; RUN: llvm-as < %s | llc -march=arm | grep fmrs && -; RUN: llvm-as < %s | llc -march=arm | grep fmrrd && -; RUN: llvm-as < %s | llc -march=arm | grep fmdrr && -; RUN: llvm-as < %s | llc -march=arm | grep fldd && -; RUN: llvm-as < %s | llc -march=arm | grep flds && -; RUN: llvm-as < %s | llc -march=arm | grep fstd && -; RUN: llvm-as < %s | llc -march=arm | grep fsts && -; RUN: llvm-as < %s | llc -march=arm | grep ".word.*1065353216" +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fmsr && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fmrs && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fmrrd && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fmdrr && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fldd && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep flds && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fstd && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fsts && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep ".word.*1065353216" double %h(double* %v) { diff --git a/test/CodeGen/ARM/fparith.ll b/test/CodeGen/ARM/fparith.ll index db115a95f0..0328cb35ba 100644 --- a/test/CodeGen/ARM/fparith.ll +++ b/test/CodeGen/ARM/fparith.ll @@ -1,12 +1,12 @@ -; RUN: llvm-as < %s | llc -march=arm && -; RUN: llvm-as < %s | llc -march=arm | grep fadds && -; RUN: llvm-as < %s | llc -march=arm | grep faddd && -; RUN: llvm-as < %s | llc -march=arm | grep fmuls && -; RUN: llvm-as < %s | llc -march=arm | grep fmuld && -; RUN: llvm-as < %s | llc -march=arm | grep fnegs && -; RUN: llvm-as < %s | llc -march=arm | grep fnegd && -; RUN: llvm-as < %s | llc -march=arm | grep fdivs && -; RUN: llvm-as < %s | llc -march=arm | grep fdivd +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fadds && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep faddd && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fmuls && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fmuld && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fnegs && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fnegd && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fdivs && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fdivd float %f1(float %a, float %b) { entry: diff --git a/test/CodeGen/ARM/fpcmp.ll b/test/CodeGen/ARM/fpcmp.ll index 61dc489356..402dc7a1ac 100644 --- a/test/CodeGen/ARM/fpcmp.ll +++ b/test/CodeGen/ARM/fpcmp.ll @@ -1,12 +1,12 @@ -; RUN: llvm-as < %s | llc -march=arm && -; RUN: llvm-as < %s | llc -march=arm | grep movmi && -; RUN: llvm-as < %s | llc -march=arm | grep moveq && -; RUN: llvm-as < %s | llc -march=arm | grep movgt && -; RUN: llvm-as < %s | llc -march=arm | grep movge && -; RUN: llvm-as < %s | llc -march=arm | grep movls && -; RUN: llvm-as < %s | llc -march=arm | grep movne && -; RUN: llvm-as < %s | llc -march=arm | grep fcmps && -; RUN: llvm-as < %s | llc -march=arm | grep fcmpd +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep movmi && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep moveq && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep movgt && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep movge && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep movls && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep movne && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fcmps && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fcmpd int %f1(float %a) { entry: diff --git a/test/CodeGen/ARM/fpconv.ll b/test/CodeGen/ARM/fpconv.ll index a86feb6c05..4ac542f0fd 100644 --- a/test/CodeGen/ARM/fpconv.ll +++ b/test/CodeGen/ARM/fpconv.ll @@ -1,14 +1,14 @@ -; RUN: llvm-as < %s | llc -march=arm && -; RUN: llvm-as < %s | llc -march=arm | grep fcvtsd && -; RUN: llvm-as < %s | llc -march=arm | grep fcvtds && -; RUN: llvm-as < %s | llc -march=arm | grep ftosis && -; RUN: llvm-as < %s | llc -march=arm | grep ftouis && -; RUN: llvm-as < %s | llc -march=arm | grep ftosid && -; RUN: llvm-as < %s | llc -march=arm | grep ftouid && -; RUN: llvm-as < %s | llc -march=arm | grep fsitos && -; RUN: llvm-as < %s | llc -march=arm | grep fsitod && -; RUN: llvm-as < %s | llc -march=arm | grep fuitos && -; RUN: llvm-as < %s | llc -march=arm | grep fuitod +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fcvtsd && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fcvtds && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep ftosis && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep ftouis && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep ftosid && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep ftouid && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fsitos && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fsitod && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fuitos && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep fuitod float %f1(double %x) { entry: diff --git a/test/CodeGen/ARM/fpmem.ll b/test/CodeGen/ARM/fpmem.ll index b617a6911d..7704f2b9a7 100644 --- a/test/CodeGen/ARM/fpmem.ll +++ b/test/CodeGen/ARM/fpmem.ll @@ -1,7 +1,7 @@ -; RUN: llvm-as < %s | llc -march=arm && -; RUN: llvm-as < %s | llc -march=arm | grep flds | wc -l | grep 2 && -; RUN: llvm-as < %s | llc -march=arm | grep "flds.*\[" | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep "fsts.*\[" | wc -l | grep 1 +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep flds | wc -l | grep 2 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "flds.*\[" | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "fsts.*\[" | wc -l | grep 1 float %f1(float %a) { entry: diff --git a/test/CodeGen/ARM/hello.ll b/test/CodeGen/ARM/hello.ll index 61354a0425..af5fafacc3 100644 --- a/test/CodeGen/ARM/hello.ll +++ b/test/CodeGen/ARM/hello.ll @@ -1,5 +1,5 @@ -; RUN: llvm-as < %s | llc -march=arm && -; RUN: llvm-as < %s | llc -march=arm | grep mov | wc -l | grep 1 +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep mov | wc -l | grep 1 %str = internal constant [12 x sbyte] c"Hello World\00" ; <[12 x sbyte]*> [#uses=1] implementation ; Functions: diff --git a/test/CodeGen/ARM/ldr.ll b/test/CodeGen/ARM/ldr.ll index 4f25a1e71f..0b463bf0ba 100644 --- a/test/CodeGen/ARM/ldr.ll +++ b/test/CodeGen/ARM/ldr.ll @@ -1,6 +1,6 @@ -; RUN: llvm-as < %s | llc -march=arm && -; RUN: llvm-as < %s | llc -march=arm | grep "ldr r0.*#0" | wc -l | grep 2 && -; RUN: llvm-as < %s | llc -march=arm | grep "ldr r0.*#4092" | wc -l | grep 1 +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "ldr r0.*#0" | wc -l | grep 2 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "ldr r0.*#4092" | wc -l | grep 1 int %f1(int* %v) { entry: diff --git a/test/CodeGen/ARM/load.ll b/test/CodeGen/ARM/load.ll index 603a8b2780..68d193b78f 100644 --- a/test/CodeGen/ARM/load.ll +++ b/test/CodeGen/ARM/load.ll @@ -1,8 +1,8 @@ -; RUN: llvm-as < %s | llc -march=arm && -; RUN: llvm-as < %s | llc -march=arm | grep ldrsb && -; RUN: llvm-as < %s | llc -march=arm | grep ldrb && -; RUN: llvm-as < %s | llc -march=arm | grep ldrsh && -; RUN: llvm-as < %s | llc -march=arm | grep ldrh +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep ldrsb && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep ldrb && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep ldrsh && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep ldrh int %f1(sbyte* %p) { entry: diff --git a/test/CodeGen/ARM/long.ll b/test/CodeGen/ARM/long.ll index b310bc00c0..33e9b31bd0 100644 --- a/test/CodeGen/ARM/long.ll +++ b/test/CodeGen/ARM/long.ll @@ -1,15 +1,15 @@ -; RUN: llvm-as < %s | llc -march=arm && -; RUN: llvm-as < %s | llc -march=arm | grep "mov r1, #0" | wc -l | grep 4 && -; RUN: llvm-as < %s | llc -march=arm | grep "mov r0, #1" | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep ".word.*2147483647" | wc -l | grep 2 && -; RUN: llvm-as < %s | llc -march=arm | grep "mov r0, #-2147483648" | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep ".word.*4294967295" | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep "adds" | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep "adcs" | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep "subs" | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep "sbcs" | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep "smull" | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep "umull" | wc -l | grep 1 +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "mov r1, #0" | wc -l | grep 4 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "mov r0, #1" | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep ".word.*2147483647" | wc -l | grep 2 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "mov r0, #-2147483648" | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep ".word.*4294967295" | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "adds" | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "adcs" | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "subs" | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "sbcs" | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "smull" | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "umull" | wc -l | grep 1 long %f1() { entry: diff --git a/test/CodeGen/ARM/longarith.ll b/test/CodeGen/ARM/longarith.ll index ecf66c1cc8..63b81bcac0 100644 --- a/test/CodeGen/ARM/longarith.ll +++ b/test/CodeGen/ARM/longarith.ll @@ -1,7 +1,7 @@ -; RUN: llvm-as < %s | llc -march=arm && -; RUN: llvm-as < %s | llc -march=arm | grep __ashldi3 && -; RUN: llvm-as < %s | llc -march=arm | grep __ashrdi3 && -; RUN: llvm-as < %s | llc -march=arm | grep __lshrdi3 +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep __ashldi3 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep __ashrdi3 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep __lshrdi3 uint %f1(ulong %x, ubyte %y) { entry: %a = shl ulong %x, ubyte %y diff --git a/test/CodeGen/ARM/mem.ll b/test/CodeGen/ARM/mem.ll index 1bd328c3cc..6a0f0e1716 100644 --- a/test/CodeGen/ARM/mem.ll +++ b/test/CodeGen/ARM/mem.ll @@ -1,6 +1,6 @@ -; RUN: llvm-as < %s | llc -march=arm && -; RUN: llvm-as < %s | llc -march=arm | grep strb && -; RUN: llvm-as < %s | llc -march=arm | grep strh +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep strb && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep strh void %f1() { entry: diff --git a/test/CodeGen/ARM/mul.ll b/test/CodeGen/ARM/mul.ll index 77f94f087f..4ef01b346b 100644 --- a/test/CodeGen/ARM/mul.ll +++ b/test/CodeGen/ARM/mul.ll @@ -1,6 +1,6 @@ -; RUN: llvm-as < %s | llc -march=arm && -; RUN: llvm-as < %s | llc -march=arm | grep "mul r0, r12, r0" | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep "mul r0, r1, r0" | wc -l | grep 1 +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "mul r0, r12, r0" | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "mul r0, r1, r0" | wc -l | grep 1 int %mul1(int %u) { entry: diff --git a/test/CodeGen/ARM/ret_arg1.ll b/test/CodeGen/ARM/ret_arg1.ll index db7c7a04c3..d490cb3430 100644 --- a/test/CodeGen/ARM/ret_arg1.ll +++ b/test/CodeGen/ARM/ret_arg1.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=arm +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm int %test(int %a1) { ret int %a1 } diff --git a/test/CodeGen/ARM/ret_arg2.ll b/test/CodeGen/ARM/ret_arg2.ll index 365bcd60e7..eb155da66f 100644 --- a/test/CodeGen/ARM/ret_arg2.ll +++ b/test/CodeGen/ARM/ret_arg2.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=arm +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm int %test(int %a1, int %a2) { ret int %a2 } diff --git a/test/CodeGen/ARM/ret_arg3.ll b/test/CodeGen/ARM/ret_arg3.ll index c1fc09263f..41fc9306be 100644 --- a/test/CodeGen/ARM/ret_arg3.ll +++ b/test/CodeGen/ARM/ret_arg3.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=arm +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm int %test(int %a1, int %a2, int %a3) { ret int %a3 } diff --git a/test/CodeGen/ARM/ret_arg4.ll b/test/CodeGen/ARM/ret_arg4.ll index cb7b1974db..e04f29695b 100644 --- a/test/CodeGen/ARM/ret_arg4.ll +++ b/test/CodeGen/ARM/ret_arg4.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=arm +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm int %test(int %a1, int %a2, int %a3, int %a4) { ret int %a4 } diff --git a/test/CodeGen/ARM/ret_arg5.ll b/test/CodeGen/ARM/ret_arg5.ll index e434bcab28..a49929bca4 100644 --- a/test/CodeGen/ARM/ret_arg5.ll +++ b/test/CodeGen/ARM/ret_arg5.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=arm +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm int %test(int %a1, int %a2, int %a3, int %a4, int %a5) { ret int %a5 } diff --git a/test/CodeGen/ARM/ret_void.ll b/test/CodeGen/ARM/ret_void.ll index c1c1556691..5cd82e33d0 100644 --- a/test/CodeGen/ARM/ret_void.ll +++ b/test/CodeGen/ARM/ret_void.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=arm +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm void %test() { ret void } diff --git a/test/CodeGen/ARM/select.ll b/test/CodeGen/ARM/select.ll index 0bfffc89b4..8ed6e401a9 100644 --- a/test/CodeGen/ARM/select.ll +++ b/test/CodeGen/ARM/select.ll @@ -1,10 +1,10 @@ -; RUN: llvm-as < %s | llc -march=arm && -; RUN: llvm-as < %s | llc -march=arm | grep moveq | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep movgt | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep movlt | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep movle | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep movls | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=arm | grep movhi | wc -l | grep 1 +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep moveq | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep movgt | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep movlt | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep movle | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep movls | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep movhi | wc -l | grep 1 int %f1(int %a) { entry: diff --git a/test/CodeGen/ARM/vargs.ll b/test/CodeGen/ARM/vargs.ll index f60c51a3c9..aa5e8e6f78 100644 --- a/test/CodeGen/ARM/vargs.ll +++ b/test/CodeGen/ARM/vargs.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=arm +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm %str = internal constant [43 x sbyte] c"Hello World %d %d %d %d %d %d %d %d %d %d\0A\00" ; <[43 x sbyte]*> [#uses=1] implementation ; Functions: diff --git a/test/CodeGen/ARM/vargs2.ll b/test/CodeGen/ARM/vargs2.ll index 232149cc8d..1404a412ee 100644 --- a/test/CodeGen/ARM/vargs2.ll +++ b/test/CodeGen/ARM/vargs2.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=arm +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm %str = internal constant [7 x ubyte] c"%d %d\0A\00" ; <[7 x ubyte]*> [#uses=1] implementation ; Functions: |