[all-commits] [llvm/llvm-project] 5a71f7: [mlir] Fix bufferization.alloc_tensor canonicaliza...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Tue Oct 31 20:58:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a71f7a4b725db3b9bf1457e2ca6be2db6aa3996
      https://github.com/llvm/llvm-project/commit/5a71f7a4b725db3b9bf1457e2ca6be2db6aa3996
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2023-10-31 (Tue, 31 Oct 2023)

  Changed paths:
    M mlir/lib/Dialect/Bufferization/IR/BufferizationOps.cpp
    M mlir/test/Dialect/Bufferization/canonicalize.mlir

  Log Message:
  -----------
  [mlir] Fix bufferization.alloc_tensor canonicalization crash (#70891)

This make sure that an invalid negative dimension is ignored and stays
dynamic instead of crashing the compiler.

Fixes #70887




More information about the All-commits mailing list