Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/tools/mlir-tblgen/RewriterGen.cpp | ||
---|---|---|
345 | After checked the history, the logic mentioned by the comment has been moved above in the llvm::dyn_cast_or_null(in this commit ac68637ba94d05f413b1b963950c300fb2f81a99), so this one can be removed. |
Comment Actions
Fix a bug that calling emitMatchCheck to do null check for the op who is
supposed to report that match failure, e.g.,
// This is invalid.
emitMatchCheck(op, /*matchStr=*/op, ...);
Can you use /*matchStr=*/ ?