This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Simplify definition of VReg and AReg classes. NFC.
ClosedPublic

Authored by foad on Apr 21 2020, 3:51 AM.

Diff Detail

Event Timeline

foad created this revision.Apr 21 2020, 3:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2020, 3:51 AM
rampitec accepted this revision.Apr 21 2020, 10:57 AM

LGTM with couple comments.

llvm/lib/Target/AMDGPU/SIRegisterInfo.td
735

Do you mind to add "let GeneratePressureSet = 0" here before submission?

756

You will need to rebase since you have added more classes by now.

This revision is now accepted and ready to land.Apr 21 2020, 10:57 AM
foad marked an inline comment as done.Apr 22 2020, 12:53 AM
foad added inline comments.
llvm/lib/Target/AMDGPU/SIRegisterInfo.td
735

We're already inside a let GeneratePressureSet = 0 in { ... } block.

This revision was automatically updated to reflect the committed changes.