brintos

brintos / llvm-project-archived public Read only

0
0
Text · 426 B · 5e2af3c Raw
21 lines · plain
1; RUN: llc -mtriple=hexagon < %s | FileCheck %s2; Check that the callr and the load into r0 are not packetized together.3 4target triple = "hexagon"5 6@fp = common global ptr null, align 47 8; CHECK: [[REG:r[0-9]+]] = memw9; CHECK: {10; CHECK: callr [[REG]]11 12; Function Attrs: nounwind13define i32 @foo() #0 {14entry:15  %0 = load ptr, ptr @fp, align 416  %call = tail call i32 %0() #017  ret i32 %call18}19 20attributes #0 = { nounwind }21