mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-06 21:36:05 +00:00
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
|
|
}
|