This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Add R600InstPrinter class
ClosedPublic

Authored by tstellar on Aug 7 2017, 10:53 PM.

Details

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.

Diff Detail

Repository
rL LLVM

Event Timeline

tstellar created this revision.Aug 7 2017, 10:53 PM
arsenm accepted this revision.Aug 8 2017, 10:52 AM

LGTM

lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h
37 ↗(On Diff #110138)

Extra newline

This revision is now accepted and ready to land.Aug 8 2017, 10:52 AM
This revision was automatically updated to reflect the committed changes.