[PATCH] D145293: [GlobalOpt] Don't replace the aliasee if it has other references.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 7 21:41:11 PST 2023
pcc added a comment.
To be honest, I would rather we look at removing `OptimizeGlobalAliases` altogether. As I explained in D65118 <https://reviews.llvm.org/D65118>, these kinds of trivial alias "optimizations" on their own can be more harmful than helpful.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145293/new/
https://reviews.llvm.org/D145293
More information about the llvm-commits
mailing list