This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Mark v2s64 -> v2p0 G_INTTOPTR as legal
ClosedPublic

Authored by paquette on Jul 13 2021, 3:26 PM.

Details

Summary

Allow

%x:_<2 x p0> = G_INTTOPTR %y:_<2 x s64>

This shows up when building clang for AArch64 with GlobalISel.

Also show that we can select it.

This should match SDAG's behaviour: https://godbolt.org/z/33oqYoaYv

Diff Detail

Event Timeline

paquette created this revision.Jul 13 2021, 3:26 PM
paquette requested review of this revision.Jul 13 2021, 3:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 13 2021, 3:26 PM
aemerson accepted this revision.Jul 13 2021, 3:56 PM
This revision is now accepted and ready to land.Jul 13 2021, 3:56 PM
This revision was landed with ongoing or failed builds.Jul 13 2021, 5:28 PM
This revision was automatically updated to reflect the committed changes.