[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
Author: Matthias Springer <springerm at google.com>
Date: 2022-08-18 (Thu, 18 Aug 2022)
[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