diff options
author | John McCall <rjmccall@apple.com> | 2011-05-28 06:31:34 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-05-28 06:31:34 +0000 |
commit | 375dcc9ec9d6000b3c6436b2fbe66b876251f1cf (patch) | |
tree | 3b071e201bb581e1a11efb336c2ff073b8bb47fb /llvm/utils/TableGen/CodeGenIntrinsics.h | |
parent | 5638b9f01e145c9dfbf96698bc6d05a38358595d (diff) | |
download | bcm5719-llvm-375dcc9ec9d6000b3c6436b2fbe66b876251f1cf.tar.gz bcm5719-llvm-375dcc9ec9d6000b3c6436b2fbe66b876251f1cf.zip |
Change how tblgen generates attributes for intrinsics to use a single
switch. With this newfound organization, teach tblgen how not to give
all intrinsics the 'nounwind' attribute. Introduce a new intrinsic,
llvm.eh.resume, which does not have this attribute. Documentation and uses
to follow.
llvm-svn: 132252
Diffstat (limited to 'llvm/utils/TableGen/CodeGenIntrinsics.h')
-rw-r--r-- | llvm/utils/TableGen/CodeGenIntrinsics.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/CodeGenIntrinsics.h b/llvm/utils/TableGen/CodeGenIntrinsics.h index 3208c0d628d..3f6ba61172c 100644 --- a/llvm/utils/TableGen/CodeGenIntrinsics.h +++ b/llvm/utils/TableGen/CodeGenIntrinsics.h @@ -69,6 +69,9 @@ namespace llvm { /// isCommutative - True if the intrinsic is commutative. bool isCommutative; + + /// canThrow - True if the intrinsic can throw. + bool canThrow; enum ArgAttribute { NoCapture |