[clang] [CUDA] Emit used function list in deterministic order. (PR #102661)

2024-08-12 Thread Artem Belevich via cfe-commits
https://github.com/Artem-B closed https://github.com/llvm/llvm-project/pull/102661 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CUDA] Emit used function list in deterministic order. (PR #102661)

2024-08-12 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu approved this pull request. LGTM. Thanks https://github.com/llvm/llvm-project/pull/102661 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CUDA] Emit used function list in deterministic order. (PR #102661)

2024-08-09 Thread Artem Belevich via cfe-commits
https://github.com/Artem-B updated https://github.com/llvm/llvm-project/pull/102661 >From 0f3944e1c12baa958f52c3c015a0cf5f9aeff1ed Mon Sep 17 00:00:00 2001 From: Artem Belevich Date: Fri, 9 Aug 2024 11:51:23 -0700 Subject: [PATCH 1/2] [CUDA] Emit used function list in deterministic order. Fixe

[clang] [CUDA] Emit used function list in deterministic order. (PR #102661)

2024-08-09 Thread Artem Belevich via cfe-commits
https://github.com/Artem-B edited https://github.com/llvm/llvm-project/pull/102661 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CUDA] Emit used function list in deterministic order. (PR #102661)

2024-08-09 Thread Artem Belevich via cfe-commits
@@ -950,6 +950,9 @@ void CodeGenModule::Release() { UsedArray.push_back(llvm::ConstantExpr::getPointerBitCastOrAddrSpaceCast( GetAddrOfGlobal(GD), Int8PtrTy)); } +// Sort decls by name to always emit them in deterministic order. Artem-B

[clang] [CUDA] Emit used function list in deterministic order. (PR #102661)

2024-08-09 Thread Reid Kleckner via cfe-commits
@@ -950,6 +950,9 @@ void CodeGenModule::Release() { UsedArray.push_back(llvm::ConstantExpr::getPointerBitCastOrAddrSpaceCast( GetAddrOfGlobal(GD), Int8PtrTy)); } +// Sort decls by name to always emit them in deterministic order. rnk wrot

[clang] [CUDA] Emit used function list in deterministic order. (PR #102661)

2024-08-09 Thread Artem Belevich via cfe-commits
https://github.com/Artem-B updated https://github.com/llvm/llvm-project/pull/102661 >From 0f3944e1c12baa958f52c3c015a0cf5f9aeff1ed Mon Sep 17 00:00:00 2001 From: Artem Belevich Date: Fri, 9 Aug 2024 11:51:23 -0700 Subject: [PATCH] [CUDA] Emit used function list in deterministic order. Fixes ht

[clang] [CUDA] Emit used function list in deterministic order. (PR #102661)

2024-08-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Artem Belevich (Artem-B) Changes Fixes https://github.com/llvm/llvm-project/issues/101560 --- Full diff: https://github.com/llvm/llvm-project/pull/102661.diff 1 Files Affected: - (modified) clang/lib/CodeGen/CodeGenModule.cpp (+3) ``

[clang] [CUDA] Emit used function list in deterministic order. (PR #102661)

2024-08-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Artem Belevich (Artem-B) Changes Fixes https://github.com/llvm/llvm-project/issues/101560 --- Full diff: https://github.com/llvm/llvm-project/pull/102661.diff 1 Files Affected: - (modified) clang/lib/CodeGen/CodeGenModule.cpp (+

[clang] [CUDA] Emit used function list in deterministic order. (PR #102661)

2024-08-09 Thread Artem Belevich via cfe-commits
https://github.com/Artem-B created https://github.com/llvm/llvm-project/pull/102661 Fixes https://github.com/llvm/llvm-project/issues/101560 >From 6ee0add21bd2a9b25d28640c91de2fc6dab7fa72 Mon Sep 17 00:00:00 2001 From: Artem Belevich Date: Fri, 9 Aug 2024 11:51:23 -0700 Subject: [PATCH] [CUDA]