================
@@ -1178,9 +1178,12 @@ static GlobalValueSummary::GVFlags 
getDecodedGVSummaryFlags(uint64_t RawFlags,
   bool Live = (RawFlags & 0x2) || Version < 3;
   bool Local = (RawFlags & 0x4);
   bool AutoHide = (RawFlags & 0x8);
+  // RenameOnPromotion should be true. The value may be adjusted at thinLTO.
+  bool RenameOnPromotion = true;
----------------
yonghong-song wrote:

Thanks! I just add codes in BitcodeWriter.cpp and added a distributed ThinLTO 
test.

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

Reply via email to