mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
d989e6dcc9
Rafael can get a chance to fix it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29809 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
405 B
LLVM
18 lines
405 B
LLVM
; RUN llvm-as %s -o /dev/null -f
|
|
; XFAIL: ALL
|
|
int %f(int %a) {
|
|
entry:
|
|
%tmp = seteq int %a, 4 ; <bool> [#uses=1]
|
|
br bool %tmp, label %cond_false, label %cond_true
|
|
|
|
cond_true: ; preds = %entry
|
|
br label %return
|
|
|
|
cond_false: ; preds = %entry
|
|
br label %return
|
|
|
|
return: ; preds = %cond_false, %cond_true
|
|
%retval.0 = phi int [ 2, %cond_true ], [ 3, %cond_false ] ; <int> [#uses=1]
|
|
ret int %retval.0
|
|
}
|