summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/fast-isel-call.ll
blob: 9945746807cfa18cc2a17d0c1de605354071bfdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llvm-as < %s | llc -fast-isel -march=x86 | grep and

define i32 @t() nounwind {
tak:
	%tmp = call i1 @foo()
	br i1 %tmp, label %BB1, label %BB2
BB1:
	ret i32 1
BB2:
	ret i32 0
}

declare i1 @foo() zeroext nounwind
OpenPOWER on IntegriCloud