[all-commits] [llvm/llvm-project] a80d93: [mlir][bufferization] Bufferize all edges to a rep...

Colin De Vlieghere via All-commits all-commits at lists.llvm.org
Thu Aug 6 10:19:51 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a80d93f18afbd58b6700bafa7484c68e3aca34f6
      https://github.com/llvm/llvm-project/commit/a80d93f18afbd58b6700bafa7484c68e3aca34f6
  Author: Colin De Vlieghere <cdevlieghere at tesla.com>
  Date:   2026-08-06 (Thu, 06 Aug 2026)

  Changed paths:
    M mlir/include/mlir/Dialect/Bufferization/Transforms/Bufferize.h
    M mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
    M mlir/test/Dialect/ControlFlow/one-shot-bufferize.mlir

  Log Message:
  -----------
  [mlir][bufferization] Bufferize all edges to a repeated successor (#214368)

bufferizeBlockSignature only rewrote the first successor index that
matched the target block. Branch ops such as cf.cond_br can list the
same destination more than once, but the later edges were left as
tensors and broke multi-block bufferization.

Now we simply iterate the block's BlockOperands so each successor edge
is handled once.



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