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 cmpne | count 1
6 ; RUN: llvm-as < %s | \
7 ; RUN: llc -march=arm -mtriple=arm-apple-darwin | \
8 ; RUN: grep ldmhi | count 1
10 define void @foo(i32 %X, i32 %Y) {
12 %tmp1 = icmp ult i32 %X, 4 ; <i1> [#uses=1]
13 %tmp4 = icmp eq i32 %Y, 0 ; <i1> [#uses=1]
14 %tmp7 = or i1 %tmp4, %tmp1 ; <i1> [#uses=1]
15 br i1 %tmp7, label %cond_true, label %UnifiedReturnBlock
17 cond_true: ; preds = %entry
18 %tmp10 = tail call i32 (...)* @bar( ) ; <i32> [#uses=0]
21 UnifiedReturnBlock: ; preds = %entry