[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp
Chris Lattner
clattner at apple.com
Mon Jun 4 23:04:53 PDT 2007
> Commit first round work of PR1373: http://llvm.org/PR1373 .
> "noalias" is now fully supported in
> VMCore, BitCode, and Assembly. Documentation and test case
> paramattrs.ll
> updated also.
Cool. Please also make the verifier assert that this attribute is
only applied to pointers as well.
Thanks!
-Chris
>
> ---
> Diffs of the changes: (+2 -0)
>
> Function.cpp | 2 ++
> 1 files changed, 2 insertions(+)
>
>
> Index: llvm/lib/VMCore/Function.cpp
> diff -u llvm/lib/VMCore/Function.cpp:1.127 llvm/lib/VMCore/
> Function.cpp:1.128
> --- llvm/lib/VMCore/Function.cpp:1.127 Wed Apr 25 00:49:09 2007
> +++ llvm/lib/VMCore/Function.cpp Tue Jun 5 00:28:26 2007
> @@ -99,6 +99,8 @@
> Result += "nounwind ";
> if (Attrs & ParamAttr::InReg)
> Result += "inreg ";
> + if (Attrs & ParamAttr::NoAlias)
> + Result += "noalias ";
> if (Attrs & ParamAttr::StructRet)
> Result += "sret ";
> return Result;
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list