1 ; RUN: llc -march=hexagon < %s | FileCheck %s
2 ; Check that the callr and the load into r0 are not packetized together.
4 target triple = "hexagon"
6 @fp = common global i32 (...)* null, align 4
8 ; CHECK: [[REG:r[0-9]+]] = memw
10 ; CHECK: callr [[REG]]
12 ; Function Attrs: nounwind
13 define i32 @foo() #0 {
15 %0 = load i32 ()*, i32 ()** bitcast (i32 (...)** @fp to i32 ()**), align 4
16 %call = tail call i32 %0() #0
20 attributes #0 = { nounwind }