[all-commits] [llvm/llvm-project] f07853: [MemoryLocation] Move DSE's logic to new MemLoc::g...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Fri Dec 3 01:12:24 PST 2021
Author: Florian Hahn <flo at fhahn.com>
Date: 2021-12-03 (Fri, 03 Dec 2021)
[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 7eec832def571.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D114872
More information about the All-commits