Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | ; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f |
2 | |||||
3 | |||||
4 | int %test(bool %C, int %V1, int %V2) { | ||||
5 | %X = select bool true, bool false, bool true | ||||
6 | %V = select bool %X, int %V1, int %V2 | ||||
7 | ret int %V | ||||
8 | } |