diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-19 23:19:36 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-19 23:19:36 +0000 |
commit | 7a7be366a7434623cbd1b44d41e07da5f2b8bf27 (patch) | |
tree | 9f6913e6228f1d3d7d90c04dc8431bd760b9f776 /test | |
parent | 600d52c6afe6e879678bfeb0f2f811c113754a70 (diff) | |
download | external_llvm-7a7be366a7434623cbd1b44d41e07da5f2b8bf27.zip external_llvm-7a7be366a7434623cbd1b44d41e07da5f2b8bf27.tar.gz external_llvm-7a7be366a7434623cbd1b44d41e07da5f2b8bf27.tar.bz2 |
Loosen up the regex for this test so that it doesn't implicitly
depend on TargetData information.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79491 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Analysis/ScalarEvolution/max-trip-count.ll | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Analysis/ScalarEvolution/max-trip-count.ll b/test/Analysis/ScalarEvolution/max-trip-count.ll index 0567414..8791bb5 100644 --- 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: |