[ARM] Make Thumb-2 code size optimization test more strict.
authorTilmann Scheller <t.scheller@samsung.com>
Fri, 29 Aug 2014 15:13:35 +0000 (15:13 +0000)
committerTilmann Scheller <t.scheller@samsung.com>
Fri, 29 Aug 2014 15:13:35 +0000 (15:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216729 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ARM/thumb2-size-opt.ll

index f98eb924a673c18a15880b654eb02c95840659e7..4fbafb9745e3ee6086ea717fd0ad829ad9151237 100644 (file)
@@ -4,7 +4,7 @@
 define i32 @and(i32 %a, i32 %b) nounwind readnone {
 ; CHECK-LABEL: and:
 ; CHECK: and.w r{{[0-9]+}}, r{{[0-9]+}}, r{{[0-9]+}} @ encoding: [{{0x..,0x..,0x..,0x..}}]
-; CHECK-OPT: ands r{{[0-9]+}}, r{{[0-9]+}}  @ encoding: [{{0x..,0x..}}]
+; CHECK-OPT: ands r{{[0-7]}}, r{{[0-7]}} @ encoding: [{{0x..,0x..}}]
 entry:
   %and = and i32 %b, %a
   ret i32 %and