snehasish wrote:

> Some drive-by notes. What is the purpose / intended use case of this 
> functionality?

Cristian has been studying the impact of optimizations on debug information and 
thus the impact on AutoFDO profile quality.    @mtrofin and I encouraged him to 
put this patch up for review so that we can reproduce his findings on internal 
workloads and share the insights with the rest of the community. 

I think this functionality will also help identify passes which drop debug 
information and help with [the work proposed in this 
RFC](https://discourse.llvm.org/t/rfc-require-real-or-annotated-source-locations-on-all-instructions/86816).
 cc: @jmorse @SLTozer 

https://github.com/llvm/llvm-project/pull/145059
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to