[all-commits] [llvm/llvm-project] 26b81c: [mlir][memref] Add terminator check to prevent a c...

Longsheng Mou via All-commits all-commits at lists.llvm.org
Fri May 30 22:26:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26b81c4300a8efc8e9377dd04b5c78896e96740d
      https://github.com/llvm/llvm-project/commit/26b81c4300a8efc8e9377dd04b5c78896e96740d
  Author: Longsheng Mou <longshengmou at gmail.com>
  Date:   2025-05-31 (Sat, 31 May 2025)

  Changed paths:
    M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/test/Dialect/MemRef/canonicalize.mlir

  Log Message:
  -----------
  [mlir][memref] Add terminator check to prevent a crash (#141972)

This PR adds terminator check to prevent a crash when invoke
`lastNonTerminatorInRegion`. Fixes #137333.



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