llvm-6502/test/CodeGen/X86/fast-isel-call.ll
Eli Friedman b70eac42e7 Fix test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131444 91177308-0d34-0410-b5e6-96231b3b80d8
2011-05-17 00:39:14 +00:00

16 lines
253 B
LLVM

; RUN: llc < %s -fast-isel -march=x86 | FileCheck %s
define i32 @t() nounwind {
tak:
%tmp = call i1 @foo()
br i1 %tmp, label %BB1, label %BB2
BB1:
ret i32 1
BB2:
ret i32 0
; CHECK: calll
; CHECK-NEXT: testb $1
}
declare i1 @foo() zeroext nounwind