Model stacksave and stackrestore as both writing memory, since we
[oota-llvm.git] / test / Transforms / InstCombine / 2003-10-23-InstcombineNullFail.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | 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, uint 0, long 0
11         %B = setne int* %A, null
12         ret bool %B
13 }