This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Clamp <n x p0> vecs when legalizing G_EXTRACT_VECTOR_ELT
ClosedPublic

Authored by paquette on Jul 13 2021, 5:47 PM.

Details

Summary

This case was missing from G_EXTRACT_VECTOR_ELT. It's the same as for s64.

https://godbolt.org/z/Tnq4acY8z

Diff Detail

Event Timeline

paquette created this revision.Jul 13 2021, 5:47 PM
paquette requested review of this revision.Jul 13 2021, 5:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 13 2021, 5:47 PM
arsenm added a subscriber: arsenm.Jul 13 2021, 5:49 PM
arsenm added inline comments.
llvm/test/CodeGen/AArch64/GlobalISel/legalize-extract-vector-elt.mir
264

Also need to be careful of other address space pointer vectors

aemerson accepted this revision.Jul 14 2021, 1:12 PM
This revision is now accepted and ready to land.Jul 14 2021, 1:12 PM
paquette added inline comments.Jul 15 2021, 2:03 PM
llvm/test/CodeGen/AArch64/GlobalISel/legalize-extract-vector-elt.mir
264

Yeah, I'll add a testcase.

This revision was landed with ongoing or failed builds.Jul 15 2021, 2:06 PM
This revision was automatically updated to reflect the committed changes.