summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-12-03 00:03:01 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-12-03 00:03:01 +0000
commit2e8be9d1269af2cf0cdb896e204e6b5823d66c53 (patch)
tree51710d629016206cc45e01e54d90e2e7ace499d6
parent199acd88e39557d6936e043593d2154328f52d26 (diff)
downloadbcm5719-llvm-2e8be9d1269af2cf0cdb896e204e6b5823d66c53.tar.gz
bcm5719-llvm-2e8be9d1269af2cf0cdb896e204e6b5823d66c53.zip
Fix typo in emitted attribute name
Fixes build when using this attribute combination on an intrinsic. llvm-svn: 319625
-rw-r--r--llvm/utils/TableGen/IntrinsicEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/IntrinsicEmitter.cpp b/llvm/utils/TableGen/IntrinsicEmitter.cpp
index d9e0d25142f..b4e61ec53c1 100644
--- a/llvm/utils/TableGen/IntrinsicEmitter.cpp
+++ b/llvm/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)
OpenPOWER on IntegriCloud