1 ; RUN: opt < %s -basicaa -gvn -S | not grep DEADLOAD
2 ; RUN: opt < %s -basicaa -gvn -S | not grep DEADGEP
4 define i32 @main(i32** %p) {
7 %z2 = getelementptr i32* %z1, i32 0
9 %DEADLOAD = load i32** %p
10 %DEADGEP = getelementptr i32* %DEADLOAD, i32 0
11 %DEADLOAD2 = load i32* %DEADGEP