Remove obscure test
[oota-llvm.git] / test / Transforms / CorrelatedExprs / nullpointer.ll
1 ; a load or store of a pointer indicates that the pointer is not null.
2 ; Any succeeding uses of the pointer should get this info
3
4 ; RUN: as < %s | opt -cee -instcombine -simplifycfg | dis | not grep br
5
6 implementation   ; Functions:
7
8 int %nullptr(int* %j) {
9 bb0:
10         store int 7, int* %j               ; j != null
11         %cond220 = seteq int* %j, null     ; F
12         br bool %cond220, label %bb3, label %bb4  ; direct branch
13
14 bb3:
15         ret int 4                          ; Dead code
16 bb4:
17         ret int 3                          ; Live code
18 }