[Mlir-commits] [mlir] [mlir][Transform] Create a transform interpreter and a preloader pass (PR #68661)
Nicolas Vasilache
llvmlistbot at llvm.org
Wed Oct 11 11:29:17 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();
----------------
nicolasvasilache wrote:
I wanted to print the actual value before the assert, I think there si a convoluted Twine way but meh.
https://github.com/llvm/llvm-project/pull/68661
More information about the Mlir-commits
mailing list