projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add the SCCP regression tests for APInt expressions. These test cases
[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
}