Update tests that need to be run through llvm-upgrade. This is necessary
[oota-llvm.git] / test / Transforms / SCCP / select.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -sccp -disable-output &&
2 ; RUN: llvm-upgrade < %s | llvm-as | opt -sccp | llvm-dis | not grep select
3
4 int %test1(bool %C) {
5         %X = select bool %C, int 0, int 0
6         ret int %X
7 }
8
9 int %test2(bool %C) {
10         %X = select bool %C, int 0, int undef
11         ret int %X
12 }