madhur13490 wrote:

> [critical] With this change, there will be an hard error with metadata with 
> the old format. We will need the AutoUpgrade otherwise older .bc files will 
> be rejected, violating the IR backwards compatibility guarantee
> 
> > The current LLVM version supports loading any bitcode since version 3.0.
> 
> > Non-debug metadata is defined to be safe to drop, so a valid way to upgrade 
> > it is to drop it. That is not very user friendly and a bit more effort is 
> > expected, but no promises are made.
> 
> https://llvm.org/docs/DeveloperPolicy.html#ir-backwards-compatibility

Done changes in AutoUpgrade.

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

Reply via email to