llvm-6502/test/Assembler/select.ll
Chris Lattner 6551ea98b2 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12306 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-12 05:50:02 +00:00

8 lines
143 B
LLVM

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
}