Handle calls which produce i1 results: promote to i8 but and it with 1 to get the...
[oota-llvm.git] / test / CodeGen / X86 / fast-isel-call.ll
1 ; RUN: llvm-as < %s | llc -fast-isel -march=x86 | grep and
2
3 define i32 @t() nounwind {
4 tak:
5         %tmp = call i1 @foo()
6         br i1 %tmp, label %BB1, label %BB2
7 BB1:
8         ret i32 1
9 BB2:
10         ret i32 0
11 }
12
13 declare i1 @foo() zeroext nounwind