Conversation
|
I'll try to find more of these type of issue running grep in the codebase with |
|
Also, it seems that rocMLIR/mlir/lib/Dialect/Rock/IR/TransformMapBuilder.cpp Lines 292 to 307 in 687737e |
51c3e34 to
3505062
Compare
I think you'd want to grep for uses of |
|
it can be a separate PR, but it'd be nice to change TransformMapBuilder and subclasses to not take "StringRef" to avoid these kind of issues. |
|
I have grep the following and made the changes: |
@Mr-Anyone Can you make sure that we have a ticket open in our backlog to properly addresses changing the API for these transform map function? |
9193279 to
84878b7
Compare
Motivation
Prevent memory leak and hard to debug situations.
Technical Details
Fix memory leak making a container like
llvm::SmallVectortake ownership.Resolve https://github.com/ROCm/rocMLIR-internal/issues/1987
Test Plan
Builds locally and wait for CI.
Test Result
Build locally.
Submission Checklist