From: Eric Christopher <echristo@gmail.com>
Date: Thu, 30 Jul 2015 21:16:34 +0000 (+0000)
Subject: Fix TableGen code generation for ReadNone attribute.
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f4745ecbb449433f9b91faf17f334f64a3d6b0f1;p=oota-llvm.git

Fix TableGen code generation for ReadNone attribute.

Patch by Pete Abred!

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

diff --git a/utils/TableGen/IntrinsicEmitter.cpp b/utils/TableGen/IntrinsicEmitter.cpp
index 18a8db6b534..cebe5bbc313 100644
--- a/utils/TableGen/IntrinsicEmitter.cpp
+++ b/utils/TableGen/IntrinsicEmitter.cpp
@@ -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;
           }