This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Select fp16 fma
ClosedPublic

Authored by dmgreen on May 23 2019, 10:05 AM.

Details

Summary

This adds a pattern for fma, similar to the float and double patterns.

Diff Detail

Repository
rL LLVM

Event Timeline

dmgreen created this revision.May 23 2019, 10:05 AM
SjoerdMeijer accepted this revision.May 24 2019, 12:42 AM

Looks good to me.

We have test for vfma in fp16-instructions.ll matchin a mul and add, but this one here is for matching intrinsics. Perhaps this test file should be called fp16-intrinsics.ll.

This revision is now accepted and ready to land.May 24 2019, 12:42 AM
This revision was automatically updated to reflect the committed changes.