summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/Coroutines
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2019-10-13 03:08:18 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2019-10-31 00:16:36 -0500
commitcd4aab4a8ac43dd661f132fd940bc80828788fda (patch)
tree47160a7facd4707a772977971eb4838e39e523b3 /llvm/test/Transforms/Coroutines
parent5e442a51bce73f3e69eef022674acfb28224619d (diff)
downloadbcm5719-llvm-cd4aab4a8ac43dd661f132fd940bc80828788fda.tar.gz
bcm5719-llvm-cd4aab4a8ac43dd661f132fd940bc80828788fda.zip
[Attributor] Liveness for values
Summary: This patch introduces liveness (AAIsDead) for all positions, thus for all kinds of values. For now, we say an instruction is dead if it would be removed assuming all users are dead. A call site return is different as we just look at the users. If all call site returns have been eliminated, the return values can return undef instead of their original value, eliminating uses. We try to recursively delete dead instructions now and we introduce a simple check interface for use-traversal. This is the idea tried out in D68626 but implemented in the right way. Reviewers: uenoku, sstefan1 Subscribers: hiraditya, bollu, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68925
Diffstat (limited to 'llvm/test/Transforms/Coroutines')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud