This is an archive of the discontinued LLVM Phabricator instance.

AArch64: Fix loads to lower NEON vector lanes using GPR registers
ClosedPublic

Authored by MatzeB on Aug 28 2015, 7:29 PM.

Details

Summary

The ISelLowering code turned insertion turned the element for the
lowest lane of a BUILD_VECTOR into an INSERT_SUBREG, this prohibited
the patterns for SCALAR_TO_VECTOR(Load) to match later. Restrict this
to cases without a load argument.

Reported in rdar://22223823

Diff Detail

Repository
rL LLVM

Event Timeline

MatzeB updated this revision to Diff 33511.Aug 28 2015, 7:29 PM
MatzeB retitled this revision from to AArch64: Fix loads to lower NEON vector lanes using GPR registers.
MatzeB updated this object.
MatzeB added a reviewer: t.p.northover.
MatzeB set the repository for this revision to rL LLVM.
MatzeB added a subscriber: llvm-commits.
jmolloy accepted this revision.Aug 29 2015, 3:36 AM
jmolloy added a reviewer: jmolloy.
jmolloy added a subscriber: jmolloy.

Hi Matthias,

This looks fine to me.

Cheers,

James

This revision is now accepted and ready to land.Aug 29 2015, 3:36 AM
This revision was automatically updated to reflect the committed changes.