diff --git a/compiler/amd-llvm b/compiler/amd-llvm index 43215c73116..0e73f100d31 160000 --- a/compiler/amd-llvm +++ b/compiler/amd-llvm @@ -1 +1 @@ -Subproject commit 43215c73116c407735c85a180d174f718798c328 +Subproject commit 0e73f100d31a9fd5b370e32ec99ca1987db00a19 diff --git a/compiler/hipify b/compiler/hipify index 0f3db9c1366..6acec7751d2 160000 --- a/compiler/hipify +++ b/compiler/hipify @@ -1 +1 @@ -Subproject commit 0f3db9c13669d702e12023ae2bfe0882daab63d5 +Subproject commit 6acec7751d2b2bfe162dba9efdcf7c16efb27bd8 diff --git a/compiler/spirv-llvm-translator b/compiler/spirv-llvm-translator index aa7c842d4ec..47d472b74d0 160000 --- a/compiler/spirv-llvm-translator +++ b/compiler/spirv-llvm-translator @@ -1 +1 @@ -Subproject commit aa7c842d4ec5b7015022ae6c6b91a4365bb6b91d +Subproject commit 47d472b74d0f43bbd13d175d263221b0b6454a20 diff --git a/patches/amd-mainline/llvm-project/0011-Comgr-Fix-memory-leak-when-assigning-anon-bit-rm-w12.patch b/patches/amd-mainline/llvm-project/0011-Comgr-Fix-memory-leak-when-assigning-anon-bit-rm-w12.patch deleted file mode 100644 index e1642d444c4..00000000000 --- a/patches/amd-mainline/llvm-project/0011-Comgr-Fix-memory-leak-when-assigning-anon-bit-rm-w12.patch +++ /dev/null @@ -1,37 +0,0 @@ -From cb5b241d5de5a86471da5599ec06a6d6d15ce443 Mon Sep 17 00:00:00 2001 -From: Jacob Lambert -Date: Fri, 13 Mar 2026 08:43:55 -0700 -Subject: [PATCH] [Comgr] Fix memory leak when assigning anonymous bitcode - names (#1742) - -Use setName() instead of manually managing memory with malloc/free. The -previous code leaked the original empty name buffer when overwriting -Input->Name directly. - -Co-authored-by: Claude ---- - amd/comgr/src/comgr-compiler.cpp | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -diff --git a/amd/comgr/src/comgr-compiler.cpp b/amd/comgr/src/comgr-compiler.cpp -index 51b03ab36b0c..da1590b9aa29 100644 ---- a/amd/comgr/src/comgr-compiler.cpp -+++ b/amd/comgr/src/comgr-compiler.cpp -@@ -1644,11 +1644,9 @@ amd_comgr_status_t AMDGPUCompiler::linkBitcodeToBitcode() { - // string to assign. This string is used when the DataObject is written - // to the file system via SAVE_TEMPS, or if the object is a bundle which - // also needs a file system write for unpacking -- const size_t BufSize = sizeof(char) * 30; -- char *Buf = (char *)malloc(BufSize); -- snprintf(Buf, BufSize, "comgr-anon-bitcode-%d.bc", std::rand() % 10000); -- -- Input->Name = Buf; -+ std::string Name = -+ "comgr-anon-bitcode-" + std::to_string(std::rand() % 10000) + ".bc"; -+ Input->setName(Name); - } - - if (env::shouldSaveTemps()) { --- -2.51.0 -