17 lines · plain
1; RUN: llc -mtriple=hexagon --combiner-store-merging=false -verify-machineinstrs < %s | FileCheck %s2; CHECK: memh3; Check that store widening merges the two adjacent stores.4 5target triple = "hexagon"6 7%struct.type_t = type { i8, i8, [2 x i8] }8 9define zeroext i8 @foo(ptr nocapture %p) nounwind {10entry:11 store i8 0, ptr %p, align 212 %b = getelementptr inbounds %struct.type_t, ptr %p, i32 0, i32 113 %0 = load i8, ptr %b, align 114 store i8 0, ptr %b, align 115 ret i8 %016}17