This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel][AArch64] Add instruction selection support for G_INSERT_VECTOR_ELT on v2s32s
ClosedPublic

Authored by paquette on Mar 27 2019, 4:40 PM.

Details

Summary

This adds support for v2s32 vector inserts, and updates the selection + regbankselect tests for G_INSERT_VECTOR_ELT.

Diff Detail

Repository
rL LLVM

Event Timeline

paquette created this revision.Mar 27 2019, 4:40 PM
aemerson added inline comments.Mar 28 2019, 9:51 AM
llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
2624 ↗(On Diff #192540)

Why do we now need this for the 128b case?

paquette marked an inline comment as done.Mar 28 2019, 10:30 AM
paquette added inline comments.
llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
2624 ↗(On Diff #192540)

The lane insert takes in a None as the destination, so we need to set it manually.

aemerson accepted this revision.Mar 28 2019, 10:36 AM
This revision is now accepted and ready to land.Mar 28 2019, 10:36 AM
This revision was automatically updated to reflect the committed changes.