Skip to content
Commit af4c4f4e authored by Cameron McInally's avatar Cameron McInally
Browse files

[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
parent a6446668
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment