From a9c9cf456edea23a3b520af5b178160d7d172e00 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Sun, 3 Dec 2017 00:03:01 +0000 Subject: [PATCH] Fix typo in emitted attribute name Fixes build when using this attribute combination on an intrinsic. llvm-svn: 319625 --- 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 d9e0d25142f..b4e61ec53c1 100644 --- a/utils/TableGen/IntrinsicEmitter.cpp +++ b/utils/TableGen/IntrinsicEmitter.cpp @@ -701,7 +701,7 @@ void IntrinsicEmitter::EmitAttributes(const CodeGenIntrinsicTable &Ints, if (addComma) OS << ","; OS << "Attribute::WriteOnly,"; - OS << "Attribute::InaccessibleMemOrArgOnly"; + OS << "Attribute::InaccessibleMemOrArgMemOnly"; break; case CodeGenIntrinsic::ReadWriteArgMem: if (addComma)