[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
Wed Mar 8 06:16:18 PST 2023


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

Add comments


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145293.503345.patch
Type: text/x-patch
Size: 5989 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230308/1bb70400/attachment.bin>


More information about the llvm-commits mailing list