7204c801c5b9b5c99a99de897bbc4e6d69911ed3
[oota-llvm.git] / test / CodeGen / ARM / select.ll
1 ; RUN: llvm-as < %s | llc -march=arm
2
3 int %f(int %a) {
4 entry:
5         %tmp = seteq int %a, 4          ; <bool> [#uses=1]
6         %tmp1 = select bool %tmp, int 2, int 3
7         ret int %tmp1
8 }