1 ; RUN: llc -mtriple=thumb-- %s -o - | FileCheck %s
3 ; This test checks that if-conversion pass is unconditionally added to the pass
4 ; pipeline and is conditionally executed based on the per-function targert-cpu
9 define i32 @test_ifcvt(i32 %a, i32 %b) #0 {
10 %tmp2 = icmp eq i32 %a, 0
11 br i1 %tmp2, label %cond_false, label %cond_true
18 %tmp7 = add i32 %b, -1
22 attributes #0 = { "target-cpu"="cortex-a8" }