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
/
2003-05-27-ConstExprCrash.ll
1
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -disable-output
2
3
%X = global int 5
4
long %test() {
5
%C = add long 1, 2
6
%V = add long cast(int* %X to long), %C
7
ret long %V
8
}