[DAGCombine] Fix an ICE in combineMinNumMaxNum(...)
65420c80 introduced an ICE in combineMinNumMaxNum(...) when combineMinNumMaxNumImpl(...) returns an SDValue(). Make sure to check that a value is returned before trying to perform an FNEG on it. GitHub Issue: #60924 Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D144571 (cherry picked from commit af4c4f4e)
parent
57b29461
Please register or sign in to comment