Stephan <stephan.reiter at gmail.com> writes: > store [1 x i32] zeroinitializer, [1 x i32]* %tmp4 If I replace this with %tmp6 = bitcast [1 x i32]* %tmp4 to i32* ; <[1 x i32]*>[#uses=1] store i32 0, i32* %tmp6 then "opt -gvn" alone is enough figure out "ret i32 0".