2009-09-09 01:54:48 +02:00
|
|
|
; RUN: llc < %s -fast-isel -march=x86 | grep and
|
2008-09-08 19:15:42 +02:00
|
|
|
|
|
|
|
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
|