summaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMInstrInfo.td
diff options
context:
space:
mode:
authorAmara Emerson <amara.emerson@arm.com>2013-09-23 14:26:15 +0000
committerAmara Emerson <amara.emerson@arm.com>2013-09-23 14:26:15 +0000
commit0f22c134be40a337b30e30bdafb9e8b6880dea1e (patch)
treeee7c130b4490da27bc30ec31721a7f9613964c57 /lib/Target/ARM/ARMInstrInfo.td
parentbaca5334db904819e6c0d26cd5f5203f82c44f6e (diff)
downloadexternal_llvm-0f22c134be40a337b30e30bdafb9e8b6880dea1e.zip
external_llvm-0f22c134be40a337b30e30bdafb9e8b6880dea1e.tar.gz
external_llvm-0f22c134be40a337b30e30bdafb9e8b6880dea1e.tar.bz2
[ARM] Split A/R class into separate subtarget features.
Patch by Bradley Smith. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191202 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrInfo.td')
-rw-r--r--lib/Target/ARM/ARMInstrInfo.td6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td
index 93ecb16..80226ac 100644
--- a/lib/Target/ARM/ARMInstrInfo.td
+++ b/lib/Target/ARM/ARMInstrInfo.td
@@ -244,10 +244,10 @@ def IsThumb2 : Predicate<"Subtarget->isThumb2()">,
AssemblerPredicate<"ModeThumb,FeatureThumb2",
"thumb2">;
def IsMClass : Predicate<"Subtarget->isMClass()">,
- AssemblerPredicate<"FeatureMClass", "armv7m">;
-def IsARClass : Predicate<"!Subtarget->isMClass()">,
+ AssemblerPredicate<"FeatureMClass", "armv*m">;
+def IsNotMClass : Predicate<"!Subtarget->isMClass()">,
AssemblerPredicate<"!FeatureMClass",
- "armv7a/r">;
+ "!armv*m">;
def IsARM : Predicate<"!Subtarget->isThumb()">,
AssemblerPredicate<"!ModeThumb", "arm-mode">;
def IsIOS : Predicate<"Subtarget->isTargetIOS()">;