[mips] MIPS-IV is broadly the same as MIPS64 so duplicate all -mcpu=mips64 tests...
[oota-llvm.git] / test / CodeGen / ARM / trunc_ldr.ll
index bb13ac9e2b4d09aebe3e0a32f231addd34ca7387..2ce9b894d55a66cbb3a5745dd460edf44a52b4a5 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | llc -march=arm | grep ldrb.*7  | wc -l | grep 1
-; RUN: llvm-as < %s | llc -march=arm | grep ldrsb.*7 | wc -l | grep 1
+; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
 
        %struct.A = type { i8, i8, i8, i8, i16, i8, i8, %struct.B** }
        %struct.B = type { float, float, i32, i32, i32, [0 x i8] }
@@ -22,3 +21,10 @@ define i32 @f2(%struct.A* %d) {
         %tmp57 = sext i8 %tmp56 to i32
        ret i32 %tmp57
 }
+
+; CHECK: ldrb{{.*}}7
+; CHECK-NOT: ldrb{{.*}}7
+
+; CHECK: ldrsb{{.*}}7
+; CHECK-NOT: ldrsb{{.*}}7
+