This is an archive of the discontinued LLVM Phabricator instance.

[DAGCombiner] Minor improvements to foldAndOrOfSETCC. NFC
ClosedPublic

Authored by craig.topper on Jul 24 2023, 9:41 AM.

Details

Summary

Reduce the scope of some variables.
Replace an if with an assertion.

Diff Detail

Event Timeline

craig.topper created this revision.Jul 24 2023, 9:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 24 2023, 9:41 AM
craig.topper requested review of this revision.Jul 24 2023, 9:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 24 2023, 9:41 AM
Herald added a subscriber: wdng. · View Herald Transcript

LGTM! Thank you!

kmitropoulou accepted this revision.Jul 24 2023, 10:03 PM
This revision is now accepted and ready to land.Jul 24 2023, 10:03 PM