[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp
Zhou Sheng
zhousheng00 at gmail.com
Mon Jun 4 22:29:02 PDT 2007
Changes in directory llvm/lib/VMCore:
Function.cpp updated: 1.127 -> 1.128
---
Log message:
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.
---
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;
More information about the llvm-commits
mailing list