llvm-project/llvm/include
Florian Hahn f078536f46
[MemoryLocation] Move DSE's logic to new MemLoc::getForDest helper (NFC).
DSE has some extra logic to determine the write location of library
calls like str*cpy and str*cat. This patch moves the logic to a new
MemoryLocation:getForDest variant, which takes a call and TLI.

This patch should be NFC, because no other places take advantage of the
new helper yet.

Suggested by @reames post-commit 7eec832def.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D114872
2021-12-03 09:12:01 +00:00
..
llvm [MemoryLocation] Move DSE's logic to new MemLoc::getForDest helper (NFC). 2021-12-03 09:12:01 +00:00
llvm-c [llvm-c] Make LLVMAddAlias opaque pointer compatible 2021-12-02 09:21:16 +01:00