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 | 94307f6ba671ea78eb608cdc5d7363ddafd6c5a9 (patch) | |
| tree | cb9a9a4d4fd7fd8ec0fb922c8e876b6d20317ae6 /llvm/lib/Target/ARM/ARMSubtarget.h | |
| parent | c137d0d62f940f10859244b73327a7fe2e1b3f84 (diff) | |
| download | bcm5719-llvm-94307f6ba671ea78eb608cdc5d7363ddafd6c5a9.tar.gz bcm5719-llvm-94307f6ba671ea78eb608cdc5d7363ddafd6c5a9.zip | |
Hide cpu name checking in ARMSubtarget.
llvm-svn: 144154
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.h')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMSubtarget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.h b/llvm/lib/Target/ARM/ARMSubtarget.h index 5e884e00991..a35f4505507 100644 --- a/llvm/lib/Target/ARM/ARMSubtarget.h +++ b/llvm/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; } |

