1 ; RUN: llc -march=hexagon -mcpu=hexagonv67t < %s | FileCheck %s
3 ; Another scheduling test for Tiny Core.
20 define i32 @test(ptr noalias nocapture readonly %a, ptr noalias nocapture readonly %b, i32 %n) local_unnamed_addr #0 {
22 %0 = load i32, ptr %a, align 4
23 %1 = load i32, ptr %b, align 4
24 %mul = mul nsw i32 %1, %0
25 %arrayidx.inc = getelementptr i32, ptr %a, i32 1
26 %arrayidx1.inc = getelementptr i32, ptr %b, i32 1
27 %2 = load i32, ptr %arrayidx.inc, align 4
28 %3 = load i32, ptr %arrayidx1.inc, align 4
29 %mul.1 = mul nsw i32 %3, %2
30 %add.1 = add nsw i32 %mul.1, %mul