This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Add FP_ROUND handling to splitting MVE stores
ClosedPublic

Authored by dmgreen on Jun 4 2020, 4:05 AM.

Details

Summary

This splits MVE vector stores of a fp_trunc in the same way that we do for standard trunc's. It extends PerformSplittingToNarrowingStores to handle fp_round, splitting the store into pieces and adding a VCVTNb to perform the actual fp_round. The actual store is then converted to an integer store so that it can truncate bottom lanes of the result.

Diff Detail

Event Timeline

dmgreen created this revision.Jun 4 2020, 4:05 AM
SjoerdMeijer accepted this revision.Jun 25 2020, 1:13 AM

Looks reasonable to me.

This revision is now accepted and ready to land.Jun 25 2020, 1:13 AM
This revision was automatically updated to reflect the committed changes.