-enable-arm-if-conversion is gone.
[oota-llvm.git] / test / CodeGen / ARM / ifcvt8.ll
1 ; RUN: llvm-as < %s | \
2 ; RUN:   llc -march=arm -mtriple=arm-apple-darwin
3 ; RUN: llvm-as < %s | \
4 ; RUN:   llc -march=arm -mtriple=arm-apple-darwin | \
5 ; RUN:   grep ldmne | count 1
6
7         %struct.SString = type { i8*, i32, i32 }
8
9 declare void @abort()
10
11 define fastcc void @t(%struct.SString* %word, i8 signext  %c) {
12 entry:
13         %tmp1 = icmp eq %struct.SString* %word, null            ; <i1> [#uses=1]
14         br i1 %tmp1, label %cond_true, label %cond_false
15
16 cond_true:              ; preds = %entry
17         tail call void @abort( )
18         unreachable
19
20 cond_false:             ; preds = %entry
21         ret void
22 }