[TableGen] fix incorrect code generation for attribute ReadNone for llvm intrinsics

servuswiegehtz at yahoo.de servuswiegehtz at yahoo.de
Thu Jul 30 00:18:57 PDT 2015


From: Pete Abred <servuswiegehtz at yahoo.de>

---
Fix typo in code generation of the attribute ReadNone. Noone notices before because the attribute is not used yet
 utils/TableGen/IntrinsicEmitter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/TableGen/IntrinsicEmitter.cpp b/utils/TableGen/IntrinsicEmitter.cpp
index 18a8db6..cebe5bb 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;
           }
-- 
2.4.3




More information about the llvm-commits mailing list