[all-commits] [llvm/llvm-project] 3f914d: [mlir][bufferize] Better error handling: Fail if T...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Thu Aug 18 02:38:18 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3f914d84c3849c60068f8182b02c7ad06ab21e72
https://github.com/llvm/llvm-project/commit/3f914d84c3849c60068f8182b02c7ad06ab21e72
Author: Matthias Springer <springerm at google.com>
Date: 2022-08-18 (Thu, 18 Aug 2022)
Changed paths:
M mlir/lib/Dialect/Bufferization/Transforms/OneShotAnalysis.cpp
M mlir/test/Dialect/Bufferization/Transforms/one-shot-module-bufferize-analysis.mlir
M mlir/test/Dialect/Bufferization/Transforms/one-shot-module-bufferize-invalid.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/concatenate.mlir
Log Message:
-----------
[mlir][bufferize] Better error handling: Fail if ToMemrefOps are found
bufferization.to_memref ops are not supported in One-Shot Analysis. They often trigger a failed assertion that can be confusing. Instead, scan for to_memref ops before running the analysis and immediately abort with a proper error message.
Differential Revision: https://reviews.llvm.org/D132027
More information about the All-commits
mailing list