[all-commits] [llvm/llvm-project] c5e5c9: [MLIR][MemRef] Validate linear size before lowerin...

sweiglbosker via All-commits all-commits at lists.llvm.org
Mon Mar 2 05:59:47 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5e5c9735a33909e2268f99e84654e46bd98b109
      https://github.com/llvm/llvm-project/commit/c5e5c9735a33909e2268f99e84654e46bd98b109
  Author: sweiglbosker <stefan at s00.xyz>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M mlir/lib/Conversion/LLVMCommon/Pattern.cpp
    M mlir/test/Conversion/MemRefToLLVM/memref-to-llvm.mlir
    M mlir/test/Dialect/MemRef/high-rank-overflow.mlir

  Log Message:
  -----------
  [MLIR][MemRef] Validate linear size before lowering allocs (#179155)

See discussion here: https://github.com/llvm/llvm-project/pull/178395,
https://github.com/llvm/llvm-project/pull/178994

Detect when the total number of elements overflows, and allocate poison
instead of the overflowed size.



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