HomePhabricator

[FunctionAttrs] Annotate "willreturn" for intrinsics

Authored by uenoku on Jul 27 2019, 11:09 PM.

Description

[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

Details

Committed
uenokuJul 27 2019, 11:09 PM
Reviewer
jdoerfert
Differential Revision
D64904: [FunctionAttrs] Annotate "willreturn" for intrinsics
Parents
rGd4ace50ed0e5: Fix PR35637: suboptimal codegen for `vector<unsigned char>`.
Branches
Unknown
Tags
Unknown