diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-08-11 07:00:16 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-08-11 07:00:16 +0000 |
commit | 8d62e713ea8c1597cc81da029a79925cbb125f4c (patch) | |
tree | d89efdca3a433ee7aa04e0e8f17c5c951ec04a3f | |
parent | cb5ce6e62bcc15add9f0d1a79392c0cbb00ba861 (diff) | |
download | external_llvm-8d62e713ea8c1597cc81da029a79925cbb125f4c.zip external_llvm-8d62e713ea8c1597cc81da029a79925cbb125f4c.tar.gz external_llvm-8d62e713ea8c1597cc81da029a79925cbb125f4c.tar.bz2 |
ArchV7M implies HW division instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110797 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARM.td | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARM.td b/lib/Target/ARM/ARM.td index bf95e99..5da83a6 100644 --- a/lib/Target/ARM/ARM.td +++ b/lib/Target/ARM/ARM.td @@ -78,7 +78,7 @@ def ArchV7A : SubtargetFeature<"v7a", "ARMArchVersion", "V7A", [FeatureThumb2, FeatureNEON, FeatureDB]>; def ArchV7M : SubtargetFeature<"v7m", "ARMArchVersion", "V7M", "ARM v7M", - [FeatureThumb2, FeatureDB]>; + [FeatureThumb2, FeatureDB, FeatureHWDiv]>; //===----------------------------------------------------------------------===// // ARM Processors supported. @@ -151,8 +151,8 @@ def : Processor<"cortex-a9", CortexA9Itineraries, [ArchV7A, FeatureT2XtPk]>; // V7M Processors. -def : ProcNoItin<"cortex-m3", [ArchV7M, FeatureHWDiv]>; -def : ProcNoItin<"cortex-m4", [ArchV7M, FeatureHWDiv]>; +def : ProcNoItin<"cortex-m3", [ArchV7M]>; +def : ProcNoItin<"cortex-m4", [ArchV7M]>; //===----------------------------------------------------------------------===// // Register File Description |