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

llvm-svn: 139577
This commit is contained in:
Andrew Trick 2011-09-13 02:46:27 +00:00
parent 57d8afde93
commit 1191773a62
1 changed files with 2 additions and 2 deletions

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