Reorder work in PromoteIntBinOp to prevent stale (deleted) nodes from
being used.
Fixes PR32340 and PR32345
Differential D31148
[SDAG] Avoid deleted SDNodes PromoteIntBinOp niravd on Mar 20 2017, 12:21 PM. Authored by
Details Reorder work in PromoteIntBinOp to prevent stale (deleted) nodes from Fixes PR32340 and PR32345
Diff Detail
Event Timeline
Comment Actions Fix failed promote case
Comment Actions LGTM but if you can please strip the *.getNode() from the bool checks - they're not necessary
|
What about cases where PromoteOperand returns SDValue()? Or where N0 == N1?