This patch adds folders for index dialect ops. Ths folders are
careful to ensure that fold results are valid on both 32-bit and 64-bit
targets.
Depends on D135689
Paths
| Differential D135694
[mlir][index] Add folders for `index` ops ClosedPublic Authored by Mogball on Oct 11 2022, 9:47 AM.
Details Summary This patch adds folders for index dialect ops. Ths folders are Depends on D135689
Diff Detail
Event TimelineMogball added a child revision: D135697: [mlir][index] Add `convert-index-to-llvm` pass.Oct 11 2022, 10:11 AM bondhugula added inline comments.
This revision is now accepted and ready to land.Oct 20 2022, 6:11 PM Closed by commit rG83c3eebdec0d: [mlir][index] Add folders for `index` ops (authored by Mogball). · Explain WhyOct 21 2022, 9:46 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 469670 mlir/include/mlir/Dialect/Index/IR/IndexDialect.td
mlir/include/mlir/Dialect/Index/IR/IndexOps.td
mlir/include/mlir/Support/LLVM.h
mlir/lib/Dialect/Index/IR/IndexOps.cpp
mlir/test/Dialect/Index/index-canonicalize.mlir
|
You can simply use:
since type is guaranteed to be index here.