[all-commits] [llvm/llvm-project] cd8061: [mlir][bufferize][NFC] Make func BufferizableOpInt...

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Jun 15 01:05:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd80617a8afca896b78dc0d05cceb3e785503c38
      https://github.com/llvm/llvm-project/commit/cd80617a8afca896b78dc0d05cceb3e785503c38
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-06-15 (Wed, 15 Jun 2022)

  Changed paths:
    M mlir/lib/Dialect/Bufferization/Transforms/FuncBufferizableOpInterfaceImpl.cpp

  Log Message:
  -----------
  [mlir][bufferize][NFC] Make func BufferizableOpInterface impl compatible with One-Shot Bufferize

Bufferization of the func dialect must go through `OneShotModuleBufferize`. With this change, the analysis interface methods of the BufferizableOpInterface of func dialect ops can be used together with the normal `OneShotBufferize`. (In the absence of analysis information, they will return conservative results.)

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




More information about the All-commits mailing list