[ARM] Enable shrink-wrapping by default.
[oota-llvm.git] / test / CodeGen / ARM / ifcvt8.ll
index 85bd8c7bf1fc833873b3a50a48f036512b6e0d17..e8b7f6926396ec54123a9fc285439551c78777e4 100644 (file)
@@ -1,14 +1,13 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=arm -mtriple=arm-apple-darwin
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=arm -mtriple=arm-apple-darwin | \
-; RUN:   grep ldmne | count 1
+; RUN: llc < %s -mtriple=armv7-apple-darwin | FileCheck %s
 
        %struct.SString = type { i8*, i32, i32 }
 
 declare void @abort()
 
 define fastcc void @t(%struct.SString* %word, i8 signext  %c) {
+; CHECK-NOT: pop
+; CHECK: bxne
+; CHECK-NOT: pop
 entry:
        %tmp1 = icmp eq %struct.SString* %word, null            ; <i1> [#uses=1]
        br i1 %tmp1, label %cond_true, label %cond_false