This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Consolidate some getGeneration checks
ClosedPublic

Authored by arsenm on Apr 2 2019, 1:46 PM.

Details

Summary

This is incomplete, and ideally these would all be removed, but it's
better to localize them to the subtarget first with comments about
what they're for.

Diff Detail

Event Timeline

arsenm created this revision.Apr 2 2019, 1:46 PM
arsenm updated this revision to Diff 193361.Apr 2 2019, 1:53 PM

Eliminate an unnecessary check for r600

arsenm updated this revision to Diff 193363.Apr 2 2019, 2:07 PM

Remove unnecessary AMDGPUSubtarget::

tstellar accepted this revision.Apr 2 2019, 2:10 PM
tstellar added a subscriber: tstellar.

LGTM.

This revision is now accepted and ready to land.Apr 2 2019, 2:10 PM
arsenm closed this revision.Jun 19 2019, 4:54 PM

r363902