1 ; RUN: llc < %s -mtriple=thumbv7 | FileCheck --check-prefix=CHECK-NOBFI %s
3 declare zeroext i1 @dummy()
5 define i8 @test(i8 %a1, i1 %c) {
7 ; CHECK-NOBFI: bl dummy
8 ; CHECK-NOBFI: cmp r0, #0
10 ; CHECK-NOBFI: orrne [[REG:r[0-9]+]], [[REG]], #8
11 ; CHECK-NOBFI: mov r0, [[REG]]
14 %2 = select i1 %c, i8 %1, i8 %a1
15 %3 = tail call zeroext i1 @dummy()
17 %ret = select i1 %3, i8 %4, i8 %2