[PATCH] D126273: [DAGCombiner][VP] Add DAGCombine for merging VP_FADD and VP_FMUL to VP_FMA.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 24 06:04:06 PDT 2022
RKSimon added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:23061
+ return false;
+ return AllowFusionGlobally || N->getFlags().hasAllowContract();
+ };
----------------
It'd be very useful if we pulled stuff like this out and shared it between all the various FMA generating combines.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126273/new/
https://reviews.llvm.org/D126273
More information about the llvm-commits
mailing list