This is an archive of the discontinued LLVM Phabricator instance.

[mips] Honour -mno-odd-spreg for vector splat
ClosedPublic

Authored by sdardis on Jan 5 2017, 11:52 AM.

Details

Summary

Previous the lowering of FILL_FW would use the MSA128W register class when
performing a vector splat. Instead it should be honouring -mno-odd-spreg and
only use the even registers when performing a splat from word to vector
register.

Logical follow-on from r230235.

This fixes PR/31369.

Diff Detail

Repository
rL LLVM

Event Timeline

sdardis updated this revision to Diff 83283.Jan 5 2017, 11:52 AM
sdardis retitled this revision from to [mips] Honour -mno-odd-spreg for vector splat.
sdardis updated this object.
sdardis added a reviewer: slthakur.
sdardis set the repository for this revision to rL LLVM.
sdardis updated this object.
sdardis added a subscriber: llvm-commits.
slthakur accepted this revision.Jan 8 2017, 10:02 PM
slthakur edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jan 8 2017, 10:02 PM
This revision was automatically updated to reflect the committed changes.