Fix TableGen code generation for ReadNone attribute.
authorEric Christopher <echristo@gmail.com>
Thu, 30 Jul 2015 21:16:34 +0000 (21:16 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 30 Jul 2015 21:16:34 +0000 (21:16 +0000)
Patch by Pete Abred!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243689 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/IntrinsicEmitter.cpp

index 18a8db6b5348150031fd9139107c748af716c5c1..cebe5bbc31388fa4471eb2ba5fe26d820f1862cd 100644 (file)
@@ -636,7 +636,7 @@ EmitAttributes(const std::vector<CodeGenIntrinsic> &Ints, raw_ostream &OS) {
           case CodeGenIntrinsic::ReadNone:
             if (addComma)
               OS << ",";
-            OS << "Attributes::ReadNone";
+            OS << "Attribute::ReadNone";
             addComma = true;
             break;
           }