Home | History | Annotate | Download | only in NewGVN
      1 ; RUN: opt < %s -basicaa -newgvn -S | FileCheck %s
      2 
      3 	%struct.INT2 = type { i32, i32 }
      4 @blkshifts = external global %struct.INT2*		; <%struct.INT2**> [#uses=2]
      5 
      6 define i32 @xcompact() {
      7 entry:
      8 	store %struct.INT2* null, %struct.INT2** @blkshifts, align 4
      9 	br label %bb
     10 
     11 bb:		; preds = %bb, %entry
     12 	%tmp10 = load %struct.INT2*, %struct.INT2** @blkshifts, align 4		; <%struct.INT2*> [#uses=0]
     13 ; CHECK-NOT:  %tmp10
     14 	br label %bb
     15 }
     16