[PATCH] D36444: AMDGPU: Add R600InstPrinter class

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 7 22:53:08 PDT 2017


tstellar created this revision.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl.

This is step towards separating the GCN and R600 tablegen'd code.

This is a little awkward for now, because the R600 functions won't have the
MCSubtargetInfo parameter, so we need to have AMDMGPUInstPrinter
delegate to R600InstPrinter, but once the tablegen'd code is split,
we will be able to drop the delegation and use R600InstPrinter directly.


https://reviews.llvm.org/D36444

Files:
  lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp
  lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h
  lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36444.110138.patch
Type: text/x-patch
Size: 16179 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170808/903ecd7b/attachment.bin>


More information about the llvm-commits mailing list