[PATCH] D132837: [ISel] Enable generating more fma instructions.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 9 07:08:05 PDT 2022
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:14185
+ SDValue NewFMA = DAG.getNode(PreferredFusedOpcode, SL, VT, C, D, FMA);
+ DAG.UpdateNodeOperands(TmpFMA.getNode(), A, B, E);
+
----------------
Why use UpdateNodeOperands here instead of just constructing the new node normally?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132837/new/
https://reviews.llvm.org/D132837
More information about the llvm-commits
mailing list