Relax dwarf line fragments. This fixes a crash in the included testcase.
[oota-llvm.git] / test / CodeGen / Thumb2 / thumb2-ror.ll
index a10490fc4218369fed0f8ebab3bfca5caed4a716..0200116fc31adcbef6f7c306667873d185e17601 100644 (file)
@@ -1,4 +1,5 @@
-; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {ror\\.w\\W*r\[0-9\]*,\\W*r\[0-9\]*,\\W*#\[0-9\]*} | grep 22 | count 1
+; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+
 
 define i32 @f1(i32 %a) {
     %l8 = shl i32 %a, 10
@@ -6,3 +7,5 @@ define i32 @f1(i32 %a) {
     %tmp = or i32 %l8, %r8
     ret i32 %tmp
 }
+; CHECK: f1:
+; CHECK:       ror.w   r0, r0, #22