[X86][SSE] Fix PerformSExtCombine bug that accessed the wrong return value of an...
[oota-llvm.git] / test / CodeGen / Thumb2 / thumb2-lsr2.ll
index 01fd56d52c1756b9b5bd5e8ecc480d34e832d58a..5d158afc08a15fb87ecec0c48d193c4b9ae2db8e 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*r\[0-9\]} | count 1
+; RUN: llc -mtriple=thumb-eabi -mcpu=arm1156t2-s -mattr=+thumb2 %s -o - | FileCheck %s
 
 define i32 @f1(i32 %a, i32 %b) {
+; CHECK-LABEL: f1:
+; CHECK: lsrs r0, r1
     %tmp = lshr i32 %a, %b
     ret i32 %tmp
 }