This is an archive of the discontinued LLVM Phabricator instance.

[mlir][arith] Rename addui_carry to addui_extended
ClosedPublic

Authored by kuhar on Dec 7 2022, 12:30 PM.

Details

Summary

The goal is to make the naming of the future _extended ops more
consistent. With unsigned addition, the carry value/flag and overflow
bit are the same, but this is not true when it comes to signed addition.

Also rename the second result from carry to overflow.

Diff Detail

Event Timeline

kuhar created this revision.Dec 7 2022, 12:30 PM
Herald added a project: Restricted Project. · View Herald Transcript
kuhar requested review of this revision.Dec 7 2022, 12:30 PM
antiagainst accepted this revision.Dec 7 2022, 1:28 PM
This revision is now accepted and ready to land.Dec 7 2022, 1:28 PM
This revision was landed with ongoing or failed builds.Dec 7 2022, 2:18 PM
This revision was automatically updated to reflect the committed changes.