mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-01 21:04:04 -04:00
86cf23258e
Change relocation output so that relocation information follows individual instructions rather than clustering them at the end of packets. This change required shifting block of code but the actual change is in HexagonPrettyPrinter's PrintInst. Differential Revision: https://reviews.llvm.org/D46728 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332283 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
308 B
ArmAsm
16 lines
308 B
ArmAsm
# RUN: llvm-mc -filetype=obj -triple=hexagon %s | llvm-objdump -r -d - | FileCheck %s
|
|
{
|
|
call ##foo
|
|
memw(##a) = r0
|
|
}
|
|
#CHECK: { immext(#0)
|
|
#CHECK: : R_HEX_B32_PCREL_X foo
|
|
#CHECK: call
|
|
#CHECK: R_HEX_B22_PCREL_X foo
|
|
#CHECK: immext(#0)
|
|
#CHECK: R_HEX_32_6_X a
|
|
#CHECK: memw(##0) = r0 }
|
|
#CHECK: R_HEX_16_X a
|
|
|
|
|