summaryrefslogtreecommitdiff
path: root/test/CodeGen
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-09-13 02:46:27 +0000
committerAndrew Trick <atrick@apple.com>2011-09-13 02:46:27 +0000
commit3c8015aa6c4793a398d1ff0df1752b6d3b41f8e0 (patch)
tree8be239722f63d28327c1a85363a430092e89f962 /test/CodeGen
parent2e95d76f8c8578c6942a11e28c748d7fadd87c5f (diff)
downloadllvm-3c8015aa6c4793a398d1ff0df1752b6d3b41f8e0.tar.gz
llvm-3c8015aa6c4793a398d1ff0df1752b6d3b41f8e0.tar.bz2
llvm-3c8015aa6c4793a398d1ff0df1752b6d3b41f8e0.tar.xz
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
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/Thumb2/2009-12-01-LoopIVUsers.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/Thumb2/2009-12-01-LoopIVUsers.ll b/test/CodeGen/Thumb2/2009-12-01-LoopIVUsers.ll
index ff45509cd3..034a28f003 100644
--- a/test/CodeGen/Thumb2/2009-12-01-LoopIVUsers.ll
+++ b/test/CodeGen/Thumb2/2009-12-01-LoopIVUsers.ll
@@ -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