DianQK wrote: > As noted on the original pull request, this also affects some cases which > might be safe to optimize (a weak alias where the aliasee is an internal > symbol with no other references). But "optimizing" those cases doesn't really > have any useful effect, anyway: it doesn't unblock any additional > optimizations, and the resulting ELF is basically identical.
Yes, and it looks like only this case can be optimized. I am not considering submitting this part of the change for now. But, I will add some comments and remove this `Ret` variable. https://github.com/llvm/llvm-project/pull/92468 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits