projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
eliminate additions of 0.0 when they are obviously dead. This has to be careful to
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
cast-cast-to-and.ll
1
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
2
; RUN: not grep ubyte
3
4
int %test1(uint %X) {
5
%Y = cast uint %X to ubyte ;; Turn into an AND
6
%Z = cast ubyte %Y to int
7
ret int %Z
8
}
9