[PATCH] D74647: [mlir][ODS] Add a new trait `TypesMatchWith`
Jacques Pienaar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 19 07:46:17 PST 2020
jpienaar accepted this revision.
jpienaar added a comment.
Nice, thanks!
================
Comment at: mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp:1155
verifyCtx.addSubst(value.name,
- formatv("this->getOperation()->getResult({0})", i));
+ formatv("(*this->getODSResults({0}).begin())", i));
}
----------------
Would front() work here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74647/new/
https://reviews.llvm.org/D74647
More information about the llvm-commits
mailing list