This is an archive of the discontinued LLVM Phabricator instance.

[mlir][arith] Add canon pattern: addui_extended -> addi
ClosedPublic

Authored by kuhar on Dec 9 2022, 9:03 AM.

Details

Summary

Demote arith.addui_extended to arith.addi when the 'overflow'
result has no uses.

Diff Detail

Event Timeline

kuhar created this revision.Dec 9 2022, 9:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 9 2022, 9:03 AM
kuhar requested review of this revision.Dec 9 2022, 9:03 AM
antiagainst accepted this revision.Dec 9 2022, 10:05 AM
This revision is now accepted and ready to land.Dec 9 2022, 10:05 AM
This revision was automatically updated to reflect the committed changes.