This is an archive of the discontinued LLVM Phabricator instance.

[mlir][arith] Clean up arith canonicalization td rules
ClosedPublic

Authored by kuhar on Dec 13 2022, 8:24 AM.

Details

Summary
  • Use ConstantLikeMatcher instead of matching Arith_ConstantOp
  • Reflow some defs to fit the line limit

Suggested by @jpienaar and @Mogball in https://reviews.llvm.org/D139778.

Diff Detail

Event Timeline

kuhar created this revision.Dec 13 2022, 8:24 AM
kuhar requested review of this revision.Dec 13 2022, 8:24 AM
Mogball accepted this revision.Dec 13 2022, 9:37 AM
This revision is now accepted and ready to land.Dec 13 2022, 9:37 AM
This revision was automatically updated to reflect the committed changes.