This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Correct predicate offset for offset gather/scatter
ClosedPublic

Authored by dmgreen on Aug 28 2020, 9:08 AM.

Details

Summary

These arm_mve_vldr_gather_offset_predicated and arm_mve_vstr_scatter_offset_predicated have some extra parameters meaning the predicate is at a later operand. If a loop contains _only_ those masked instructions, we would miss transforming the active lane mask.

Diff Detail

Event Timeline

dmgreen created this revision.Aug 28 2020, 9:08 AM
dmgreen requested review of this revision.Aug 28 2020, 9:08 AM
anwel accepted this revision.Aug 28 2020, 9:15 AM

LGTM

This revision is now accepted and ready to land.Aug 28 2020, 9:15 AM
This revision was automatically updated to reflect the committed changes.