1 ; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
3 %struct.bf = type { i64, i16, i16, i32 }
4 @bfi = common global %struct.bf zeroinitializer, align 16
6 define void @t1() nounwind optsize ssp {
8 %0 = load i32, i32* bitcast (i16* getelementptr (%struct.bf, %struct.bf* @bfi, i32 0, i32 1) to i32*), align 8
10 store i32 %1, i32* bitcast (i16* getelementptr (%struct.bf, %struct.bf* @bfi, i32 0, i32 1) to i32*), align 8
18 define void @t2() nounwind optsize ssp {
20 %0 = load i32, i32* bitcast (i16* getelementptr (%struct.bf, %struct.bf* @bfi, i32 0, i32 1) to i32*), align 8
21 %1 = or i32 %0, 16842752
22 store i32 %1, i32* bitcast (i16* getelementptr (%struct.bf, %struct.bf* @bfi, i32 0, i32 1) to i32*), align 8
26 ; CHECK: orl $16842752