This is an archive of the discontinued LLVM Phabricator instance.

[mlir][arith][NFC] Simplify narrowing patterns with a wrapper type
ClosedPublic

Authored by kuhar on Apr 28 2023, 2:27 PM.

Details

Summary

Add a new wraper type that represents either of ExtSIOp or ExtUIOp.
This is to simplify the code by using a single type, so that we do not
have to use templates or branching to handle both extension kinds.

Diff Detail

Event Timeline

kuhar created this revision.Apr 28 2023, 2:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 28 2023, 2:27 PM
kuhar requested review of this revision.Apr 28 2023, 2:27 PM
antiagainst accepted this revision.May 1 2023, 10:14 AM
This revision is now accepted and ready to land.May 1 2023, 10:14 AM
This revision was landed with ongoing or failed builds.May 1 2023, 10:35 AM
This revision was automatically updated to reflect the committed changes.