[llvm-commits] CVS: llvm/test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll 2007-01-08-X86-64-Pointer.ll
Reid Spencer
reid at x10sys.com
Fri Jan 26 00:26:12 PST 2007
Changes in directory llvm/test/Transforms/IndVarsSimplify:
2007-01-06-TripCount.ll updated: 1.3 -> 1.4
2007-01-08-X86-64-Pointer.ll updated: 1.2 -> 1.3
---
Log message:
For PR761: http://llvm.org/PR761 :
Remove "target endian/pointersize" or add "target datalayout" to make
the test parse properly or set the datalayout because defaults changes.
For PR645: http://llvm.org/PR645 :
Make global names use the @ prefix.
For llvm-upgrade changes:
Fix test cases or completely remove use of llvm-upgrade for test cases
that cannot survive the new renaming or upgrade capabilities.
---
Diffs of the changes: (+5 -7)
2007-01-06-TripCount.ll | 10 ++++------
2007-01-08-X86-64-Pointer.ll | 2 +-
2 files changed, 5 insertions(+), 7 deletions(-)
Index: llvm/test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll
diff -u llvm/test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll:1.3 llvm/test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll:1.4
--- llvm/test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll:1.3 Fri Jan 12 23:06:52 2007
+++ llvm/test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll Fri Jan 26 02:25:06 2007
@@ -3,15 +3,13 @@
; PR1015
target datalayout = "e-p:32:32"
-target endian = little
-target pointersize = 32
target triple = "i686-apple-darwin8"
-%foo = internal constant [5 x i8] c"\00abc\00" ; <[5 x i8]*> [#uses=1]
-%str = internal constant [4 x i8] c"%d\0A\00" ; <[4 x i8]*> [#uses=1]
+ at foo = internal constant [5 x i8] c"\00abc\00" ; <[5 x i8]*> [#uses=1]
+ at str = internal constant [4 x i8] c"%d\0A\00" ; <[4 x i8]*> [#uses=1]
implementation ; Functions:
-define i32 %test(i32 %J) {
+define i32 @test(i32 %J) {
entry:
br label %bb2
@@ -28,7 +26,7 @@
br label %bb
cond_next: ; preds = %bb2
- %tmp = getelementptr [5 x i8]* %foo, i32 0, i32 %i.0 ; <i8*> [#uses=1]
+ %tmp = getelementptr [5 x i8]* @foo, i32 0, i32 %i.0 ; <i8*> [#uses=1]
%tmp = load i8* %tmp ; <i8> [#uses=1]
%tmp5 = icmp eq i8 %tmp, 0 ; <i1> [#uses=1]
br i1 %tmp5, label %bb6, label %bb
Index: llvm/test/Transforms/IndVarsSimplify/2007-01-08-X86-64-Pointer.ll
diff -u llvm/test/Transforms/IndVarsSimplify/2007-01-08-X86-64-Pointer.ll:1.2 llvm/test/Transforms/IndVarsSimplify/2007-01-08-X86-64-Pointer.ll:1.3
--- llvm/test/Transforms/IndVarsSimplify/2007-01-08-X86-64-Pointer.ll:1.2 Fri Jan 12 23:06:52 2007
+++ llvm/test/Transforms/IndVarsSimplify/2007-01-08-X86-64-Pointer.ll Fri Jan 26 02:25:06 2007
@@ -1,7 +1,7 @@
; RUN: llvm-as < %s | llc -march=x86-64 | grep '(%rdi,%rax,8)' &&
; RUN: llvm-as < %s | llc -march=x86-64 | not grep 'addq.*8'
-define void %foo(double* %y) {
+define void @foo(double* %y) {
entry:
br label %bb
More information about the llvm-commits
mailing list