]> granicus.if.org Git - llvm/commit
AMDGPU: Add R600InstPrinter class
authorTom Stellard <tstellar@redhat.com>
Thu, 17 Aug 2017 22:20:04 +0000 (22:20 +0000)
committerTom Stellard <tstellar@redhat.com>
Thu, 17 Aug 2017 22:20:04 +0000 (22:20 +0000)
commit7dcd9e77f5d496d5bf42a7698fcd4eeb63fb3e09
treec8d2febc33bb957e4571cab77007f62ed589b21c
parentb878f814c6b56e5e9b4ca0782e14377a1c39d581
AMDGPU: Add R600InstPrinter class

Summary:
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.

Reviewers: arsenm

Subscribers: kzhuravl, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, llvm-commits

Differential Revision: https://reviews.llvm.org/D36444

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311128 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp
lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h
lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp