[llvm-branch-commits] [llvm] release/18.x: [GlobalOpt] Don't replace aliasee with alias that has weak linkage (#91483) (PR #92468)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu May 16 16:41:28 PDT 2024
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
More information about the llvm-branch-commits
mailing list