[PATCH] D150816: [llvm-mca][RISCV] Fix llvm-mca RISCVInstrument memory leak
Michael Maitland via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 17 14:14:41 PDT 2023
michaelmaitland updated this revision to Diff 523173.
michaelmaitland marked 3 inline comments as done.
michaelmaitland added a comment.
- Fix dangling InstrumentRegion
- Use push_back
- Use raw pointeres to consumers of Instrument
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150816/new/
https://reviews.llvm.org/D150816
Files:
llvm/include/llvm/MCA/CustomBehaviour.h
llvm/include/llvm/MCA/InstrBuilder.h
llvm/lib/MCA/CustomBehaviour.cpp
llvm/lib/MCA/InstrBuilder.cpp
llvm/lib/Target/RISCV/MCA/RISCVCustomBehaviour.cpp
llvm/lib/Target/RISCV/MCA/RISCVCustomBehaviour.h
llvm/tools/llvm-mca/CodeRegion.cpp
llvm/tools/llvm-mca/CodeRegion.h
llvm/tools/llvm-mca/CodeRegionGenerator.cpp
llvm/tools/llvm-mca/llvm-mca.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150816.523173.patch
Type: text/x-patch
Size: 11560 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230517/f8d31e43/attachment.bin>
More information about the llvm-commits
mailing list