summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenIntrinsics.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2015-05-26 23:48:40 +0000
committerOwen Anderson <resistor@mac.com>2015-05-26 23:48:40 +0000
commit85fa7d5037fed8191ef67c2b4d954218b942a7d1 (patch)
tree7e3c7d6e771cbbe3926c0411cd3d1ee678a493b6 /llvm/utils/TableGen/CodeGenIntrinsics.h
parent3abb86da627a01b1e2091c08a9117dc273f9473f (diff)
downloadbcm5719-llvm-85fa7d5037fed8191ef67c2b4d954218b942a7d1.tar.gz
bcm5719-llvm-85fa7d5037fed8191ef67c2b4d954218b942a7d1.zip
Add initial support for the convergent attribute.
llvm-svn: 238264
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 1f1adf11fb3..f4055571b1c 100644
--- a/llvm/utils/TableGen/CodeGenIntrinsics.h
+++ b/llvm/utils/TableGen/CodeGenIntrinsics.h
@@ -80,6 +80,9 @@ namespace llvm {
/// isNoReturn - True if the intrinsic is no-return.
bool isNoReturn;
+ /// isConvergent - True if the intrinsic is marked as convergent.
+ bool isConvergent;
+
enum ArgAttribute {
NoCapture,
ReadOnly,
OpenPOWER on IntegriCloud