From cc349c8dd83fb0fdc827c786415bbec629cb05c6 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 3 Oct 2011 14:45:37 +0000 Subject: Add the returns_twice attribute to LLVM. llvm-svn: 141001 --- llvm/docs/LangRef.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'llvm/docs') diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index 0ec08eb0a05..7882da67e1a 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/docs/LangRef.html @@ -1262,6 +1262,11 @@ define void @f() optsize { ... } the ELF x86-64 abi, but it can be disabled for some compilation units. +
returns_twice
+
This attribute indicates that this function can return + twice. The C setjmp is an example of such a function. + The compiler disables some optimizations (like tail calls) in the caller of + these functions.
-- cgit v1.2.3