llvm-6502/test/Assembler/select.ll

10 lines
180 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s -o /dev/null -f
int %test(bool %C, int %V1, int %V2) {
%X = select bool true, bool false, bool true
%V = select bool %X, int %V1, int %V2
ret int %V
}