[llvm] [mlir][Transform] Create a transform interpreter and a preloader pass (PR #68661)
Oleksandr Alex Zinenko via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 11 09:28:24 PDT 2023
================
@@ -60,9 +60,13 @@ ArrayRef<Operation *>
transform::TransformState::getPayloadOpsView(Value value) const {
const TransformOpMapping &operationMapping = getMapping(value).direct;
auto iter = operationMapping.find(value);
- assert(
- iter != operationMapping.end() &&
- "cannot find mapping for payload handle (param/value handle provided?)");
+
+ if (iter == operationMapping.end()) {
+ value.dump();
----------------
ftynse wrote:
Rewrite to `assert(iter != operationMapping.end() && "...")`
https://github.com/llvm/llvm-project/pull/68661
More information about the llvm-commits
mailing list