summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenInstruction.h
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2019-11-14 13:11:34 -0800
committerVedant Kumar <vsk@apple.com>2020-01-10 14:30:52 -0800
commita9052b4dfc1b25bd58480668d221365495fa9101 (patch)
treebabac2558e87d0ffe67b34eca8edb02a520811ed /llvm/utils/TableGen/CodeGenInstruction.h
parent7c47a3719a9e587fdf993637dc09d97b5397483b (diff)
downloadbcm5719-llvm-a9052b4dfc1b25bd58480668d221365495fa9101.tar.gz
bcm5719-llvm-a9052b4dfc1b25bd58480668d221365495fa9101.zip
[AArch64] Add isAuthenticated predicate to MCInstDesc
Add a predicate to MCInstDesc that allows tools to determine whether an instruction authenticates a pointer. This can be used by diagnostic tools to hint at pointer authentication failures. Differential Revision: https://reviews.llvm.org/D70329 rdar://55089604
Diffstat (limited to 'llvm/utils/TableGen/CodeGenInstruction.h')
-rw-r--r--llvm/utils/TableGen/CodeGenInstruction.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/CodeGenInstruction.h b/llvm/utils/TableGen/CodeGenInstruction.h
index 573822f5635..1f08ce481a8 100644
--- a/llvm/utils/TableGen/CodeGenInstruction.h
+++ b/llvm/utils/TableGen/CodeGenInstruction.h
@@ -278,6 +278,7 @@ template <typename T> class ArrayRef;
bool hasChain : 1;
bool hasChain_Inferred : 1;
bool variadicOpsAreDefs : 1;
+ bool isAuthenticated : 1;
std::string DeprecatedReason;
bool HasComplexDeprecationPredicate;
OpenPOWER on IntegriCloud