[llvm-commits] CVS: llvm/test/Regression/Transforms/LevelRaise/2002-03-20-Crash.ll 2003-01-30-ShiftCrash.ll 2003-06-07-EmptyArrayTest.ll 2003-06-25-ExprAnalysis.ll
Reid Spencer
reid at x10sys.com
Thu Nov 23 07:15:47 PST 2006
Changes in directory llvm/test/Regression/Transforms/LevelRaise:
2002-03-20-Crash.ll updated: 1.6 -> 1.7
2003-01-30-ShiftCrash.ll updated: 1.3 -> 1.4
2003-06-07-EmptyArrayTest.ll updated: 1.2 -> 1.3
2003-06-25-ExprAnalysis.ll updated: 1.3 -> 1.4
---
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: (+4 -4)
2002-03-20-Crash.ll | 2 +-
2003-01-30-ShiftCrash.ll | 2 +-
2003-06-07-EmptyArrayTest.ll | 2 +-
2003-06-25-ExprAnalysis.ll | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/test/Regression/Transforms/LevelRaise/2002-03-20-Crash.ll
diff -u llvm/test/Regression/Transforms/LevelRaise/2002-03-20-Crash.ll:1.6 llvm/test/Regression/Transforms/LevelRaise/2002-03-20-Crash.ll:1.7
--- llvm/test/Regression/Transforms/LevelRaise/2002-03-20-Crash.ll:1.6 Tue Sep 16 10:29:36 2003
+++ llvm/test/Regression/Transforms/LevelRaise/2002-03-20-Crash.ll Thu Nov 23 09:14:52 2006
@@ -14,7 +14,7 @@
%A = cast %Village* %village to ulong
%reg123 = add ulong %A, %cast121 ; <%Village *> [#uses=1]
%reg123 = cast ulong %reg123 to %Village*
- %idx = getelementptr %Village * %reg123, long 0, ubyte 0, long 0 ; <%Village *> [#uses=1]
+ %idx = getelementptr %Village * %reg123, long 0, uint 0, long 0 ; <%Village *> [#uses=1]
%reg118 = load %Village** %idx
ret %Village *%reg118
end
Index: llvm/test/Regression/Transforms/LevelRaise/2003-01-30-ShiftCrash.ll
diff -u llvm/test/Regression/Transforms/LevelRaise/2003-01-30-ShiftCrash.ll:1.3 llvm/test/Regression/Transforms/LevelRaise/2003-01-30-ShiftCrash.ll:1.4
--- llvm/test/Regression/Transforms/LevelRaise/2003-01-30-ShiftCrash.ll:1.3 Wed Jun 30 23:10:15 2004
+++ llvm/test/Regression/Transforms/LevelRaise/2003-01-30-ShiftCrash.ll Thu Nov 23 09:14:52 2006
@@ -12,7 +12,7 @@
br bool false, label %bb24, label %UnifiedExitNode
bb24: ; preds = %bb22
- %reg399 = getelementptr { ubyte*, uint, ulong, ubyte*, uint, ulong, sbyte*, { \4, int, ubyte*, ulong, ubyte*, int, int, ubyte, ubyte, int, uint, uint, uint, ubyte*, ulong, ushort*, ushort*, uint, uint, uint, uint, uint, long, uint, uint, int, uint, uint, uint, uint, uint, uint, int, int, uint, int, [573 x { { ushort }, { ushort } }], [61 x { { ushort }, { ushort } }], [39 x { { ushort }, { ushort } }], { { { ushort }, { ushort } }*, int, { int }* }, { { { ushort }, { ushort } }*, int, { int }* }, { { { ushort }, { ushort } }*, int, { int }* }, [16 x ushort], [573 x int], int, int, [573 x ubyte], ubyte*, uint, uint, ushort*, ulong, ulong, uint, int, ushort, int }*, sbyte* (sbyte*, uint, uint)*, void (sbyte*, sbyte*)*, sbyte*, int, ulong, ulong }* %reg107, long 0, ubyte 8 ; <sbyte* (sbyte*, uint, uint)**> [#uses=1]
+ %reg399 = getelementptr { ubyte*, uint, ulong, ubyte*, uint, ulong, sbyte*, { \4, int, ubyte*, ulong, ubyte*, int, int, ubyte, ubyte, int, uint, uint, uint, ubyte*, ulong, ushort*, ushort*, uint, uint, uint, uint, uint, long, uint, uint, int, uint, uint, uint, uint, uint, uint, int, int, uint, int, [573 x { { ushort }, { ushort } }], [61 x { { ushort }, { ushort } }], [39 x { { ushort }, { ushort } }], { { { ushort }, { ushort } }*, int, { int }* }, { { { ushort }, { ushort } }*, int, { int }* }, { { { ushort }, { ushort } }*, int, { int }* }, [16 x ushort], [573 x int], int, int, [573 x ubyte], ubyte*, uint, uint, ushort*, ulong, ulong, uint, int, ushort, int }*, sbyte* (sbyte*, uint, uint)*, void (sbyte*, sbyte*)*, sbyte*, int, ulong, ulong }* %reg107, long 0, uint 8 ; <sbyte* (sbyte*, uint, uint)**> [#uses=1]
%reg137 = load sbyte* (sbyte*, uint, uint)** %reg399 ; <sbyte* (sbyte*, uint, uint)*> [#uses=1]
%reg402 = call sbyte* %reg137( sbyte* null, uint 0, uint 0 ) ; <sbyte*> [#uses=1]
br bool false, label %bb26, label %UnifiedExitNode
Index: llvm/test/Regression/Transforms/LevelRaise/2003-06-07-EmptyArrayTest.ll
diff -u llvm/test/Regression/Transforms/LevelRaise/2003-06-07-EmptyArrayTest.ll:1.2 llvm/test/Regression/Transforms/LevelRaise/2003-06-07-EmptyArrayTest.ll:1.3
--- llvm/test/Regression/Transforms/LevelRaise/2003-06-07-EmptyArrayTest.ll:1.2 Tue Sep 16 10:29:37 2003
+++ llvm/test/Regression/Transforms/LevelRaise/2003-06-07-EmptyArrayTest.ll Thu Nov 23 09:14:52 2006
@@ -3,7 +3,7 @@
%T = type { [0 x ubyte] }
void %test(%T* %tmp.22) {
- %tmp.23 = getelementptr %T* %tmp.22, long 0, ubyte 0
+ %tmp.23 = getelementptr %T* %tmp.22, long 0, uint 0
%tmp.24 = cast [0 x ubyte]* %tmp.23 to sbyte**
%tmp.25 = load sbyte** %tmp.24
ret void
Index: llvm/test/Regression/Transforms/LevelRaise/2003-06-25-ExprAnalysis.ll
diff -u llvm/test/Regression/Transforms/LevelRaise/2003-06-25-ExprAnalysis.ll:1.3 llvm/test/Regression/Transforms/LevelRaise/2003-06-25-ExprAnalysis.ll:1.4
--- llvm/test/Regression/Transforms/LevelRaise/2003-06-25-ExprAnalysis.ll:1.3 Tue Sep 16 10:29:37 2003
+++ llvm/test/Regression/Transforms/LevelRaise/2003-06-25-ExprAnalysis.ll Thu Nov 23 09:14:52 2006
@@ -9,7 +9,7 @@
implementation ; Functions:
bool %Intersection(%struct..istack_struct* %tmp.0, uint %tmp.12) { ; No predecessors!
- %tmp.8 = getelementptr %struct..istack_struct* %tmp.0, long 0, ubyte 1 ; <%struct..istk_entry**> [#uses=1]
+ %tmp.8 = getelementptr %struct..istack_struct* %tmp.0, long 0, uint 1 ; <%struct..istk_entry**> [#uses=1]
%tmp.9 = load %struct..istk_entry** %tmp.8 ; <%struct..istk_entry*> [#uses=1]
%dec = sub uint %tmp.12, 1 ; <uint> [#uses=1]
%tmp.13 = cast uint %dec to ulong ; <ulong> [#uses=1]
More information about the llvm-commits
mailing list