[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
Fri Apr 21 21:06:01 PDT 2023


DianQK updated this revision to Diff 516023.
DianQK added a comment.

Rebase and ping. At least this prevents an unsound case.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145293/new/

https://reviews.llvm.org/D145293

Files:
  llvm/lib/Transforms/IPO/GlobalOpt.cpp
  llvm/test/Transforms/GlobalOpt/X86/alias-used-with-asm.ll
  llvm/test/Transforms/GlobalOpt/alias-used-address-space.ll
  llvm/test/Transforms/GlobalOpt/alias-used.ll
  polly/test/Support/dumpfunction.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145293.516023.patch
Type: text/x-patch
Size: 6412 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230422/b0c46947/attachment.bin>


More information about the llvm-commits mailing list