llvm-6502/test/CodeGen/ARM/select.ll
Rafael Espindola e246fd953e fix select.ll to always test a select node
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30187 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-08 12:52:50 +00:00

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
}