[llvm-branch-commits] [mlir] [mlir][bufferization] Skip non-identity layouts in static memory planning (PR #237125)

Matthias Springer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Nov 1 23:31:35 PST 2026


================
@@ -270,6 +271,8 @@ def StaticMemoryPlannerAnalysisPass
                  "Number of allocations skipped: dynamic shape">,
        Statistic<"numSkipUnsupportedType", "num-skipped-unsupported-type",
                  "Number of allocations skipped: unsupported element type">,
+       Statistic<"numSkipUnsupportedLayout", "num-skipped-unsupported-layout",
----------------
matthias-springer wrote:

The list of skipped cases is getting quite long. Can you replace these with a single `numSkipped` statistic?

https://github.com/llvm/llvm-project/pull/237125


More information about the llvm-branch-commits mailing list