This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Make selectSETCC return SDValue instead of bool. NFC
ClosedPublic

Authored by craig.topper on Jul 15 2023, 10:41 PM.

Details

Summary

We can use a null SDValue for the 'false' case. This avoids the
need for an output parameter. This is consistent with other
SelectionDAG code.

Diff Detail

Event Timeline

craig.topper created this revision.Jul 15 2023, 10:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 15 2023, 10:41 PM
craig.topper requested review of this revision.Jul 15 2023, 10:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 15 2023, 10:41 PM
Herald added subscribers: eopXD, MaskRay. · View Herald Transcript
wangpc accepted this revision.Jul 16 2023, 8:41 AM
This revision is now accepted and ready to land.Jul 16 2023, 8:41 AM
This revision was landed with ongoing or failed builds.Jul 16 2023, 1:11 PM
This revision was automatically updated to reflect the committed changes.