[llvm] [DSE] Consider the aliasing through global variable while checking clobber (PR #120044)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 16 15:13:23 PST 2024


https://github.com/aeubanks commented:

I think it's unfortunate to require `onlyAccessesInaccessibleMemOrArgMem()` for all of the cases, it'll probably prevent a lot of valid DSE. can we be more precise on when we need `onlyAccessesInaccessibleMemOrArgMem()`? if the pointer hasn't escaped yet then we don't need this restriction

https://github.com/llvm/llvm-project/pull/120044


More information about the llvm-commits mailing list