================
@@ -7208,6 +7208,8 @@ Error BitcodeReader::materialize(GlobalValue *GV) {
   }
 
   for (auto &I : make_early_inc_range(instructions(F))) {
+    UpgradeInstructionMetadata(I);
----------------
arsenm wrote:

We generally don't bother trying to upgrade metadata, it's safe to drop by 
design. 

https://github.com/llvm/llvm-project/pull/217585
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to