[llvm-commits] [llvm] r72894 - in /llvm/trunk: include/llvm/Attributes.h include/llvm/Target/TargetOptions.h lib/AsmParser/LLLexer.cpp lib/AsmParser/LLParser.cpp lib/AsmParser/LLToken.h lib/Target/PowerPC/PPCRegisterInfo.cpp lib/Target/TargetMachine.cpp lib/Target/X86/X86RegisterInfo.cpp lib/VMCore/Attributes.cpp test/CodeGen/X86/red-zone2.ll tools/llc/llc.cpp

Duncan Sands baldrick at free.fr
Fri Jun 5 01:42:19 PDT 2009


Hi Devang,

> Add new function attribute - noredzone. 

maybe there should be function notes as well as function
attributes: the difference is that function attributes
can be applied to a call as well as a function, while
function notes would not apply to calls, only to functions.
"noredzone" is an example of something that makes no sense
on a callsite, so would be better as a function note.

Ciao,

Duncan.

PS: The patch looks fine to me.



More information about the llvm-commits mailing list