[PATCH] D109525: [SVE] Only combine (fneg (fma)) => FNMLA with nsz
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 9 01:56:31 PST 2021
dmgreen accepted this revision.
dmgreen added a comment.
This revision is now accepted and ready to land.
LGTM, with a small suggestion. Thanks for the updates.
================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:19112-19114
+ SDValue Res = DAG.getNode(NewOp, DL, VT, Operands);
+ Res->setFlags(Op->getFlags());
+ return Res;
----------------
Can this just be `return DAG.getNode(NewOp, DL, VT, Operands, Op->getFlags());`?
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