diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-12-03 00:03:01 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-12-03 00:03:01 +0000 |
commit | 2e8be9d1269af2cf0cdb896e204e6b5823d66c53 (patch) | |
tree | 51710d629016206cc45e01e54d90e2e7ace499d6 | |
parent | 199acd88e39557d6936e043593d2154328f52d26 (diff) | |
download | bcm5719-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.cpp | 2 |
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) |