From cb68a2e3ab287e4570766b8c827dd19fb68dd4ec Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Tue, 1 Apr 2014 14:10:07 +0000 Subject: 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 --- lib/Target/ARM/ARMSubtarget.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/Target/ARM/ARMSubtarget.h') 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; } -- cgit v1.2.3