2006-12-02 20:34:08 +00:00
|
|
|
; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f
|
2004-11-06 22:07:09 +00:00
|
|
|
|
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
|
|
|
|
}
|