[opaque pointer type] Add textual IR support for explicit type parameter to the call...
[oota-llvm.git] / test / CodeGen / Thumb2 / thumb2-lsr3.ll
index 9bc4b5b7c511c293ed499b1127d570ce108e3a24..c9344c89fb78e9bbdfe7b9878ece50b33c1266fb 100644 (file)
@@ -1,9 +1,9 @@
-; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2
+; RUN: llc -mtriple=thumb-eabi -mcpu=arm1156t2-s -mattr=+thumb2 %s -o - | FileCheck %s
 
 define i1 @test1(i64 %poscnt, i32 %work) {
 entry:
-; CHECK: rrx r0, r0
 ; CHECK: lsrs.w r1, r1, #1
+; CHECK: rrx r0, r0
        %0 = lshr i64 %poscnt, 1
        %1 = icmp eq i64 %0, 0
        ret i1 %1
@@ -11,8 +11,8 @@ entry:
 
 define i1 @test2(i64 %poscnt, i32 %work) {
 entry:
-; CHECK: rrx r0, r0
 ; CHECK: asrs.w r1, r1, #1
+; CHECK: rrx r0, r0
        %0 = ashr i64 %poscnt, 1
        %1 = icmp eq i64 %0, 0
        ret i1 %1