[Mlir-commits] [mlir] [mlir] remove folder on MemRef::ExtractStridedMetadataOp (PR #88043)
Mehdi Amini
llvmlistbot at llvm.org
Mon Apr 8 17:17:04 PDT 2024
================
@@ -1,20 +1,19 @@
// RUN: mlir-opt --expand-strided-metadata -split-input-file %s -o - | FileCheck %s
+
+// memref.extract_strided_metadata is not folded away because meta-data on the %base memref
+// can change in a future pass and folding away the Op here will cause incorrect lowering.
----------------
joker-eph wrote:
I don't understand why the metadata could magically change? If they are static in the IR they shouldn't be able to just "change" out of nowhere.
https://github.com/llvm/llvm-project/pull/88043
More information about the Mlir-commits
mailing list