This pattern triggers when only the extension bits are truncated.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D149286
[mlir][arith] Add missing canon pattern `trunci(ext*i(x)) -> ext*i(x)` ClosedPublic Authored by kuhar on Apr 26 2023, 1:06 PM.
Details Summary This pattern triggers when only the extension bits are truncated.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 26 2023, 9:36 PM Closed by commit rGab85aec1affc: [mlir][arith] Add missing canon pattern `trunci(ext*i(x)) -> ext*i(x)` (authored by kuhar). · Explain WhyApr 27 2023, 8:22 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 517281 mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td
mlir/lib/Dialect/Arith/IR/ArithOps.cpp
mlir/test/Dialect/Arith/canonicalize.mlir
mlir/test/Transforms/canonicalize.mlir
|