[all-commits] [llvm/llvm-project] f65f56: Re-commit: Mark values as trivially dead when thei...
Zoe Carver via All-commits
all-commits at lists.llvm.org
Fri May 8 12:24:34 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f65f566aeb799f35f48c5c9bbc54b05bafec4f08
https://github.com/llvm/llvm-project/commit/f65f566aeb799f35f48c5c9bbc54b05bafec4f08
Author: zoecarver <z.zoelec2 at gmail.com>
Date: 2020-05-08 (Fri, 08 May 2020)
Changed paths:
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/test/Analysis/BasicAA/modref.ll
M llvm/test/Transforms/Attributor/memory_locations.ll
M llvm/test/Transforms/DCE/basic.ll
M llvm/test/Transforms/DeadStoreElimination/lifetime.ll
M llvm/test/Transforms/InstCombine/vararg.ll
Log Message:
-----------
Re-commit: Mark values as trivially dead when their only use is a start or end lifetime intrinsic.
Summary:
If the only use of a value is a start or end lifetime intrinsic then mark the intrinsic as trivially dead. This should allow for that value to then be removed as well.
Currently, this only works for allocas, globals, and arguments.
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D79355
More information about the All-commits
mailing list