[PATCH] D11710: [DSE] Enable removal of lifetime intrinsics in terminating blocks
Björn Steinbrink via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 14 02:00:00 PDT 2015
dotdash updated this revision to Diff 32140.
dotdash added a comment.
[DSE] Enable removal of lifetime intrinsics in terminating blocks
Usually DSE is not supposed to remove lifetime intrinsics, but it's
actually ok to remove them for dead objects in terminating blocks,
because they convey no extra information there. Until we hit a lifetime
start that cannot be removed, that is. Because from that point on the
lifetime intrinsics become interesting again, e.g. for stack coloring.
http://reviews.llvm.org/D11710
Files:
lib/Transforms/Scalar/DeadStoreElimination.cpp
test/Transforms/DeadStoreElimination/lifetime.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11710.32140.patch
Type: text/x-patch
Size: 4018 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150814/4e2dc990/attachment.bin>
More information about the llvm-commits
mailing list