1 ; RUN: llc -march=hexagon --combiner-store-merging=false -verify-machineinstrs < %s | FileCheck %s
3 ; Check that store widening merges the two adjacent stores.
5 target triple = "hexagon"
7 %struct.type_t = type { i8, i8, [2 x i8] }
9 define zeroext i8 @foo(ptr nocapture %p) nounwind {
11 store i8 0, ptr %p, align 2
12 %b = getelementptr inbounds %struct.type_t, ptr %p, i32 0, i32 1
13 %0 = load i8, ptr %b, align 1
14 store i8 0, ptr %b, align 1