This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Split 64-bit G_CTPOP in RegBankSelect
ClosedPublic

Authored by arsenm on Feb 6 2020, 7:47 PM.

Details

Diff Detail

Event Timeline

arsenm created this revision.Feb 6 2020, 7:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 6 2020, 7:47 PM

I would suggest adding a test for s16 ctpop. If that happens to just work, then great and LGTM.

arsenm added a comment.Feb 7 2020, 6:04 AM

I would suggest adding a test for s16 ctpop. If that happens to just work, then great and LGTM.

s16 ctpop isn't legal, so the verifier will fail here. We could arguably make it legal with SDWA,

This revision is now accepted and ready to land.Feb 9 2020, 4:02 PM
arsenm closed this revision.Feb 9 2020, 4:02 PM