[llvm] [DirectX] Legalize lifetime intrinsics for DXIL (PR #148003)
Deric C. via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 11 09:24:24 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:
Not that I'm aware of.
I see Value.cpp use the same pattern here of creating MallocAllocator on the fly to make a ValueName
https://github.com/llvm/llvm-project/blob/535d6917ec3308ade866f205644b740666312342/llvm/lib/IR/Value.cpp#L367-L368
https://github.com/llvm/llvm-project/pull/148003
More information about the llvm-commits
mailing list