[PATCH] D150816: [llvm-mca][RISCV] Fix llvm-mca RISCVInstrument memory leak

Michael Maitland via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 19 10:06:00 PDT 2023


michaelmaitland updated this revision to Diff 523832.
michaelmaitland added a comment.

Fix destructor.


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
  llvm/unittests/tools/llvm-mca/MCATestBase.cpp
  llvm/unittests/tools/llvm-mca/X86/TestIncrementalMCA.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150816.523832.patch
Type: text/x-patch
Size: 13799 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230519/7e97fce5/attachment.bin>


More information about the llvm-commits mailing list