This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Allow folding FMUL/FADD into FMA for FP16 types
ClosedPublic

Authored by bsmith on Feb 12 2021, 5:51 AM.

Details

Summary

isFMAFasterThanFMulAndFAdd should return true for FP16 types when
HasFullFP16 is present, since we have the instructions to handle it for
both SVE and NEON.

Diff Detail

Event Timeline

bsmith created this revision.Feb 12 2021, 5:51 AM
bsmith requested review of this revision.Feb 12 2021, 5:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 12 2021, 5:51 AM
dmgreen accepted this revision.Feb 12 2021, 7:52 AM

LGTM. Thanks for the change

This revision is now accepted and ready to land.Feb 12 2021, 7:52 AM
bsmith updated this revision to Diff 323754.Feb 15 2021, 7:48 AM
  • Update tests in line with changes to D96424
bsmith updated this revision to Diff 323767.Feb 15 2021, 8:23 AM
bsmith edited the summary of this revision. (Show Details)
  • Reverse order of dependant patches, moving all SVE tests into D96424
This revision was automatically updated to reflect the committed changes.