[PATCH] D62801: Add "will-return" function attribute

Hideto Ueno via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 3 01:00:29 PDT 2019


uenoku created this revision.
uenoku added a reviewer: jdoerfert.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch proposes a new function attribute, will-return, to indicate that a call of this function will either exhibit undefined behavior or comes back to the invoking call site.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D62801

Files:
  llvm/docs/LangRef.rst
  llvm/test/Transforms/FunctionAttrs/will-return.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62801.202658.patch
Type: text/x-patch
Size: 6762 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190603/692a58dc/attachment.bin>


More information about the llvm-commits mailing list