summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenIntrinsics.h
diff options
context:
space:
mode:
authorHideto Ueno <uenoku.tokotoko@gmail.com>2019-07-17 15:15:43 +0000
committerHideto Ueno <uenoku.tokotoko@gmail.com>2019-07-17 15:15:43 +0000
commit11d3710c1cd25adf23a4690076e12d6ece267731 (patch)
treeed74b460e55bfb9685fd813358aa526f8fbbd06c /llvm/utils/TableGen/CodeGenIntrinsics.h
parent629273ec09825b870ce53e6419296d73519b1e24 (diff)
downloadbcm5719-llvm-11d3710c1cd25adf23a4690076e12d6ece267731.tar.gz
bcm5719-llvm-11d3710c1cd25adf23a4690076e12d6ece267731.zip
[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 llvm-svn: 366335
Diffstat (limited to 'llvm/utils/TableGen/CodeGenIntrinsics.h')
-rw-r--r--llvm/utils/TableGen/CodeGenIntrinsics.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/CodeGenIntrinsics.h b/llvm/utils/TableGen/CodeGenIntrinsics.h
index 9dcd136463c..7b74bb07d6e 100644
--- a/llvm/utils/TableGen/CodeGenIntrinsics.h
+++ b/llvm/utils/TableGen/CodeGenIntrinsics.h
@@ -123,6 +123,9 @@ struct CodeGenIntrinsic {
/// True if the intrinsic is no-return.
bool isNoReturn;
+ /// True if the intrinsic is will-return.
+ bool isWillReturn;
+
/// True if the intrinsic is cold.
bool isCold;
OpenPOWER on IntegriCloud