[llvm-commits] CVS: llvm/test/Regression/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll 2003-05-30-BadFoldGEP.ll 2003-05-30-BadPreselectPhi.ll 2003-07-07-BadLongConst.ll 2003-07-08-BadCastToBool.ll 2005-07-12-memcpy-i64-length.ll 2006-07-03-schedulers.ll BurgBadRegAlloc.ll badFoldGEP.ll constindices.ll fwdtwice.ll intrinsics.ll isunord.ll llvm-ct-intrinsics.ll negintconst.ll sched.ll select.ll spillccr.ll
Reid Spencer
reid at x10sys.com
Sat Dec 2 12:38:25 PST 2006
Changes in directory llvm/test/Regression/CodeGen/Generic:
2002-04-14-UnexpectedUnsignedType.ll updated: 1.2 -> 1.3
2003-05-30-BadFoldGEP.ll updated: 1.2 -> 1.3
2003-05-30-BadPreselectPhi.ll updated: 1.3 -> 1.4
2003-07-07-BadLongConst.ll updated: 1.3 -> 1.4
2003-07-08-BadCastToBool.ll updated: 1.4 -> 1.5
2005-07-12-memcpy-i64-length.ll updated: 1.2 -> 1.3
2006-07-03-schedulers.ll updated: 1.2 -> 1.3
BurgBadRegAlloc.ll updated: 1.6 -> 1.7
badFoldGEP.ll updated: 1.4 -> 1.5
constindices.ll updated: 1.6 -> 1.7
fwdtwice.ll updated: 1.3 -> 1.4
intrinsics.ll updated: 1.3 -> 1.4
isunord.ll updated: 1.4 -> 1.5
llvm-ct-intrinsics.ll updated: 1.3 -> 1.4
negintconst.ll updated: 1.3 -> 1.4
sched.ll updated: 1.3 -> 1.4
select.ll updated: 1.11 -> 1.12
spillccr.ll updated: 1.4 -> 1.5
---
Log message:
Run llvm-upgrade on this test and/or upgrade intrinsic function calls.
---
Diffs of the changes: (+77 -77)
2002-04-14-UnexpectedUnsignedType.ll | 4 -
2003-05-30-BadFoldGEP.ll | 2
2003-05-30-BadPreselectPhi.ll | 2
2003-07-07-BadLongConst.ll | 2
2003-07-08-BadCastToBool.ll | 2
2005-07-12-memcpy-i64-length.ll | 4 -
2006-07-03-schedulers.ll | 14 ++---
BurgBadRegAlloc.ll | 2
badFoldGEP.ll | 2
constindices.ll | 2
fwdtwice.ll | 2
intrinsics.ll | 8 +-
isunord.ll | 4 -
llvm-ct-intrinsics.ll | 96 +++++++++++++++++------------------
negintconst.ll | 2
sched.ll | 2
select.ll | 2
spillccr.ll | 2
18 files changed, 77 insertions(+), 77 deletions(-)
Index: llvm/test/Regression/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll
diff -u llvm/test/Regression/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll:1.2 llvm/test/Regression/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll:1.3
--- llvm/test/Regression/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll:1.2 Sat Nov 6 17:05:53 2004
+++ llvm/test/Regression/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll Sat Dec 2 14:38:10 2006
@@ -1,6 +1,6 @@
-; RUN: llvm-as -f %s -o - | llc
+; RUN: llvm-upgrade < %s | llvm-as -o - | llc
-; This causes the backend to assert out with:
+; This caused the backend to assert out with:
; SparcInstrInfo.cpp:103: failed assertion `0 && "Unexpected unsigned type"'
;
implementation
Index: llvm/test/Regression/CodeGen/Generic/2003-05-30-BadFoldGEP.ll
diff -u llvm/test/Regression/CodeGen/Generic/2003-05-30-BadFoldGEP.ll:1.2 llvm/test/Regression/CodeGen/Generic/2003-05-30-BadFoldGEP.ll:1.3
--- llvm/test/Regression/CodeGen/Generic/2003-05-30-BadFoldGEP.ll:1.2 Sat Nov 6 17:05:53 2004
+++ llvm/test/Regression/CodeGen/Generic/2003-05-30-BadFoldGEP.ll Sat Dec 2 14:38:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o - | llc
+; RUN: llvm-upgrade %s | llvm-as | llc
;; Date: May 28, 2003.
;; From: test/Programs/External/SPEC/CINT2000/254.gap.llvm.bc
Index: llvm/test/Regression/CodeGen/Generic/2003-05-30-BadPreselectPhi.ll
diff -u llvm/test/Regression/CodeGen/Generic/2003-05-30-BadPreselectPhi.ll:1.3 llvm/test/Regression/CodeGen/Generic/2003-05-30-BadPreselectPhi.ll:1.4
--- llvm/test/Regression/CodeGen/Generic/2003-05-30-BadPreselectPhi.ll:1.3 Fri Jan 7 16:05:31 2005
+++ llvm/test/Regression/CodeGen/Generic/2003-05-30-BadPreselectPhi.ll Sat Dec 2 14:38:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o - | llc
+; RUN: llvm-upgrade %s | llvm-as | llc
;; Date: May 28, 2003.
;; From: test/Programs/SingleSource/richards_benchmark.c
Index: llvm/test/Regression/CodeGen/Generic/2003-07-07-BadLongConst.ll
diff -u llvm/test/Regression/CodeGen/Generic/2003-07-07-BadLongConst.ll:1.3 llvm/test/Regression/CodeGen/Generic/2003-07-07-BadLongConst.ll:1.4
--- llvm/test/Regression/CodeGen/Generic/2003-07-07-BadLongConst.ll:1.3 Fri Jan 7 16:05:31 2005
+++ llvm/test/Regression/CodeGen/Generic/2003-07-07-BadLongConst.ll Sat Dec 2 14:38:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o - | llc
+; RUN: llvm-upgrade %s | llvm-as | llc
%.str_1 = internal constant [42 x sbyte] c" ui = %u (0x%x)\09\09UL-ui = %lld (0x%llx)\0A\00"
Index: llvm/test/Regression/CodeGen/Generic/2003-07-08-BadCastToBool.ll
diff -u llvm/test/Regression/CodeGen/Generic/2003-07-08-BadCastToBool.ll:1.4 llvm/test/Regression/CodeGen/Generic/2003-07-08-BadCastToBool.ll:1.5
--- llvm/test/Regression/CodeGen/Generic/2003-07-08-BadCastToBool.ll:1.4 Fri Jan 7 16:05:31 2005
+++ llvm/test/Regression/CodeGen/Generic/2003-07-08-BadCastToBool.ll Sat Dec 2 14:38:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o - | llc
+; RUN: llvm-upgrade %s | llvm-as | llc
;; Date: Jul 8, 2003.
;; From: test/Programs/MultiSource/Olden-perimeter
Index: llvm/test/Regression/CodeGen/Generic/2005-07-12-memcpy-i64-length.ll
diff -u llvm/test/Regression/CodeGen/Generic/2005-07-12-memcpy-i64-length.ll:1.2 llvm/test/Regression/CodeGen/Generic/2005-07-12-memcpy-i64-length.ll:1.3
--- llvm/test/Regression/CodeGen/Generic/2005-07-12-memcpy-i64-length.ll:1.2 Fri Dec 1 22:23:08 2006
+++ llvm/test/Regression/CodeGen/Generic/2005-07-12-memcpy-i64-length.ll Sat Dec 2 14:38:10 2006
@@ -2,10 +2,10 @@
; Test that llvm.memcpy works with a i64 length operand on all targets.
-declare void %llvm.memcpy(sbyte*, sbyte*, ulong, uint)
+declare void %llvm.memcpy.i64(sbyte*, sbyte*, ulong, uint)
void %l12_l94_bc_divide_endif_2E_3_2E_ce() {
newFuncRoot:
- tail call void %llvm.memcpy( sbyte* null, sbyte* null, ulong 0, uint 1 )
+ tail call void %llvm.memcpy.i64( sbyte* null, sbyte* null, ulong 0, uint 1 )
unreachable
}
Index: llvm/test/Regression/CodeGen/Generic/2006-07-03-schedulers.ll
diff -u llvm/test/Regression/CodeGen/Generic/2006-07-03-schedulers.ll:1.2 llvm/test/Regression/CodeGen/Generic/2006-07-03-schedulers.ll:1.3
--- llvm/test/Regression/CodeGen/Generic/2006-07-03-schedulers.ll:1.2 Thu Aug 3 15:56:35 2006
+++ llvm/test/Regression/CodeGen/Generic/2006-07-03-schedulers.ll Sat Dec 2 14:38:10 2006
@@ -1,10 +1,10 @@
-; RUN: llvm-as -f %s -o - | llc -sched=none &&
-; RUN: llvm-as -f %s -o - | llc -sched=default &&
-; RUN: llvm-as -f %s -o - | llc -sched=simple &&
-; RUN: llvm-as -f %s -o - | llc -sched=simple-noitin &&
-; RUN: llvm-as -f %s -o - | llc -sched=list-td &&
-; RUN: llvm-as -f %s -o - | llc -sched=list-tdrr &&
-; RUN: llvm-as -f %s -o - | llc -sched=list-burr
+; RUN: llvm-upgrade %s | llvm-as | llc -sched=none &&
+; RUN: llvm-upgrade %s | llvm-as | llc -sched=default &&
+; RUN: llvm-upgrade %s | llvm-as | llc -sched=simple &&
+; RUN: llvm-upgrade %s | llvm-as | llc -sched=simple-noitin &&
+; RUN: llvm-upgrade %s | llvm-as | llc -sched=list-td &&
+; RUN: llvm-upgrade %s | llvm-as | llc -sched=list-tdrr &&
+; RUN: llvm-upgrade %s | llvm-as | llc -sched=list-burr
; PR859
implementation
Index: llvm/test/Regression/CodeGen/Generic/BurgBadRegAlloc.ll
diff -u llvm/test/Regression/CodeGen/Generic/BurgBadRegAlloc.ll:1.6 llvm/test/Regression/CodeGen/Generic/BurgBadRegAlloc.ll:1.7
--- llvm/test/Regression/CodeGen/Generic/BurgBadRegAlloc.ll:1.6 Thu Nov 23 09:14:52 2006
+++ llvm/test/Regression/CodeGen/Generic/BurgBadRegAlloc.ll Sat Dec 2 14:38:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o - | llc
+; RUN: llvm-upgrade %s | llvm-as | llc
;; Register allocation is doing a very poor job on this routine from yyparse
;; in Burg:
Index: llvm/test/Regression/CodeGen/Generic/badFoldGEP.ll
diff -u llvm/test/Regression/CodeGen/Generic/badFoldGEP.ll:1.4 llvm/test/Regression/CodeGen/Generic/badFoldGEP.ll:1.5
--- llvm/test/Regression/CodeGen/Generic/badFoldGEP.ll:1.4 Thu Nov 23 09:14:52 2006
+++ llvm/test/Regression/CodeGen/Generic/badFoldGEP.ll Sat Dec 2 14:38:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o - | llc
+; RUN: llvm-upgrade %s | llvm-as | llc
;; GetMemInstArgs() folded the two getElementPtr instructions together,
;; producing an illegal getElementPtr. That's because the type generated
Index: llvm/test/Regression/CodeGen/Generic/constindices.ll
diff -u llvm/test/Regression/CodeGen/Generic/constindices.ll:1.6 llvm/test/Regression/CodeGen/Generic/constindices.ll:1.7
--- llvm/test/Regression/CodeGen/Generic/constindices.ll:1.6 Thu Nov 23 09:14:52 2006
+++ llvm/test/Regression/CodeGen/Generic/constindices.ll Sat Dec 2 14:38:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o - | llc
+; RUN: llvm-upgrade %s | llvm-as | llc
; Test that a sequence of constant indices are folded correctly
; into the equivalent offset at compile-time.
Index: llvm/test/Regression/CodeGen/Generic/fwdtwice.ll
diff -u llvm/test/Regression/CodeGen/Generic/fwdtwice.ll:1.3 llvm/test/Regression/CodeGen/Generic/fwdtwice.ll:1.4
--- llvm/test/Regression/CodeGen/Generic/fwdtwice.ll:1.3 Fri Jan 7 15:15:58 2005
+++ llvm/test/Regression/CodeGen/Generic/fwdtwice.ll Sat Dec 2 14:38:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o - | llc
+; RUN: llvm-upgrade %s | llvm-as | llc
;;
;; Test the sequence:
Index: llvm/test/Regression/CodeGen/Generic/intrinsics.ll
diff -u llvm/test/Regression/CodeGen/Generic/intrinsics.ll:1.3 llvm/test/Regression/CodeGen/Generic/intrinsics.ll:1.4
--- llvm/test/Regression/CodeGen/Generic/intrinsics.ll:1.3 Fri Dec 1 22:23:08 2006
+++ llvm/test/Regression/CodeGen/Generic/intrinsics.ll Sat Dec 2 14:38:10 2006
@@ -1,12 +1,12 @@
; RUN: llvm-upgrade < %s | llvm-as | llc
;; SQRT
-declare float %llvm.sqrt(float)
-declare double %llvm.sqrt(double)
+declare float %llvm.sqrt.f32(float)
+declare double %llvm.sqrt.f64(double)
double %test_sqrt(float %F) {
- %G = call float %llvm.sqrt(float %F)
+ %G = call float %llvm.sqrt.f32(float %F)
%H = cast float %G to double
- %I = call double %llvm.sqrt(double %H)
+ %I = call double %llvm.sqrt.f64(double %H)
ret double %I
}
Index: llvm/test/Regression/CodeGen/Generic/isunord.ll
diff -u llvm/test/Regression/CodeGen/Generic/isunord.ll:1.4 llvm/test/Regression/CodeGen/Generic/isunord.ll:1.5
--- llvm/test/Regression/CodeGen/Generic/isunord.ll:1.4 Fri Dec 1 22:23:08 2006
+++ llvm/test/Regression/CodeGen/Generic/isunord.ll Sat Dec 2 14:38:10 2006
@@ -2,9 +2,9 @@
; XFAIL: ia64|sparcv8
-declare bool %llvm.isunordered(double, double)
+declare bool %llvm.isunordered.f64(double, double)
bool %test(double %X, double %Y) {
- %tmp27 = call bool %llvm.isunordered( double %X, double %Y)
+ %tmp27 = call bool %llvm.isunordered.f64( double %X, double %Y)
ret bool %tmp27
}
Index: llvm/test/Regression/CodeGen/Generic/llvm-ct-intrinsics.ll
diff -u llvm/test/Regression/CodeGen/Generic/llvm-ct-intrinsics.ll:1.3 llvm/test/Regression/CodeGen/Generic/llvm-ct-intrinsics.ll:1.4
--- llvm/test/Regression/CodeGen/Generic/llvm-ct-intrinsics.ll:1.3 Fri Dec 1 22:23:08 2006
+++ llvm/test/Regression/CodeGen/Generic/llvm-ct-intrinsics.ll Sat Dec 2 14:38:10 2006
@@ -1,59 +1,59 @@
; Make sure this testcase is supported by all code generators
; RUN: llvm-upgrade < %s | llvm-as | llc
-declare long %llvm.ctpop(long)
-declare int %llvm.ctpop(int)
-declare short %llvm.ctpop(short)
-declare sbyte %llvm.ctpop(sbyte)
-
-void %ctpoptest(sbyte %A, short %B, int %C, long %D,
- sbyte *%AP, short* %BP, int* %CP, long* %DP) {
- %a = call sbyte %llvm.ctpop(sbyte %A)
- %b = call short %llvm.ctpop(short %B)
- %c = call int %llvm.ctpop(int %C)
- %d = call long %llvm.ctpop(long %D)
-
- store sbyte %a, sbyte* %AP
- store short %b, short* %BP
- store int %c, int* %CP
- store long %d, long* %DP
+declare ulong %llvm.ctpop.i64(ulong)
+declare uint %llvm.ctpop.i32(uint)
+declare ushort %llvm.ctpop.i16(ushort)
+declare ubyte %llvm.ctpop.i8(ubyte)
+
+void %ctpoptest(ubyte %A, ushort %B, uint %C, ulong %D,
+ ubyte *%AP, ushort* %BP, uint* %CP, ulong* %DP) {
+ %a = call ubyte %llvm.ctpop.i8(ubyte %A)
+ %b = call ushort %llvm.ctpop.i16(ushort %B)
+ %c = call uint %llvm.ctpop.i32(uint %C)
+ %d = call ulong %llvm.ctpop.i64(ulong %D)
+
+ store ubyte %a, ubyte* %AP
+ store ushort %b, ushort* %BP
+ store uint %c, uint* %CP
+ store ulong %d, ulong* %DP
ret void
}
-declare long %llvm.ctlz(long)
-declare int %llvm.ctlz(int)
-declare short %llvm.ctlz(short)
-declare sbyte %llvm.ctlz(sbyte)
-
-void %ctlztest(sbyte %A, short %B, int %C, long %D,
- sbyte *%AP, short* %BP, int* %CP, long* %DP) {
- %a = call sbyte %llvm.ctlz(sbyte %A)
- %b = call short %llvm.ctlz(short %B)
- %c = call int %llvm.ctlz(int %C)
- %d = call long %llvm.ctlz(long %D)
-
- store sbyte %a, sbyte* %AP
- store short %b, short* %BP
- store int %c, int* %CP
- store long %d, long* %DP
+declare ulong %llvm.ctlz.i64(ulong)
+declare uint %llvm.ctlz.i32(uint)
+declare ushort %llvm.ctlz.i16(ushort)
+declare ubyte %llvm.ctlz.i8(ubyte)
+
+void %ctlztest(ubyte %A, ushort %B, uint %C, ulong %D,
+ ubyte *%AP, ushort* %BP, uint* %CP, ulong* %DP) {
+ %a = call ubyte %llvm.ctlz.i8(ubyte %A)
+ %b = call ushort %llvm.ctlz.i16(ushort %B)
+ %c = call uint %llvm.ctlz.i32(uint %C)
+ %d = call ulong %llvm.ctlz.i64(ulong %D)
+
+ store ubyte %a, ubyte* %AP
+ store ushort %b, ushort* %BP
+ store uint %c, uint* %CP
+ store ulong %d, ulong* %DP
ret void
}
-declare long %llvm.cttz(long)
-declare int %llvm.cttz(int)
-declare short %llvm.cttz(short)
-declare sbyte %llvm.cttz(sbyte)
-
-void %cttztest(sbyte %A, short %B, int %C, long %D,
- sbyte *%AP, short* %BP, int* %CP, long* %DP) {
- %a = call sbyte %llvm.cttz(sbyte %A)
- %b = call short %llvm.cttz(short %B)
- %c = call int %llvm.cttz(int %C)
- %d = call long %llvm.cttz(long %D)
-
- store sbyte %a, sbyte* %AP
- store short %b, short* %BP
- store int %c, int* %CP
- store long %d, long* %DP
+declare ulong %llvm.cttz.i64(ulong)
+declare uint %llvm.cttz.i32(uint)
+declare ushort %llvm.cttz.i16(ushort)
+declare ubyte %llvm.cttz.i8(ubyte)
+
+void %cttztest(ubyte %A, ushort %B, uint %C, ulong %D,
+ ubyte *%AP, ushort* %BP, uint* %CP, ulong* %DP) {
+ %a = call ubyte %llvm.cttz.i8(ubyte %A)
+ %b = call ushort %llvm.cttz.i16(ushort %B)
+ %c = call uint %llvm.cttz.i32(uint %C)
+ %d = call ulong %llvm.cttz.i64(ulong %D)
+
+ store ubyte %a, ubyte* %AP
+ store ushort %b, ushort* %BP
+ store uint %c, uint* %CP
+ store ulong %d, ulong* %DP
ret void
}
Index: llvm/test/Regression/CodeGen/Generic/negintconst.ll
diff -u llvm/test/Regression/CodeGen/Generic/negintconst.ll:1.3 llvm/test/Regression/CodeGen/Generic/negintconst.ll:1.4
--- llvm/test/Regression/CodeGen/Generic/negintconst.ll:1.3 Sat Nov 6 17:05:53 2004
+++ llvm/test/Regression/CodeGen/Generic/negintconst.ll Sat Dec 2 14:38:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o - | llc
+; RUN: llvm-upgrade %s | llvm-as | llc
; Test that a negative constant smaller than 64 bits (e.g., int)
; is correctly implemented with sign-extension.
Index: llvm/test/Regression/CodeGen/Generic/sched.ll
diff -u llvm/test/Regression/CodeGen/Generic/sched.ll:1.3 llvm/test/Regression/CodeGen/Generic/sched.ll:1.4
--- llvm/test/Regression/CodeGen/Generic/sched.ll:1.3 Sat Nov 6 17:05:53 2004
+++ llvm/test/Regression/CodeGen/Generic/sched.ll Sat Dec 2 14:38:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o - | llc
+; RUN: llvm-upgrade %s | llvm-as | llc
implementation
declare int "printf"(sbyte*, int, float)
Index: llvm/test/Regression/CodeGen/Generic/select.ll
diff -u llvm/test/Regression/CodeGen/Generic/select.ll:1.11 llvm/test/Regression/CodeGen/Generic/select.ll:1.12
--- llvm/test/Regression/CodeGen/Generic/select.ll:1.11 Thu Nov 23 09:14:52 2006
+++ llvm/test/Regression/CodeGen/Generic/select.ll Sat Dec 2 14:38:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o - | llc
+; RUN: llvm-upgrade %s | llvm-as | llc
%AConst = constant int 123
Index: llvm/test/Regression/CodeGen/Generic/spillccr.ll
diff -u llvm/test/Regression/CodeGen/Generic/spillccr.ll:1.4 llvm/test/Regression/CodeGen/Generic/spillccr.ll:1.5
--- llvm/test/Regression/CodeGen/Generic/spillccr.ll:1.4 Sat Nov 6 17:05:53 2004
+++ llvm/test/Regression/CodeGen/Generic/spillccr.ll Sat Dec 2 14:38:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o - | llc
+; RUN: llvm-upgrade %s | llvm-as | llc
; July 6, 2002 -- LLC Regression test
; This test case checks if the integer CC register %xcc (or %ccr)
More information about the llvm-commits
mailing list