Generalize this test's CHECK statements to handle different indvars modes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139577 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Trick 2011-09-13 02:46:27 +00:00
parent 2e95d76f8c
commit 3c8015aa6c

View File

@ -6,8 +6,8 @@ entry:
; -- The loop following the load should only use a single add-literation
; instruction.
; CHECK: ldr.64
; CHECK: adds r{{[0-9]+}}, r{{[0-9]+}}, #1
; CHECK-NOT: adds r{{[0-9]+}}, r{{[0-9]+}}, #1
; CHECK: adds r{{[0-9]+.*}}#1
; CHECK-NOT: adds
; CHECK: subsections_via_symbols