diff options
author | Joey Gouly <joey.gouly@arm.com> | 2013-06-26 16:58:26 +0000 |
---|---|---|
committer | Joey Gouly <joey.gouly@arm.com> | 2013-06-26 16:58:26 +0000 |
commit | 849eedce9921eb8f285cd0df0ad69ee5133459d1 (patch) | |
tree | 0ff93bb431162234ff79d7ac320add1aee418058 /lib/Target/ARM/AsmParser | |
parent | 29acf7e03af9b5524daa1e7523e0296cc766ff24 (diff) | |
download | external_llvm-849eedce9921eb8f285cd0df0ad69ee5133459d1.zip external_llvm-849eedce9921eb8f285cd0df0ad69ee5133459d1.tar.gz external_llvm-849eedce9921eb8f285cd0df0ad69ee5133459d1.tar.bz2 |
Add a subtarget feature 'v8' to the ARM backend.
This allows for targeting the ARMv8 AArch32 variant.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184967 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/AsmParser')
-rw-r--r-- | lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index eda5550..ba2bf8e 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -161,6 +161,9 @@ class ARMAsmParser : public MCTargetAsmParser { bool hasV7Ops() const { return STI.getFeatureBits() & ARM::HasV7Ops; } + bool hasV8Ops() const { + return STI.getFeatureBits() & ARM::HasV8Ops; + } bool hasARM() const { return !(STI.getFeatureBits() & ARM::FeatureNoARM); } |