llvm-mirror/test/Assembler/select.ll
Christopher Lamb 5cdf5b11b3 Test check in
llvm-svn: 36269
2007-04-20 05:05:24 +00:00

9 lines
194 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as -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
}