[all-commits] [llvm/llvm-project] eaa32d: [mlir] fix affine-loop-fusion crash (#76351)

long.chen via All-commits all-commits at lists.llvm.org
Thu Dec 28 18:52:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eaa32d20a2612370371047140734e91f8f22dea1
      https://github.com/llvm/llvm-project/commit/eaa32d20a2612370371047140734e91f8f22dea1
  Author: long.chen <lipracer at gmail.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

  Changed paths:
    M mlir/lib/Dialect/Affine/Transforms/LoopFusion.cpp
    M mlir/test/Dialect/Affine/loop-fusion.mlir

  Log Message:
  -----------
  [mlir] fix affine-loop-fusion crash (#76351)

If `user` not lies in `Region` `findAncestorOpInRegion` will return
`nullptr`.

Fixes https://github.com/llvm/llvm-project/issues/76281.




More information about the All-commits mailing list