diff options
author | Dmitry Preobrazhensky <dmitry.preobrazhensky@amd.com> | 2018-02-05 12:45:43 +0000 |
---|---|---|
committer | Dmitry Preobrazhensky <dmitry.preobrazhensky@amd.com> | 2018-02-05 12:45:43 +0000 |
commit | e3271aee447f510e89bab0c599b149b4085b325e (patch) | |
tree | a30e74b6927b7e251abbc11d204ac84b04573198 /llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h | |
parent | 5bc157443e02d6288ff8ff1162372a3b6e6a2b03 (diff) | |
download | bcm5719-llvm-e3271aee447f510e89bab0c599b149b4085b325e.tar.gz bcm5719-llvm-e3271aee447f510e89bab0c599b149b4085b325e.zip |
[AMDGPU][MC] Added validation of d16 and r128 modifiers of MIMG opcodes
See bugs 36094, 36095:
https://bugs.llvm.org/show_bug.cgi?id=36094
https://bugs.llvm.org/show_bug.cgi?id=36095
Differential Revision: https://reviews.llvm.org/D42692
Reviewers: vpykhtin, artem.tamazov, arsenm
llvm-svn: 324231
Diffstat (limited to 'llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h')
-rw-r--r-- | llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h b/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h index 7745af1c45c..9e143aa7cf9 100644 --- a/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h +++ b/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h @@ -285,6 +285,8 @@ inline bool isKernel(CallingConv::ID CC) { bool hasXNACK(const MCSubtargetInfo &STI); +bool hasMIMG_R128(const MCSubtargetInfo &STI); + bool isSI(const MCSubtargetInfo &STI); bool isCI(const MCSubtargetInfo &STI); bool isVI(const MCSubtargetInfo &STI); |