[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 09:43:11 PDT 2021


craig.topper created this revision.
craig.topper added reviewers: bsmith, paulwalker-arm, peterwaller-arm, efriedma, dmgreen, joechrisellis.
Herald added subscribers: pengfei, psnobl, hiraditya, tschuett.
craig.topper requested review of this revision.
Herald added a project: LLVM.

(fneg (fma X, Y, Z)) is not the same as (fma (fneg X), Y, (fneg Z))
due to -0.0.

See https://reviews.llvm.org/D90901 for a similar discussion on X86.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109525

Files:
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/test/CodeGen/AArch64/sve-fp-combine.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109525.371634.patch
Type: text/x-patch
Size: 7684 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210909/130abed3/attachment.bin>


More information about the llvm-commits mailing list