-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hexagon: Put relocations after instructions not packets.
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
- Loading branch information
Sid Manning
committed
May 14, 2018
1 parent
3220080
commit 86cf232
Showing
4 changed files
with
448 additions
and
404 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# 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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.