[all-commits] [llvm/llvm-project] dc700f: [mlir][bufferization] Restrict function boundary b...
Ingo Müller via All-commits
all-commits at lists.llvm.org
Fri Feb 10 03:59:18 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dc700f1e4dafaaec41ddb94eb0aeab8f6a80875f
https://github.com/llvm/llvm-project/commit/dc700f1e4dafaaec41ddb94eb0aeab8f6a80875f
Author: Ingo Müller <ingomueller at google.com>
Date: 2023-02-10 (Fri, 10 Feb 2023)
Changed paths:
M mlir/lib/Dialect/Bufferization/Transforms/OneShotModuleBufferize.cpp
M mlir/test/Dialect/Bufferization/Transforms/one-shot-module-bufferize-invalid.mlir
M mlir/test/Dialect/Bufferization/Transforms/one-shot-module-bufferize.mlir
Log Message:
-----------
[mlir][bufferization] Restrict function boundary buffer. to func.call.
The current bufferization on function boundaries works on `func.func`
and any call op implementing `CallOpInterface`. Then, an error is thrown
if there is a `CallOpInterface` op that is not `func.call`. This is
unnecessary and breaks the pass whenever such an op occurs (such as
`llvm.call`). This PR simply restricts the handling of call ops to
`func.call`.
Reviewed By: springerm
Differential Revision: https://reviews.llvm.org/D143724
More information about the All-commits
mailing list