This is an archive of the discontinued LLVM Phabricator instance.

[TargetLowering] Simplify the interface of expandABS. NFC
ClosedPublic

Authored by craig.topper on Oct 22 2021, 9:36 AM.

Details

Summary

Instead of returning a bool to indicate success and a separate
SDValue, return the SDValue and have the callers check if it is
null.

Diff Detail

Event Timeline

craig.topper created this revision.Oct 22 2021, 9:36 AM
craig.topper requested review of this revision.Oct 22 2021, 9:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 22 2021, 9:36 AM
RKSimon accepted this revision.Oct 22 2021, 10:15 AM

LGTM - cheers

This revision is now accepted and ready to land.Oct 22 2021, 10:15 AM
This revision was landed with ongoing or failed builds.Oct 22 2021, 10:22 AM
This revision was automatically updated to reflect the committed changes.