1 ; RUN: llc -march=hexagon -mcpu=hexagonv4 -disable-hexagon-misched < %s | FileCheck %s 2 ; Check that we generate new value store packet in V4 3 4 @i = global i32 0, align 4 5 @j = global i32 10, align 4 6 @k = global i32 100, align 4 7 8 define i32 @main() nounwind { 9 entry: 10 ; CHECK: memw(r{{[0-9]+}} + #{{[0-9]+}}) = r{{[0-9]+}}.new 11 %number1 = alloca i32, align 4 12 %number2 = alloca i32, align 4 13 %number3 = alloca i32, align 4 14 %0 = load i32 * @i, align 4 15 store i32 %0, i32* %number1, align 4 16 %1 = load i32 * @j, align 4 17 store i32 %1, i32* %number2, align 4 18 %2 = load i32 * @k, align 4 19 store i32 %2, i32* %number3, align 4 20 ret i32 %0 21 } 22 23