[llvm-commits] CVS: llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise.ll 2002-03-21-MissedRaise2.ll 2002-03-21-MissedRaise3.ll 2002-04-16-MissedRaise.ll 2002-05-02-MissedRaise.ll 2002-05-10-LoadPeephole.ll 2002-05-23-MissedRaise.ll 2002-07-16-MissedRaise.ll 2002-07-18-MissedAllocaRaise.ll
Reid Spencer
reid at x10sys.com
Sun Nov 26 17:06:25 PST 2006
Changes in directory llvm/test/Regression/Transforms/LevelRaise:
2002-03-21-MissedRaise.ll updated: 1.5 -> 1.6
2002-03-21-MissedRaise2.ll updated: 1.6 -> 1.7
2002-03-21-MissedRaise3.ll updated: 1.4 -> 1.5
2002-04-16-MissedRaise.ll updated: 1.4 -> 1.5
2002-05-02-MissedRaise.ll updated: 1.5 -> 1.6
2002-05-10-LoadPeephole.ll updated: 1.3 -> 1.4
2002-05-23-MissedRaise.ll updated: 1.6 -> 1.7
2002-07-16-MissedRaise.ll updated: 1.5 -> 1.6
2002-07-18-MissedAllocaRaise.ll updated: 1.4 -> 1.5
---
Log message:
For PR950: http://llvm.org/PR950 :
The long awaited CAST patch. This introduces 12 new instructions into LLVM
to replace the cast instruction. Corresponding changes throughout LLVM are
provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the
exception of 175.vpr which fails only on a slight floating point output
difference.
---
Diffs of the changes: (+11 -11)
2002-03-21-MissedRaise.ll | 6 +++---
2002-03-21-MissedRaise2.ll | 2 +-
2002-03-21-MissedRaise3.ll | 2 +-
2002-04-16-MissedRaise.ll | 2 +-
2002-05-02-MissedRaise.ll | 2 +-
2002-05-10-LoadPeephole.ll | 2 +-
2002-05-23-MissedRaise.ll | 2 +-
2002-07-16-MissedRaise.ll | 2 +-
2002-07-18-MissedAllocaRaise.ll | 2 +-
9 files changed, 11 insertions(+), 11 deletions(-)
Index: llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise.ll
diff -u llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise.ll:1.5 llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise.ll:1.6
--- llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise.ll:1.5 Sat Nov 6 14:38:27 2004
+++ llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise.ll Sun Nov 26 19:05:10 2006
@@ -1,8 +1,8 @@
-; This example should be raised to return a Hash directly without casting. To
-; successful, all cast instructions should be eliminated from this testcase.
+; This example should be raised to return a Hash directly without casting.
+; LevelRaise should eliminate all cast instructions from this testcase.
;
; XFAIL: *
-; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep cast
+; RUN: llvm-as < %s | opt -raise | llvm-dis | notcast
%Hash = type { { uint, sbyte *, \2 } * *, int (uint) *, int } *
%hash = type { { uint, sbyte *, \2 } * *, int (uint) *, int }
Index: llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise2.ll
diff -u llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise2.ll:1.6 llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise2.ll:1.7
--- llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise2.ll:1.6 Sat Nov 6 14:38:27 2004
+++ llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise2.ll Sun Nov 26 19:05:10 2006
@@ -3,7 +3,7 @@
; prevented reg115 from being able to change.
;
; XFAIL: *
-; RUN: llvm-as < %s | opt -raise | llvm-dis | grep '= cast' | not grep \*
+; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep bitcast
%Hash = type { { uint, sbyte *, \2 } * *, int (uint) *, int } *
%HashEntry = type { uint, sbyte *, \2 } *
Index: llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise3.ll
diff -u llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise3.ll:1.4 llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise3.ll:1.5
--- llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise3.ll:1.4 Sat Nov 6 14:38:27 2004
+++ llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise3.ll Sun Nov 26 19:05:10 2006
@@ -1,5 +1,5 @@
; XFAIL: *
-; RUN: llvm-as < %s | opt -raise | llvm-dis | grep '= cast' | not grep \*
+; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep bitcast
%Hash = type { { uint, sbyte *, \2 } * *, int (uint) *, int } *
%HashEntry = type { uint, sbyte *, \2 } *
Index: llvm/test/Regression/Transforms/LevelRaise/2002-04-16-MissedRaise.ll
diff -u llvm/test/Regression/Transforms/LevelRaise/2002-04-16-MissedRaise.ll:1.4 llvm/test/Regression/Transforms/LevelRaise/2002-04-16-MissedRaise.ll:1.5
--- llvm/test/Regression/Transforms/LevelRaise/2002-04-16-MissedRaise.ll:1.4 Sat Nov 6 14:38:27 2004
+++ llvm/test/Regression/Transforms/LevelRaise/2002-04-16-MissedRaise.ll Sun Nov 26 19:05:10 2006
@@ -6,7 +6,7 @@
; return (int*)malloc(i+j);
; }
-; RUN: llvm-as < %s | opt -raise | llvm-dis | grep ' cast ' | not grep '*'
+; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep bitcast
implementation
Index: llvm/test/Regression/Transforms/LevelRaise/2002-05-02-MissedRaise.ll
diff -u llvm/test/Regression/Transforms/LevelRaise/2002-05-02-MissedRaise.ll:1.5 llvm/test/Regression/Transforms/LevelRaise/2002-05-02-MissedRaise.ll:1.6
--- llvm/test/Regression/Transforms/LevelRaise/2002-05-02-MissedRaise.ll:1.5 Sat Nov 6 14:38:27 2004
+++ llvm/test/Regression/Transforms/LevelRaise/2002-05-02-MissedRaise.ll Sun Nov 26 19:05:10 2006
@@ -1,6 +1,6 @@
; This testcase is not level raised properly...
; XFAIL: *
-; RUN: llvm-as < %s | opt -raise | llvm-dis | grep ' cast ' | not grep '*'
+; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep bitcast
%List = type { int, %List* }
Index: llvm/test/Regression/Transforms/LevelRaise/2002-05-10-LoadPeephole.ll
diff -u llvm/test/Regression/Transforms/LevelRaise/2002-05-10-LoadPeephole.ll:1.3 llvm/test/Regression/Transforms/LevelRaise/2002-05-10-LoadPeephole.ll:1.4
--- llvm/test/Regression/Transforms/LevelRaise/2002-05-10-LoadPeephole.ll:1.3 Tue Sep 16 10:29:36 2003
+++ llvm/test/Regression/Transforms/LevelRaise/2002-05-10-LoadPeephole.ll Sun Nov 26 19:05:10 2006
@@ -1,7 +1,7 @@
; This testcase should have the cast propogated through the load
; just like a store does...
;
-; RUN: llvm-as < %s | opt -raise | llvm-dis | grep ' cast ' | not grep '*'
+; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep 'bitcast uint \*'
int "test"(uint * %Ptr) {
%P2 = cast uint *%Ptr to int *
Index: llvm/test/Regression/Transforms/LevelRaise/2002-05-23-MissedRaise.ll
diff -u llvm/test/Regression/Transforms/LevelRaise/2002-05-23-MissedRaise.ll:1.6 llvm/test/Regression/Transforms/LevelRaise/2002-05-23-MissedRaise.ll:1.7
--- llvm/test/Regression/Transforms/LevelRaise/2002-05-23-MissedRaise.ll:1.6 Sat Nov 6 14:38:27 2004
+++ llvm/test/Regression/Transforms/LevelRaise/2002-05-23-MissedRaise.ll Sun Nov 26 19:05:10 2006
@@ -1,5 +1,5 @@
; XFAIL: *
-; RUN: llvm-as < %s | opt -raise | llvm-dis | grep '= cast' | not grep \*
+; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep bitcast
%FILE = type { int, ubyte*, ubyte*, ubyte, ubyte, uint, uint, uint }
Index: llvm/test/Regression/Transforms/LevelRaise/2002-07-16-MissedRaise.ll
diff -u llvm/test/Regression/Transforms/LevelRaise/2002-07-16-MissedRaise.ll:1.5 llvm/test/Regression/Transforms/LevelRaise/2002-07-16-MissedRaise.ll:1.6
--- llvm/test/Regression/Transforms/LevelRaise/2002-07-16-MissedRaise.ll:1.5 Sat Nov 6 14:38:27 2004
+++ llvm/test/Regression/Transforms/LevelRaise/2002-07-16-MissedRaise.ll Sun Nov 26 19:05:10 2006
@@ -5,7 +5,7 @@
; This could be fixed by making all stores add themselves to a list, and check
; their arguments are consistent AFTER all other values are propogated.
; XFAIL: *
-; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep '= cast'
+; RUN: llvm-as < %s | opt -raise | llvm-dis | notcast
%Tree = type %struct.tree*
%struct.tree = type { int, double, double, %Tree, %Tree, %Tree, %Tree }
Index: llvm/test/Regression/Transforms/LevelRaise/2002-07-18-MissedAllocaRaise.ll
diff -u llvm/test/Regression/Transforms/LevelRaise/2002-07-18-MissedAllocaRaise.ll:1.4 llvm/test/Regression/Transforms/LevelRaise/2002-07-18-MissedAllocaRaise.ll:1.5
--- llvm/test/Regression/Transforms/LevelRaise/2002-07-18-MissedAllocaRaise.ll:1.4 Sat Nov 6 14:38:27 2004
+++ llvm/test/Regression/Transforms/LevelRaise/2002-07-18-MissedAllocaRaise.ll Sun Nov 26 19:05:10 2006
@@ -1,6 +1,6 @@
; Looks like we don't raise alloca's like we do mallocs
; XFAIL: *
-; RUN: llvm-as < %s | opt -raise | llvm-dis | grep '= cast' | not grep \*
+; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep bitcast
implementation ; Functions:
More information about the llvm-commits
mailing list