X86MCInstLower::Lower should only not emit anything to OutStreamer,
[llvm/avr.git] / test / Transforms / GlobalOpt / 2004-10-10-CastStoreOnce.ll
blobbdcf1fa4778bab2887046797099ff06677f87aa6
1 ; RUN: opt < %s -globalopt
3 @V = global float 1.200000e+01          ; <float*> [#uses=1]
4 @G = internal global i32* null          ; <i32**> [#uses=2]
6 define i32 @user() {
7         %P = load i32** @G              ; <i32*> [#uses=1]
8         %Q = load i32* %P               ; <i32> [#uses=1]
9         ret i32 %Q
12 define void @setter() {
13         %Vi = bitcast float* @V to i32*         ; <i32*> [#uses=1]
14         store i32* %Vi, i32** @G
15         ret void