[PATCH] D104723: [DAGCombine] Check reassoc flags in aggressive fsub fusion
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 22 09:58:24 PDT 2021
lebedev.ri added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:13255-13260
+ bool CanReassociate =
+ Options.UnsafeFPMath || N->getFlags().hasAllowReassociation();
+
+ auto isReassociatable = [Options](SDValue N) {
+ return Options.UnsafeFPMath || N->getFlags().hasAllowReassociation();
+ };
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104723/new/
https://reviews.llvm.org/D104723
More information about the llvm-commits
mailing list