This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Update isVMOVNOriginalMask to handle single input shuffle vectors
ClosedPublic

Authored by dmgreen on Jan 6 2021, 12:50 PM.

Details

Summary

The isVMOVNOriginalMask was previously only checking for two input shuffles that could be better expanded as vmovn nodes. This expands that to single input shuffles that will later be legalized to multiple vectors.

Diff Detail

Event Timeline

dmgreen created this revision.Jan 6 2021, 12:50 PM
dmgreen requested review of this revision.Jan 6 2021, 12:50 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 6 2021, 12:50 PM
SjoerdMeijer accepted this revision.Jan 6 2021, 12:58 PM

Looks like a good fix to me.

llvm/lib/Target/ARM/ARMISelLowering.cpp
14710–14711

Nit: not that I care about this, but I guess or hope it would be fine to have lower case i because it's a loop iterator?

This revision is now accepted and ready to land.Jan 6 2021, 12:58 PM