Page MenuHomePhabricator

[AMDGPU] Split R600 and GCN bfi patterns
ClosedPublic

Authored by foad on Sep 24 2020, 10:03 AM.

Details

Summary

This is in preparation for making the GCN patterns divergence-aware.
NFC.

Diff Detail

Event Timeline

foad created this revision.Sep 24 2020, 10:03 AM
foad requested review of this revision.Sep 24 2020, 10:03 AM
arsenm accepted this revision.Sep 24 2020, 10:05 AM

LGTM, I've been meaning to do this. I do think some of these should be moved to combines and are missing hasOneUse checks though

llvm/lib/Target/AMDGPU/SIInstructions.td
1594–1621

Maybe add a comment for the fcopysign cases that we don't want to import them for globalisel

This revision is now accepted and ready to land.Sep 24 2020, 10:05 AM
foad edited the summary of this revision. (Show Details)Sep 25 2020, 8:14 AM
This revision was automatically updated to reflect the committed changes.