diff options
author | Hideto Ueno <uenoku.tokotoko@gmail.com> | 2019-07-28 06:09:56 +0000 |
---|---|---|
committer | Hideto Ueno <uenoku.tokotoko@gmail.com> | 2019-07-28 06:09:56 +0000 |
commit | cc0a4cdc890f738fc93916a8604301362bcc9d57 (patch) | |
tree | 095986d7e6d43494c0b08763a1e0b02c67b4536f /llvm/test/Transforms/Inline/inline_invoke.ll | |
parent | d4ace50ed0e5e761385a5d55845ee25ad12f41bb (diff) | |
download | bcm5719-llvm-cc0a4cdc890f738fc93916a8604301362bcc9d57.tar.gz bcm5719-llvm-cc0a4cdc890f738fc93916a8604301362bcc9d57.zip |
[FunctionAttrs] Annotate "willreturn" for intrinsics
Summary:
In D62801, new function attribute `willreturn` was introduced. In short, a function with `willreturn` is guaranteed to come back to the call site(more precise definition is in LangRef).
In this patch, willreturn is annotated for LLVM intrinsics.
Reviewers: jdoerfert
Reviewed By: jdoerfert
Subscribers: jvesely, nhaehnle, sstefan1, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64904
llvm-svn: 367184
Diffstat (limited to 'llvm/test/Transforms/Inline/inline_invoke.ll')
-rw-r--r-- | llvm/test/Transforms/Inline/inline_invoke.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/Inline/inline_invoke.ll b/llvm/test/Transforms/Inline/inline_invoke.ll index 2b34140aa5b..83809361397 100644 --- a/llvm/test/Transforms/Inline/inline_invoke.ll +++ b/llvm/test/Transforms/Inline/inline_invoke.ll @@ -345,5 +345,5 @@ terminate: ; CHECK: attributes [[NUW]] = { nounwind } ; CHECK: attributes #1 = { nounwind readnone } ; CHECK: attributes #2 = { ssp uwtable } -; CHECK: attributes #3 = { argmemonly nounwind } +; CHECK: attributes #3 = { argmemonly nounwind willreturn } ; CHECK: attributes #4 = { noreturn nounwind } |