diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-11-09 01:57:03 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-11-09 01:57:03 +0000 |
commit | 44ee4714a8c245d4fdfd03840efcf58c3f66c6bc (patch) | |
tree | 86a1807d5e2e9f275789cad8808d86d7d03e2ba6 /lib/Target/ARM/ARMSubtarget.h | |
parent | f4c4768fb2277cb940a90cb2f0e9a747ebc671c3 (diff) | |
download | llvm-44ee4714a8c245d4fdfd03840efcf58c3f66c6bc.tar.gz llvm-44ee4714a8c245d4fdfd03840efcf58c3f66c6bc.tar.bz2 llvm-44ee4714a8c245d4fdfd03840efcf58c3f66c6bc.tar.xz |
Hide cpu name checking in ARMSubtarget.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144154 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMSubtarget.h')
-rw-r--r-- | lib/Target/ARM/ARMSubtarget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.h b/lib/Target/ARM/ARMSubtarget.h index 5e884e0099..a35f450550 100644 --- a/lib/Target/ARM/ARMSubtarget.h +++ b/lib/Target/ARM/ARMSubtarget.h @@ -191,6 +191,7 @@ protected: bool isCortexA8() const { return ARMProcFamily == CortexA8; } bool isCortexA9() const { return ARMProcFamily == CortexA9; } + bool isCortexM3() const { return CPUString == "cortex-m3"; } bool hasARMOps() const { return !NoARM; } |