1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Fix typo in emitted attribute name

Fixes build when using this attribute combination
on an intrinsic.

llvm-svn: 319625
This commit is contained in:
Matt Arsenault 2017-12-03 00:03:01 +00:00
parent d3015d65a9
commit a9c9cf456e

View File

@ -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)