From febca3499e5624361142dda2cb3c2ea806bfcdb6 Mon Sep 17 00:00:00 2001 From: Zhou Sheng Date: Tue, 5 Jun 2007 05:28:26 +0000 Subject: Commit first round work of PR1373. "noalias" is now fully supported in VMCore, BitCode, and Assembly. Documentation and test case paramattrs.ll updated also. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37432 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Function.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/VMCore/Function.cpp') diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index 8b91c18fff..54ed25c7b7 100644 --- a/lib/VMCore/Function.cpp +++ b/lib/VMCore/Function.cpp @@ -99,6 +99,8 @@ ParamAttrsList::getParamAttrsText(uint16_t Attrs) { Result += "nounwind "; if (Attrs & ParamAttr::InReg) Result += "inreg "; + if (Attrs & ParamAttr::NoAlias) + Result += "noalias "; if (Attrs & ParamAttr::StructRet) Result += "sret "; return Result; -- cgit v1.2.3