Changes in directory llvm/test/Analysis/ScalarEvolution:

trip-count.ll updated: 1.1 -> 1.2
---
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 -4)

 trip-count.ll |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)


Index: llvm/test/Analysis/ScalarEvolution/trip-count.ll
diff -u llvm/test/Analysis/ScalarEvolution/trip-count.ll:1.1 
llvm/test/Analysis/ScalarEvolution/trip-count.ll:1.2
--- llvm/test/Analysis/ScalarEvolution/trip-count.ll:1.1        Sat Jan 13 
19:23:43 2007
+++ llvm/test/Analysis/ScalarEvolution/trip-count.ll    Fri Jan 26 02:25:05 2007
@@ -1,17 +1,18 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution 2>&1 | grep '10000 
iterations'
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution 2>&1 | \
+; RUN:   grep '10000 iterations'
 ; PR1101
 
-%A = weak global [1000 x i32] zeroinitializer, align 32         
[EMAIL PROTECTED] = weak global [1000 x i32] zeroinitializer, align 32         
 
 implementation   ; Functions:
 
-define void %test(i32 %N) {
+define void @test(i32 %N) {
 entry:
         "alloca point" = bitcast i32 0 to i32           ; <i32> [#uses=0]
         br label %bb3
 
 bb:             ; preds = %bb3
-        %tmp = getelementptr [1000 x i32]* %A, i32 0, i32 %i.0          ; 
<i32*> [#uses=1]
+        %tmp = getelementptr [1000 x i32]* @A, i32 0, i32 %i.0          ; 
<i32*> [#uses=1]
         store i32 123, i32* %tmp
         %tmp2 = add i32 %i.0, 1         ; <i32> [#uses=1]
         br label %bb3



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to