[PATCH] D145293: [GlobalOpt] Don't replace the aliasee if it has other references.

DianQK via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 4 03:44:22 PST 2023


DianQK marked an inline comment as done.
DianQK added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/GlobalOpt.cpp:2236
   // and other attributes of the aliasee with those of the alias.
   if (hasMoreThanOneUseOtherThanLLVMUsed(*Target, U))
     return Ret;
----------------
nikic wrote:
> The "OtherThanLLVMUsed" part here no longer makes sense?
Yes, thanks.



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