mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
36a0947820
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81290 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
211 B
LLVM
14 lines
211 B
LLVM
; RUN: llc < %s -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
|