[PATCH] D78031: DAG: Fix wrong legality check for ISD::FMAD
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 13 10:12:19 PDT 2020
RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: llvm/include/llvm/CodeGen/TargetLowering.h:2651
+ assert(N->getOpcode() == ISD::FADD || N->getOpcode() == ISD::FSUB ||
+ N->getOpcode() == ISD::FMUL);
return isOperationLegal(ISD::FMAD, N->getValueType(0));
----------------
Add an assert message since we're altering it.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78031/new/
https://reviews.llvm.org/D78031
More information about the llvm-commits
mailing list