================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits