diff options
| author | David Stuttard <david.stuttard@amd.com> | 2017-06-22 16:29:22 +0000 |
|---|---|---|
| committer | David Stuttard <david.stuttard@amd.com> | 2017-06-22 16:29:22 +0000 |
| commit | 70e8bc1bf3fd7374ea98990db69e87eb7bd86e1b (patch) | |
| tree | e11382ac65cc40604793619448975a0604f8c6ce /llvm/lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h | |
| parent | 9bdb460f64b5ab318a3422e6fcb6507a85fe481e (diff) | |
| download | bcm5719-llvm-70e8bc1bf3fd7374ea98990db69e87eb7bd86e1b.tar.gz bcm5719-llvm-70e8bc1bf3fd7374ea98990db69e87eb7bd86e1b.zip | |
[AMDGPU] Add intrinsics for tbuffer load and store
Intrinsic already existed for llvm.SI.tbuffer.store
Needed tbuffer.load and also re-implementing the intrinsic as llvm.amdgcn.tbuffer.*
Added CodeGen tests for the 2 new variants added.
Left the original llvm.SI.tbuffer.store implementation to avoid issues with existing code
Subscribers: arsenm, kzhuravl, wdng, nhaehnle, yaxunl, tony-tye, tpr
Differential Revision: https://reviews.llvm.org/D30687
llvm-svn: 306031
Diffstat (limited to 'llvm/lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h')
| -rw-r--r-- | llvm/lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h b/llvm/lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h index f7b9c88e20f..7bbf99a85f4 100644 --- a/llvm/lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h +++ b/llvm/lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h @@ -88,6 +88,10 @@ private: const MCSubtargetInfo &STI, raw_ostream &O); void printExpVM(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O); + void printDFMT(const MCInst *MI, unsigned OpNo, + const MCSubtargetInfo &STI, raw_ostream &O); + void printNFMT(const MCInst *MI, unsigned OpNo, + const MCSubtargetInfo &STI, raw_ostream &O); void printRegOperand(unsigned RegNo, raw_ostream &O); void printVOPDst(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, |

