summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARM.td
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-08-11 07:00:16 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-08-11 07:00:16 +0000
commit8d62e713ea8c1597cc81da029a79925cbb125f4c (patch)
treed89efdca3a433ee7aa04e0e8f17c5c951ec04a3f /lib/Target/ARM/ARM.td
parentcb5ce6e62bcc15add9f0d1a79392c0cbb00ba861 (diff)
downloadllvm-8d62e713ea8c1597cc81da029a79925cbb125f4c.tar.gz
llvm-8d62e713ea8c1597cc81da029a79925cbb125f4c.tar.bz2
llvm-8d62e713ea8c1597cc81da029a79925cbb125f4c.tar.xz
ArchV7M implies HW division instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110797 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARM.td')
-rw-r--r--lib/Target/ARM/ARM.td6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARM.td b/lib/Target/ARM/ARM.td
index bf95e99d8d..5da83a6dd8 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