[clang] [llvm] [ARM][AArch64] BTI, GCS, PAC Module flag update. (PR #86212)
Andrew Savonichev via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 20 03:25:26 PDT 2025
================
@@ -7070,6 +7070,8 @@ Error BitcodeReader::materializeModule() {
UpgradeARCRuntime(*TheModule);
+ CopyModuleAttrToFunctions(*TheModule);
----------------
asavonic wrote:
I wonder if we need to do this here, or in [BitcodeReader::globalCleanup](https://github.com/llvm/llvm-project/blob/674491928c9ae8ec25bde79044894570988202ea/llvm/lib/Bitcode/Reader/BitcodeReader.cpp#L3973), where we upgrade function attributes.
https://github.com/llvm/llvm-project/pull/86212
More information about the llvm-commits
mailing list