16 lines · plain
1; RUN: llc -mtriple=x86_64-- < %s2 3; Ensure that MergeConsecutiveStores doesn't crash when dealing with4; i1 operands.5 6%struct.X = type { i1, i1 }7 8@b = common global %struct.X zeroinitializer, align 49 10define void @foo() {11entry:12 store i1 0, ptr @b, align 413 store i1 0, ptr getelementptr inbounds (%struct.X, ptr @b, i64 0, i32 1), align 114 ret void15}16