summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMSubtarget.h
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-04-01 14:10:07 +0000
committerTim Northover <tnorthover@apple.com>2014-04-01 14:10:07 +0000
commitcb68a2e3ab287e4570766b8c827dd19fb68dd4ec (patch)
tree819d805b965da406e2812e526720b040191f3693 /lib/Target/ARM/ARMSubtarget.h
parent77d76519dc5242abb1c9a17cee3e2bbfe96f3e42 (diff)
downloadllvm-cb68a2e3ab287e4570766b8c827dd19fb68dd4ec.tar.gz
llvm-cb68a2e3ab287e4570766b8c827dd19fb68dd4ec.tar.bz2
llvm-cb68a2e3ab287e4570766b8c827dd19fb68dd4ec.tar.xz
ARM: teach LLVM that Cortex-A7 is very similar to A8.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205314 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMSubtarget.h')
-rw-r--r--lib/Target/ARM/ARMSubtarget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.h b/lib/Target/ARM/ARMSubtarget.h
index e76cc85a1a..3ffc72e21e 100644
--- a/lib/Target/ARM/ARMSubtarget.h
+++ b/lib/Target/ARM/ARMSubtarget.h
@@ -265,6 +265,7 @@ public:
bool hasV8Ops() const { return HasV8Ops; }
bool isCortexA5() const { return ARMProcFamily == CortexA5; }
+ bool isCortexA7() const { return ARMProcFamily == CortexA7; }
bool isCortexA8() const { return ARMProcFamily == CortexA8; }
bool isCortexA9() const { return ARMProcFamily == CortexA9; }
bool isCortexA15() const { return ARMProcFamily == CortexA15; }