As far as I know getNode will never return a null SDValue.
I'm guessing this was modeled after the FoldConstantArithmetic
call earlier.
Paths
| Differential D123550
[SelectionDAG] Remove unecessary null check after call to getNode. NFC ClosedPublic Authored by craig.topper on Apr 11 2022, 3:39 PM.
Details Summary As far as I know getNode will never return a null SDValue. I'm guessing this was modeled after the FoldConstantArithmetic
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 11 2022, 5:35 PM This revision was landed with ongoing or failed builds.Apr 11 2022, 6:08 PM Closed by commit rG35be4a7af3b2: [SelectionDAG] Remove unecessary null check after call to getNode. NFC (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 422088 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
|