[llvm] r319625 - Fix typo in emitted attribute name
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 2 16:03:02 PST 2017
Author: arsenm
Date: Sat Dec 2 16:03:01 2017
New Revision: 319625
URL: http://llvm.org/viewvc/llvm-project?rev=319625&view=rev
Log:
Fix typo in emitted attribute name
Fixes build when using this attribute combination
on an intrinsic.
Modified:
llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp
Modified: llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp?rev=319625&r1=319624&r2=319625&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp Sat Dec 2 16:03:01 2017
@@ -701,7 +701,7 @@ void IntrinsicEmitter::EmitAttributes(co
if (addComma)
OS << ",";
OS << "Attribute::WriteOnly,";
- OS << "Attribute::InaccessibleMemOrArgOnly";
+ OS << "Attribute::InaccessibleMemOrArgMemOnly";
break;
case CodeGenIntrinsic::ReadWriteArgMem:
if (addComma)
More information about the llvm-commits
mailing list