diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-26 08:25:06 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-26 08:25:06 +0000 |
commit | e3ff5ada8a8f6cc166ecc45147da0d63c3683026 (patch) | |
tree | ccd4a6b0d605384b41f7d3b84cc019344c2dd65a /test/Analysis/ScalarEvolution | |
parent | 950bf6030101d670ea205efd307ea5d3b375544d (diff) | |
download | external_llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.zip external_llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.tar.gz external_llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.tar.bz2 |
For PR761:
Remove "target endian/pointersize" or add "target datalayout" to make
the test parse properly or set the datalayout because defaults changes.
For 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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33533 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/ScalarEvolution')
-rw-r--r-- | test/Analysis/ScalarEvolution/trip-count.ll | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/Analysis/ScalarEvolution/trip-count.ll b/test/Analysis/ScalarEvolution/trip-count.ll index 347cffd4..6905d6d 100644 --- a/test/Analysis/ScalarEvolution/trip-count.ll +++ b/test/Analysis/ScalarEvolution/trip-count.ll @@ -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 +@A = 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 |