[llvm-commits] CVS: llvm/test/Regression/Transforms/SimplifyCFG/switch_formation.ll

Reid Spencer reid at x10sys.com
Thu Nov 23 07:15:48 PST 2006



Changes in directory llvm/test/Regression/Transforms/SimplifyCFG:

switch_formation.ll updated: 1.1 -> 1.2
---
Log message:

Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 and 
older features will be dropped soon and these test cases must not rely
on the upgrade capability.


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

 switch_formation.ll |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/test/Regression/Transforms/SimplifyCFG/switch_formation.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/switch_formation.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/switch_formation.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/switch_formation.ll:1.1	Sat Feb 28 15:30:39 2004
+++ llvm/test/Regression/Transforms/SimplifyCFG/switch_formation.ll	Thu Nov 23 09:14:52 2006
@@ -2,7 +2,7 @@
 
 bool %_ZN4llvm11SetCondInst7classofEPKNS_11InstructionE({uint, uint}* %I) {
 entry:
-	%tmp.1.i = getelementptr {uint, uint}* %I, long 0, ubyte 1
+	%tmp.1.i = getelementptr {uint, uint}* %I, long 0, uint 1
 	%tmp.2.i = load uint* %tmp.1.i
 	%tmp.2 = seteq uint %tmp.2.i, 14
 	br bool %tmp.2, label %shortcirc_done.4, label %shortcirc_next.0






More information about the llvm-commits mailing list