aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2020-04-15 10:42:58 +0100
committerFlorian Hahn <flo@fhahn.com>2020-04-15 11:37:14 +0100
commitcf9ee49b4d7f2e1341b84f941ad55cce1b16722d (patch)
tree4316857f46c96f007c32c629c94a110af24b0163 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parentdd8153b757595f067b800db50a14ae0c599c54bc (diff)
downloadllvm-cf9ee49b4d7f2e1341b84f941ad55cce1b16722d.zip
llvm-cf9ee49b4d7f2e1341b84f941ad55cce1b16722d.tar.gz
llvm-cf9ee49b4d7f2e1341b84f941ad55cce1b16722d.tar.bz2
[DSE] Lift post-dominance for objs not accessible in caller.
We can eliminate MemoryDefs of objects not accessible after the function returns (e.g. alloca), if there are no reads between the MemoryDef and any function exits. We can stop traversing paths that completely overwrite the memory location of the MemoryDef. This patch was split off D73763. Reviewers: dmgreen, bryant, asbirlea, Tyker, efriedma, george.burgess.iv Reviewed By: asbirlea, george.burgess.iv Differential Revision: https://reviews.llvm.org/D77736
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions