This is an archive of the discontinued LLVM Phabricator instance.

[mlir][arith] Support wide int shrui emulation
ClosedPublic

Authored by kuhar on Sep 12 2022, 12:41 PM.

Details

Summary

Tested by checking all 16-bit LHS and all valid RHS when emulating i16 with i8 operations.

Diff Detail

Event Timeline

kuhar created this revision.Sep 12 2022, 12:41 PM
kuhar requested review of this revision.Sep 12 2022, 12:41 PM
Mogball accepted this revision.Sep 13 2022, 9:45 AM
Mogball added inline comments.
mlir/lib/Dialect/Arithmetic/Transforms/EmulateWideInt.cpp
469
This revision is now accepted and ready to land.Sep 13 2022, 9:45 AM
kuhar updated this revision to Diff 459938.Sep 13 2022, 5:54 PM

Dropped const from a local variable.

kuhar marked an inline comment as done.Sep 13 2022, 5:54 PM
kuhar updated this revision to Diff 459939.Sep 13 2022, 5:54 PM

Fixed a typo.

kuhar updated this revision to Diff 459940.Sep 13 2022, 6:00 PM

Removed an unused value & variable.

antiagainst accepted this revision.Sep 15 2022, 10:41 AM
kuhar updated this revision to Diff 460792.Sep 16 2022, 9:08 AM

Rebased. Fixed documentation comments.

This revision was landed with ongoing or failed builds.Sep 16 2022, 9:10 AM
This revision was automatically updated to reflect the committed changes.