This is an archive of the discontinued LLVM Phabricator instance.

[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
call earlier.

Diff Detail

Event Timeline

craig.topper created this revision.Apr 11 2022, 3:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 11 2022, 3:39 PM
craig.topper requested review of this revision.Apr 11 2022, 3:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 11 2022, 3:39 PM
Herald added a subscriber: wdng. · View Herald Transcript
arsenm accepted this revision.Apr 11 2022, 5:35 PM
This 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
This revision was automatically updated to reflect the committed changes.