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.
Paths
| Differential D64904
[FunctionAttrs] Annotate "willreturn" for intrinsics ClosedPublic Authored by uenoku on Jul 17 2019, 11:26 PM.
Details 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.
Diff Detail Event Timelineuenoku retitled this revision from [FunctionAttrs] Annotate "willreturn for floating point and bit manipulation intrinsics. to [FunctionAttrs] Annotate "willreturn" for floating point and bit manipulation intrinsics..Jul 17 2019, 11:27 PM Comment Actions More opportunities for willreturn.
uenoku retitled this revision from [FunctionAttrs] Annotate "willreturn" for floating point and bit manipulation intrinsics. to [FunctionAttrs] Annotate "willreturn" for intrinsics.. Comment ActionsAddress comments.
This revision is now accepted and ready to land.Jul 26 2019, 5:04 AM uenoku retitled this revision from [FunctionAttrs] Annotate "willreturn" for intrinsics. to [FunctionAttrs] Annotate "willreturn" for intrinsics. Comment ActionsMinor fix. Closed by commit rL367184: [FunctionAttrs] Annotate "willreturn" for intrinsics (authored by uenoku). · Explain WhyJul 27 2019, 11:10 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 212045 clang/test/CodeGen/libcalls.c
llvm/include/llvm/IR/Intrinsics.td
llvm/test/Analysis/BasicAA/cs-cs.ll
llvm/test/Analysis/BasicAA/intrinsics.ll
llvm/test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll
llvm/test/Analysis/TypeBasedAliasAnalysis/intrinsics.ll
llvm/test/Bindings/llvm-c/debug_info.ll
llvm/test/Bitcode/compatibility-3.6.ll
llvm/test/Bitcode/compatibility-3.7.ll
llvm/test/Bitcode/compatibility-3.8.ll
llvm/test/Bitcode/compatibility-3.9.ll
llvm/test/Bitcode/compatibility-4.0.ll
llvm/test/Bitcode/compatibility-5.0.ll
llvm/test/Bitcode/compatibility-6.0.ll
llvm/test/Bitcode/compatibility.ll
llvm/test/CodeGen/AMDGPU/addrspacecast-constantexpr.ll
llvm/test/Feature/intrinsics.ll
llvm/test/Other/invariant.group.ll
llvm/test/Transforms/DeadArgElim/2010-04-30-DbgInfo.ll
llvm/test/Transforms/DeadStoreElimination/simple.ll
llvm/test/Transforms/Inline/inline_invoke.ll
llvm/test/Transforms/Inline/noalias-calls.ll
llvm/test/Transforms/MemCpyOpt/memcpy.ll
llvm/test/Transforms/ObjCARC/basic.ll
llvm/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll
llvm/test/Transforms/ObjCARC/nested.ll
llvm/test/Transforms/SLPVectorizer/X86/call.ll
llvm/test/Verifier/fp-intrinsics.ll
|
willreturn (among other properties)