aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2020-06-24 09:56:35 +0100
committerFlorian Hahn <flo@fhahn.com>2020-06-24 12:58:20 +0100
commit4e62c6359c7f9c0939c2a9072f8f1c41b2628412 (patch)
tree6ab65ce13beb0304451471d4f64ebe190e5d6367 /llvm/lib/CodeGen/MachineOperand.cpp
parent0f426935bb5ff26c0383b76d7986ca04183ff1ab (diff)
downloadllvm-4e62c6359c7f9c0939c2a9072f8f1c41b2628412.zip
llvm-4e62c6359c7f9c0939c2a9072f8f1c41b2628412.tar.gz
llvm-4e62c6359c7f9c0939c2a9072f8f1c41b2628412.tar.bz2
[DSE] Eliminate stores at the end of the function.
This patch add support for eliminating MemoryDefs that do not have any aliasing users, which indicates that there are no reads/writes to the memory location until the end of the function. To eliminate such defs, we have to ensure that the underlying object is not visible in the caller and does not escape via returning. We need a separate check for that, as InvisibleToCaller does not consider returns. Reviewers: dmgreen, rnk, efriedma, bryant, asbirlea, Tyker, george.burgess.iv Reviewed By: asbirlea Differential Revision: https://reviews.llvm.org/D72631
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions