[all-commits] [llvm/llvm-project] b2499b: [mlir][bufferize][NFC] Refactor createAlloc functi...

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Jan 24 03:26:14 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b2499bf3e851c67ef623766b922de520de9235d5
      https://github.com/llvm/llvm-project/commit/b2499bf3e851c67ef623766b922de520de9235d5
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-01-24 (Mon, 24 Jan 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
    M mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
    M mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp

  Log Message:
  -----------
  [mlir][bufferize][NFC] Refactor createAlloc function signature

Pass a ValueRange instead of an ArrayRef<Value> for better compatibility. Also provide an additional function overload that automatically deallocates the buffer if specified.

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




More information about the All-commits mailing list