1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 21:42:54 +02:00
llvm-mirror/test/Assembler/select.ll

9 lines
194 B
LLVM
Raw Normal View History

; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f
2004-11-06 23:07:09 +01:00
2004-03-12 06:50:02 +01: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
}