[Mlir-commits] [mlir] [mlir][tensor] Fix crash when canonicalizing extract_slice with a poi… (PR #223609)
Matthias Springer
llvmlistbot at llvm.org
Mon Sep 14 23:25:39 PDT 2026
================
@@ -449,10 +449,13 @@ LogicalResult foldDynamicIndexList(SmallVectorImpl<OpFoldResult> &ofrs,
continue;
Attribute attr;
if (matchPattern(cast<Value>(ofr), m_Constant(&attr))) {
----------------
matthias-springer wrote:
`matchPattern` is no longer needed. The implementation of `getConstantIntValue` already matches.
https://github.com/llvm/llvm-project/pull/223609
More information about the Mlir-commits
mailing list