> 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@cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits