aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorzoecarver <z.zoelec2@gmail.com>2020-05-06 10:52:03 -0700
committerzoecarver <z.zoelec2@gmail.com>2020-05-06 10:58:08 -0700
commit95aa28cc8fcbcb43a047779814a5be0abe54863b (patch)
treecdd69a8a9c01071b766bece29ee0fae7694fd1d7 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parenta7e11496996269fc589322da7bedbe4b1adcb13f (diff)
downloadllvm-95aa28cc8fcbcb43a047779814a5be0abe54863b.zip
llvm-95aa28cc8fcbcb43a047779814a5be0abe54863b.tar.gz
llvm-95aa28cc8fcbcb43a047779814a5be0abe54863b.tar.bz2
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
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions