Home | History | Annotate | Download | only in GVN
      1 ; RUN: opt < %s -gvn | llvm-dis
      2 
      3 @bsLive = external global i32		; <i32*> [#uses=2]
      4 
      5 define i32 @bsR(i32 %n) {
      6 entry:
      7 	br i1 false, label %cond_next, label %bb19
      8 
      9 cond_next:		; preds = %entry
     10 	store i32 0, i32* @bsLive, align 4
     11 	br label %bb19
     12 
     13 bb19:		; preds = %cond_next, %entry
     14 	%tmp29 = load i32, i32* @bsLive, align 4		; <i32> [#uses=0]
     15 	ret i32 0
     16 }
     17