blob: 6b5446805e1659080d7042018e3e61a8a2bbf0ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
; RUN: llvm-as < %s | opt -sccp -disable-output &&
; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep select
int %test1(bool %C) {
%X = select bool %C, int 0, int 0
ret int %X
}
int %test2(bool %C) {
%X = select bool %C, int 0, int undef
ret int %X
}
|