OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
600d52c
)
Loosen up the regex for this test so that it doesn't implicitly
author
Dan Gohman
<gohman@apple.com>
Wed, 19 Aug 2009 23:19:36 +0000
(23:19 +0000)
committer
Dan Gohman
<gohman@apple.com>
Wed, 19 Aug 2009 23:19:36 +0000
(23:19 +0000)
depend on TargetData information.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79491
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Analysis/ScalarEvolution/max-trip-count.ll
patch
|
blob
|
history
diff --git
a/test/Analysis/ScalarEvolution/max-trip-count.ll
b/test/Analysis/ScalarEvolution/max-trip-count.ll
index
0567414
..
8791bb5
100644
(file)
--- a/
test/Analysis/ScalarEvolution/max-trip-count.ll
+++ b/
test/Analysis/ScalarEvolution/max-trip-count.ll
@@
-1,5
+1,7
@@
; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
-; RUN: | grep {\{%d,+,4\}<bb>}
+; RUN: | grep {\{%d,+,\[^\{\}\]\*\}<bb>}
+
+; ScalarEvolution should be able to understand the loop and eliminate the casts.
define void @foo(i32* nocapture %d, i32 %n) nounwind {
entry: