[PATCH] D109525: [SVE] Remove isel patterns for (fneg (fma)) -> fnmla.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 9 12:04:51 PDT 2021


craig.topper added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/sve-fp-combine.ll:407-409
   %neg_m1 = fneg fast <vscale x 8 x half> %m1
   %mul = fmul fast <vscale x 8 x half> %neg_m1, %m2
   %res = fsub fast <vscale x 8 x half> %mul, %acc
----------------
dmgreen wrote:
> These are all fast...?
That's true, but the patterns weren't checking that. Would you prefer I add a PatFrag to check the fast math flags and keep the patterns?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109525/new/

https://reviews.llvm.org/D109525



More information about the llvm-commits mailing list