projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
document real source of bug
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2003-10-23-InstcombineNullFail.ll
1
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep false
2
;
3
; This actually looks like a constant propagation bug
4
5
%X = type { [10 x int], float }
6
7
implementation
8
9
bool %test() {
10
%A = getelementptr %X* null, long 0, ubyte 0, long 0
11
%B = setne int* %A, null
12
ret bool %B
13
}