This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Add bfi immediate pattern
ClosedPublic

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

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 added inline comments.Sep 24 2020, 10:08 AM
llvm/lib/Target/AMDGPU/SIInstructions.td
1564

GlobalISel predicate?

foad added inline comments.Sep 25 2020, 8:48 AM
llvm/lib/Target/AMDGPU/SIInstructions.td
1564

I could add a GISelPredicateCode but whatever I put in there won't even get compiled, let alone tested, until some of these patters actually get used by globalisel. So I'd prefer to leave it all to another patch.

arsenm added inline comments.Sep 25 2020, 10:56 AM
llvm/lib/Target/AMDGPU/SIInstructions.td
1564

OK, I thought this was the main barrier

arsenm accepted this revision.Sep 25 2020, 10:57 AM
This revision is now accepted and ready to land.Sep 25 2020, 10:57 AM
This revision was landed with ongoing or failed builds.Sep 28 2020, 2:17 AM
This revision was automatically updated to reflect the committed changes.