This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Use v_perm_b32 to implement bswap
ClosedPublic

Authored by arsenm on Feb 13 2020, 8:40 AM.

Details

Reviewers
rampitec
kerbowa
Summary

Also greatly improve i64 lowering. LegalizeIntegerTypes does the
correct narrowing if i64 isn't legal. Just workaround this for
SelectionDAG by making i64 legal and splitting in the patterns.

Diff Detail

Event Timeline

arsenm created this revision.Feb 13 2020, 8:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 13 2020, 8:40 AM
This revision is now accepted and ready to land.Feb 13 2020, 8:51 AM