]> granicus.if.org Git - llvm/commit
[Attributor] Deduce "willreturn" function attribute
authorHideto Ueno <uenoku.tokotoko@gmail.com>
Wed, 17 Jul 2019 15:15:43 +0000 (15:15 +0000)
committerHideto Ueno <uenoku.tokotoko@gmail.com>
Wed, 17 Jul 2019 15:15:43 +0000 (15:15 +0000)
commit289758231714a7edd1b136b26be6e92daaeb7ba3
tree221da9487e6726881a9645b60c65dc925d0235eb
parent2685d10396fda49b308421a79082fdccb52cc1f8
[Attributor] Deduce "willreturn" function attribute

Summary:
Deduce the "willreturn" attribute for functions.

For now, intrinsics are not willreturn. More annotation will be done in another patch.

Reviewers: jdoerfert

Subscribers: jvesely, nhaehnle, nicholas, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D63046

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366335 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Intrinsics.td
include/llvm/Transforms/IPO/Attributor.h
lib/Transforms/IPO/Attributor.cpp
test/Transforms/FunctionAttrs/arg_returned.ll
test/Transforms/FunctionAttrs/willreturn.ll
utils/TableGen/CodeGenIntrinsics.h
utils/TableGen/CodeGenTarget.cpp
utils/TableGen/IntrinsicEmitter.cpp