22 lines · plain
1; RUN: llc -mtriple=hexagon < %s | FileCheck %s2; There should only be one packet:3; {4; jump free5; r0 = memw(r0 + #-4)6; }7;8; CHECK: {9; CHECK-NOT: {10 11define void @fred(ptr %p) nounwind {12entry:13 %arrayidx = getelementptr inbounds i8, ptr %p, i32 -414 %t1 = load ptr, ptr %arrayidx, align 415 tail call void @free(ptr %t1)16 ret void17}18 19; Function Attrs: nounwind20declare void @free(ptr nocapture) nounwind21 22