[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
Tue Mar 21 06:14:24 PDT 2023


DianQK added a subscriber: Meinersbur.
DianQK added inline comments.


================
Comment at: polly/test/Support/dumpfunction.ll:23
 
- at callee_alias = dso_local unnamed_addr alias void(i32, ptr, i32), ptr @callee
-
----------------
@Meinersbur GlobalOpt may optimize alias, and this patch modifies the behavior. In `dumpfunction.ll`, this alias doesn't seem to make sense. Can I remove it? 


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