[llvm-commits] CVS: llvm/test/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll bswap-load-store.ll

Reid Spencer reid at x10sys.com
Sun Apr 1 18:08:19 PDT 2007



Changes in directory llvm/test/CodeGen/PowerPC:

2006-07-19-stwbrx-crash.ll updated: 1.3 -> 1.4
bswap-load-store.ll updated: 1.3 -> 1.4
---
Log message:

Let llvm-upgrade upgrade bswap intrinsic.


---
Diffs of the changes:  (+8 -8)

 2006-07-19-stwbrx-crash.ll |    4 ++--
 bswap-load-store.ll        |   12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)


Index: llvm/test/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll
diff -u llvm/test/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll:1.3 llvm/test/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll:1.4
--- llvm/test/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll:1.3	Sun Apr  1 02:36:28 2007
+++ llvm/test/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll	Sun Apr  1 20:08:02 2007
@@ -2,9 +2,9 @@
 
 void %img2buf(int %symbol_size_in_bytes, ushort* %ui16) {
 	%tmp93 = load ushort* null		; <ushort> [#uses=1]
-	%tmp99 = call ushort %llvm.bswap.i16.i16( ushort %tmp93 )		; <ushort> [#uses=1]
+	%tmp99 = call ushort %llvm.bswap.i16( ushort %tmp93 )		; <ushort> [#uses=1]
 	store ushort %tmp99, ushort* %ui16
 	ret void
 }
 
-declare ushort %llvm.bswap.i16.i16(ushort)
+declare ushort %llvm.bswap.i16(ushort)


Index: llvm/test/CodeGen/PowerPC/bswap-load-store.ll
diff -u llvm/test/CodeGen/PowerPC/bswap-load-store.ll:1.3 llvm/test/CodeGen/PowerPC/bswap-load-store.ll:1.4
--- llvm/test/CodeGen/PowerPC/bswap-load-store.ll:1.3	Sun Apr  1 02:36:28 2007
+++ llvm/test/CodeGen/PowerPC/bswap-load-store.ll	Sun Apr  1 20:08:02 2007
@@ -8,7 +8,7 @@
 void %STWBRX(uint %i, sbyte* %ptr, int %off) {
 	%tmp1 = getelementptr sbyte* %ptr, int %off
 	%tmp1 = cast sbyte* %tmp1 to uint*
-	%tmp13 = tail call uint %llvm.bswap.i32.i32(uint %i)
+	%tmp13 = tail call uint %llvm.bswap.i32(uint %i)
 	store uint %tmp13, uint* %tmp1
 	ret void
 }
@@ -17,14 +17,14 @@
 	%tmp1 = getelementptr sbyte* %ptr, int %off
 	%tmp1 = cast sbyte* %tmp1 to uint*		
 	%tmp = load uint* %tmp1		
-	%tmp14 = tail call uint %llvm.bswap.i32.i32( uint %tmp )
+	%tmp14 = tail call uint %llvm.bswap.i32( uint %tmp )
 	ret uint %tmp14
 }
 
 void %STHBRX(ushort %s, sbyte* %ptr, int %off) {
 	%tmp1 = getelementptr sbyte* %ptr, int %off
 	%tmp1 = cast sbyte* %tmp1 to ushort*
-	%tmp5 = call ushort %llvm.bswap.i16.i16( ushort %s )
+	%tmp5 = call ushort %llvm.bswap.i16( ushort %s )
 	store ushort %tmp5, ushort* %tmp1
 	ret void
 }
@@ -33,10 +33,10 @@
 	%tmp1 = getelementptr sbyte* %ptr, int %off
 	%tmp1 = cast sbyte* %tmp1 to ushort*
 	%tmp = load ushort* %tmp1
-	%tmp6 = call ushort %llvm.bswap.i16.i16(ushort %tmp)
+	%tmp6 = call ushort %llvm.bswap.i16(ushort %tmp)
 	ret ushort %tmp6
 }
 
-declare uint %llvm.bswap.i32.i32(uint)
+declare uint %llvm.bswap.i32(uint)
 
-declare ushort %llvm.bswap.i16.i16(ushort)
+declare ushort %llvm.bswap.i16(ushort)






More information about the llvm-commits mailing list