Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Could you add a test where this difference let to a bug that could be used for regression testing?
Comment Actions
I also see similar method used here and there across the codebase. Might be good to expose this as a utility method and reuse.
Comment Actions
Yeah, I agree. You can probably move this to mlir/TableGen/CodeGenHelpers.h and unify it with the other version in RewriterGen.cpp.
Comment Actions
Thanks for the quick review!
Moved escapeString() into CodeGenHelpers.cpp, and added a test.
mlir/tools/mlir-tblgen/CodeGenHelpers.cpp | ||
---|---|---|
141–149 | Function definitions shouldn't be enclosed in namespaces. |