[all-commits] [llvm/llvm-project] fd3162: [mlir][linalg][bufferize][NFC] Conflict detection ...

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Oct 12 17:22:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fd3162042022767a9cc8a03e6ccd5fa257fda5d7
      https://github.com/llvm/llvm-project/commit/fd3162042022767a9cc8a03e6ccd5fa257fda5d7
  Author: Matthias Springer <springerm at google.com>
  Date:   2021-10-13 (Wed, 13 Oct 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Transforms/ComprehensiveBufferize.h
    M mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp

  Log Message:
  -----------
  [mlir][linalg][bufferize][NFC] Conflict detection funcs take OpOperand and OpResult

By doing so, it is not necessary to get the OpOperand a second time via
getAliasingOpOperand. Also, code slightly more readable because we do
not have to deal with Optional<> return value.

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




More information about the All-commits mailing list