[llvm] r243689 - Fix TableGen code generation for ReadNone attribute.
Eric Christopher
echristo at gmail.com
Thu Jul 30 14:16:35 PDT 2015
Author: echristo
Date: Thu Jul 30 16:16:34 2015
New Revision: 243689
URL: http://llvm.org/viewvc/llvm-project?rev=243689&view=rev
Log:
Fix TableGen code generation for ReadNone attribute.
Patch by Pete Abred!
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=243689&r1=243688&r2=243689&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp Thu Jul 30 16:16:34 2015
@@ -636,7 +636,7 @@ EmitAttributes(const std::vector<CodeGen
case CodeGenIntrinsic::ReadNone:
if (addComma)
OS << ",";
- OS << "Attributes::ReadNone";
+ OS << "Attribute::ReadNone";
addComma = true;
break;
}
More information about the llvm-commits
mailing list