Generalize this test's CHECK statements to handle different indvars modes.
authorAndrew Trick <atrick@apple.com>
Tue, 13 Sep 2011 02:46:27 +0000 (02:46 +0000)
committerAndrew Trick <atrick@apple.com>
Tue, 13 Sep 2011 02:46:27 +0000 (02:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139577 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/Thumb2/2009-12-01-LoopIVUsers.ll

index ff45509cd34d948bf466d8f54d19d7b8c88c6409..034a28f003dbaf88750e453bfa0abf9284e0ee88 100644 (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