mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-05 02:16:46 +00:00
e246fd953e
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30187 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
163 B
LLVM
9 lines
163 B
LLVM
; RUN: llvm-as < %s | llc -march=arm
|
|
|
|
int %f(int %a) {
|
|
entry:
|
|
%tmp = seteq int %a, 4 ; <bool> [#uses=1]
|
|
%tmp1 = select bool %tmp, int 2, int 3
|
|
ret int %tmp1
|
|
}
|