[llvm] [DirectX] Legalize lifetime intrinsics for DXIL (PR #148003)
Deric C. via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 11 11:58:08 PDT 2025
================
@@ -2559,8 +2559,22 @@ void DXILBitcodeWriter::writeFunctionLevelValueSymbolTable(
// to ensure the binary is the same no matter what values ever existed.
SmallVector<const ValueName *, 16> SortedTable;
+ MallocAllocator Allocator;
----------------
Icohedron wrote:
I moved the allocator and smallvector to its own struct and clean them up in the struct's destructor
https://github.com/llvm/llvm-project/pull/148003
More information about the llvm-commits
mailing list