summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Function.cpp
diff options
context:
space:
mode:
authorZhou Sheng <zhousheng00@gmail.com>2007-06-05 05:28:26 +0000
committerZhou Sheng <zhousheng00@gmail.com>2007-06-05 05:28:26 +0000
commit2444a9adeb18faef5c08486ea5174cdf8d039b03 (patch)
tree2e8e43a36ee9a220ac75a108aec7bb34a13af823 /llvm/lib/VMCore/Function.cpp
parent59754300a87ec076c1456632a5c660a9d8985c97 (diff)
downloadbcm5719-llvm-2444a9adeb18faef5c08486ea5174cdf8d039b03.tar.gz
bcm5719-llvm-2444a9adeb18faef5c08486ea5174cdf8d039b03.zip
Commit first round work of PR1373. "noalias" is now fully supported in
VMCore, BitCode, and Assembly. Documentation and test case paramattrs.ll updated also. llvm-svn: 37432
Diffstat (limited to 'llvm/lib/VMCore/Function.cpp')
-rw-r--r--llvm/lib/VMCore/Function.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/Function.cpp b/llvm/lib/VMCore/Function.cpp
index 8b91c18ffff..54ed25c7b7f 100644
--- a/llvm/lib/VMCore/Function.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud