]> granicus.if.org Git - llvm/commit
[Attributor] Liveness analysis.
authorStefan Stipanovic <sstipanovic@s-energize.com>
Mon, 22 Jul 2019 20:54:30 +0000 (20:54 +0000)
committerStefan Stipanovic <sstipanovic@s-energize.com>
Mon, 22 Jul 2019 20:54:30 +0000 (20:54 +0000)
commit25e62788275bdd7c5bfdbb7fe78c6ac065c23afc
treec82a6b61ffaefdee4b024ab316a55cd11004e5e0
parent46cba73063fd8b5a11b155615b2bd801b90b916f
[Attributor] Liveness analysis.

Liveness analysis abstract attribute used to indicate which BasicBlocks are dead and can therefore be ignored.
Right now we are only looking at noreturn calls.

Reviewers: jdoerfert, uenoku

Subscribers: hiraditya, llvm-commits

Differential revision: https://reviews.llvm.org/D64162

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366736 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/IPO/Attributor.h
include/llvm/Transforms/Utils/Local.h
lib/Transforms/IPO/Attributor.cpp
lib/Transforms/Utils/Local.cpp
test/Transforms/FunctionAttrs/liveness.ll [new file with mode: 0644]