llvm-mirror/test/Regression/Assembler/select.ll

8 lines
143 B
LLVM
Raw Normal View History

2004-03-12 05:50:02 +00:00
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
}