This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Cleanup subtarget handling.
ClosedPublic

Authored by arsenm on Jun 23 2016, 6:36 PM.

Details

Reviewers
tstellarAMD
Summary

Split AMDGPUSubtarget into amdgcn/r600 specific subclasses.
This removes most of the static_casting of the basic codegen
classes everywhere, and tries to restrict the features
visible on the wrong target.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 61750.Jun 23 2016, 6:36 PM
arsenm retitled this revision from to AMDGPU: Cleanup subtarget handling..
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
tstellarAMD accepted this revision.Jun 23 2016, 7:33 PM
tstellarAMD edited edge metadata.

This is a nice cleanup. LGTM.

This revision is now accepted and ready to land.Jun 23 2016, 7:33 PM
arsenm closed this revision.Jun 23 2016, 11:37 PM

r273652