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
This commit is contained in:
Dan Gohman 2009-08-19 23:19:36 +00:00
parent 600d52c6af
commit 7a7be366a7

View File

@ -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: