[all-commits] [llvm/llvm-project] 719144: [mlir] Simplify DimOp::fold by using `getConstantI...
Longsheng Mou via All-commits
all-commits at lists.llvm.org
Tue Jun 23 18:25:34 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 719144a271dbefb8719ed9ecd4c142ff514b4f22
https://github.com/llvm/llvm-project/commit/719144a271dbefb8719ed9ecd4c142ff514b4f22
Author: Longsheng Mou <longshengmou at gmail.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
Log Message:
-----------
[mlir] Simplify DimOp::fold by using `getConstantIndex`(NFC) (#205343)
Refactor `DimOp::fold` in both memref and tensor dialects to use the
existing `getConstantIndex()` helper instead of manually extracting the
index via `IntegerAttr`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list