This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Simplify select to a not
ClosedPublic

Authored by wsmoses on Jun 25 2021, 8:25 PM.

Details

Summary

Given a select that returns the logical negation of the condition, replace it with a not of the condition.

Diff Detail

Event Timeline

wsmoses created this revision.Jun 25 2021, 8:25 PM
wsmoses requested review of this revision.Jun 25 2021, 8:25 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 25 2021, 8:25 PM
ftynse accepted this revision.Jun 28 2021, 12:43 AM
This revision is now accepted and ready to land.Jun 28 2021, 12:43 AM
This revision was automatically updated to reflect the committed changes.