[all-commits] [llvm/llvm-project] fa087b: [mlir][scf][bufferize][NFC] Lookup buffer using he...

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Apr 12 02:15:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa087b43529cfac223432cc5545923fb9c6544af
      https://github.com/llvm/llvm-project/commit/fa087b43529cfac223432cc5545923fb9c6544af
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-04-12 (Tue, 12 Apr 2022)

  Changed paths:
    M mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp

  Log Message:
  -----------
  [mlir][scf][bufferize][NFC] Lookup buffer using helper function

Lookup iter_arg buffers using `lookupBuffer` instead of always creating a new `ToMemrefOp`. Also cast all yielded buffers (if necessary), regardless of whether they are an equivalent buffer or a new allocation.

Note: This should have been part of D123369.

Differential Revision: https://reviews.llvm.org/D123383




More information about the All-commits mailing list