[llvm] [DAG] SelectionDAG::canCreateUndefOrPoison - add ISD::FMA/FMAD + tests (PR #152187)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 7 07:24:28 PDT 2025
================
@@ -5622,6 +5622,8 @@ bool SelectionDAG::canCreateUndefOrPoison(SDValue Op, const APInt &DemandedElts,
case ISD::FDIV:
case ISD::FREM:
case ISD::FCOPYSIGN:
+ case ISD::FMA:
+ case ISD::FMAD:
----------------
Seraphimt wrote:
> Moving the freeze around doesn't eliminate the fneg
Sorry, i not understand. Can you explain in more detail or give link to doc, please?
https://github.com/llvm/llvm-project/pull/152187
More information about the llvm-commits
mailing list