OSDN Git Service

Extend the 'noalias' attribute to function return values. This is intended to
authorNick Lewycky <nicholas@mxc.ca>
Mon, 24 Nov 2008 03:41:24 +0000 (03:41 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 24 Nov 2008 03:41:24 +0000 (03:41 +0000)
commit02ff308aa1c165d37fcf35f618243180ee68eedd
tree063f9163cfe13c002a1c88b27aad8e4e0f493c4f
parent9f22a4aaaf2bdde843e0b32f85a1951f12f257d5
Extend the 'noalias' attribute to function return values. This is intended to
indicate functions that allocate, such as operator new, or list::insert. The
actual definition is slightly less strict (for now).

No changes to the bitcode reader/writer, asm printer or verifier were needed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59934 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LangRef.html
lib/Analysis/BasicAliasAnalysis.cpp
lib/AsmParser/llvmAsmParser.cpp.cvs
lib/AsmParser/llvmAsmParser.y
test/Analysis/BasicAA/2008-11-23-NoaliasRet.ll [new file with mode: 0644]
test/Feature/noalias-ret.ll [new file with mode: 0644]