[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/2006-05-02-InstrSched1.ll

Reid Spencer reid at x10sys.com
Mon Jan 1 21:53:26 PST 2007



Changes in directory llvm/test/Regression/CodeGen/X86:

2006-05-02-InstrSched1.ll updated: 1.3 -> 1.4
---
Log message:

For PR1070: http://llvm.org/PR1070 :
Revert previous patch now that llvm-upgrade can handle collapsed type 
plane conversion properly.


---
Diffs of the changes:  (+4 -2)

 2006-05-02-InstrSched1.ll |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


Index: llvm/test/Regression/CodeGen/X86/2006-05-02-InstrSched1.ll
diff -u llvm/test/Regression/CodeGen/X86/2006-05-02-InstrSched1.ll:1.3 llvm/test/Regression/CodeGen/X86/2006-05-02-InstrSched1.ll:1.4
--- llvm/test/Regression/CodeGen/X86/2006-05-02-InstrSched1.ll:1.3	Sun Dec 31 00:01:59 2006
+++ llvm/test/Regression/CodeGen/X86/2006-05-02-InstrSched1.ll	Mon Jan  1 23:53:06 2007
@@ -11,8 +11,10 @@
 	%tmp4 = getelementptr ubyte* %tmp, uint %tmp3		; <ubyte*> [#uses=1]
 	%tmp7 = load uint* %tmp		; <uint> [#uses=1]
 	%tmp8 = getelementptr ubyte* %tmp, uint %tmp7		; <ubyte*> [#uses=1]
-	%result = tail call int %memcmp( sbyte* %tmp8, sbyte* %tmp4, uint %tmp )		; <int> [#uses=1]
-	ret int %result
+	%tmp8 = cast ubyte* %tmp8 to sbyte*		; <sbyte*> [#uses=1]
+	%tmp4 = cast ubyte* %tmp4 to sbyte*		; <sbyte*> [#uses=1]
+	%tmp = tail call int %memcmp( sbyte* %tmp8, sbyte* %tmp4, uint %tmp )		; <int> [#uses=1]
+	ret int %tmp
 }
 
 declare int %memcmp(sbyte*, sbyte*, uint)






More information about the llvm-commits mailing list