[llvm-commits] [llvm] r110797 - /llvm/trunk/lib/Target/ARM/ARM.td
Evan Cheng
evan.cheng at apple.com
Wed Aug 11 00:00:16 PDT 2010
Author: evancheng
Date: Wed Aug 11 02:00:16 2010
New Revision: 110797
URL: http://llvm.org/viewvc/llvm-project?rev=110797&view=rev
Log:
ArchV7M implies HW division instructions.
Modified:
llvm/trunk/lib/Target/ARM/ARM.td
Modified: llvm/trunk/lib/Target/ARM/ARM.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARM.td?rev=110797&r1=110796&r2=110797&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARM.td (original)
+++ llvm/trunk/lib/Target/ARM/ARM.td Wed Aug 11 02:00:16 2010
@@ -78,7 +78,7 @@
[FeatureThumb2, FeatureNEON, FeatureDB]>;
def ArchV7M : SubtargetFeature<"v7m", "ARMArchVersion", "V7M",
"ARM v7M",
- [FeatureThumb2, FeatureDB]>;
+ [FeatureThumb2, FeatureDB, FeatureHWDiv]>;
//===----------------------------------------------------------------------===//
// ARM Processors supported.
@@ -151,8 +151,8 @@
[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
More information about the llvm-commits
mailing list