From: Matt Arsenault Date: Sun, 3 Dec 2017 00:03:01 +0000 (+0000) Subject: Fix typo in emitted attribute name X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e87334bb7c2c39d12c1e40518a162e0d353972fd;p=llvm Fix typo in emitted attribute name Fixes build when using this attribute combination on an intrinsic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319625 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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)