This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Improve fptosi.sat vector lowering
ClosedPublic

Authored by dmgreen on Oct 14 2021, 3:28 AM.

Details

Summary

Similar to D111236, this improves the lowering of vector fptosi.sat and fptoui.sat, using legal converts and further saturating from there with min/max. f64 are excluded for the moment due to producing worse code in places compared to the unrolling.

Diff Detail

Event Timeline

dmgreen created this revision.Oct 14 2021, 3:28 AM
dmgreen requested review of this revision.Oct 14 2021, 3:28 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 14 2021, 3:28 AM
samtebbs accepted this revision.Oct 14 2021, 6:36 AM

Very nice. LGTM

This revision is now accepted and ready to land.Oct 14 2021, 6:36 AM
This revision was landed with ongoing or failed builds.Oct 15 2021, 3:38 AM
This revision was automatically updated to reflect the committed changes.