diff options
| author | Nicolai Haehnle <nhaehnle@gmail.com> | 2019-06-16 17:43:37 +0000 |
|---|---|---|
| committer | Nicolai Haehnle <nhaehnle@gmail.com> | 2019-06-16 17:43:37 +0000 |
| commit | 41abf2766e26d4b38a68210cff3d9ebd819a0db4 (patch) | |
| tree | 1f3af847e66377d322445ba04bcc07349ad6a1ef /llvm/lib/Target/AMDGPU/SIInstrInfo.h | |
| parent | 6d71be4e67e121bae712b6f4e4b62849bb17f963 (diff) | |
| download | bcm5719-llvm-41abf2766e26d4b38a68210cff3d9ebd819a0db4.tar.gz bcm5719-llvm-41abf2766e26d4b38a68210cff3d9ebd819a0db4.zip | |
AMDGPU: Prepare for explicit absolute relocations in code generation
Summary:
We will use absolute relocations for LDS symbols.
Change-Id: I9a32795ed0ea835e433a787129cfe3c57ee9a325
Reviewers: arsenm, rampitec
Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, t-tye, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D61492
llvm-svn: 363517
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIInstrInfo.h')
| -rw-r--r-- | llvm/lib/Target/AMDGPU/SIInstrInfo.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIInstrInfo.h b/llvm/lib/Target/AMDGPU/SIInstrInfo.h index 9ce2f505a29..2d31df5298d 100644 --- a/llvm/lib/Target/AMDGPU/SIInstrInfo.h +++ b/llvm/lib/Target/AMDGPU/SIInstrInfo.h @@ -143,7 +143,7 @@ protected: public: enum TargetOperandFlags { - MO_MASK = 0x7, + MO_MASK = 0xf, MO_NONE = 0, // MO_GOTPCREL -> symbol@GOTPCREL -> R_AMDGPU_GOTPCREL. @@ -160,7 +160,10 @@ public: MO_REL32_HI = 5, MO_LONG_BRANCH_FORWARD = 6, - MO_LONG_BRANCH_BACKWARD = 7 + MO_LONG_BRANCH_BACKWARD = 7, + + MO_ABS32_LO = 8, + MO_ABS32_HI = 9, }; explicit SIInstrInfo(const GCNSubtarget &ST); |

