Conservatively handle multiple MMOs in MIsNeedChainEdge
[oota-llvm.git] / test / CodeGen / Thumb2 / thumb2-lsr.ll
index cf4d2f81c55d9d2bed38392bdb3643f91102f398..24973c7b5331b69abf4bce5f8a040a5c1a1f419d 100644 (file)
@@ -1,6 +1,8 @@
-; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {lsr\\W*r\[0-9\],\\W*r\[0-9\],\\W*\[0-9\]} | count 1
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a) {
+; CHECK-LABEL: f1:
+; CHECK: lsrs r0, r0, #13
     %tmp = lshr i32 %a, 13
     ret i32 %tmp
 }