summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-10-27 17:16:55 +0000
committerJim Grosbach <grosbach@apple.com>2011-10-27 17:16:55 +0000
commitba7f90c7df7a5e58cfebb114418ab6a7d4847b33 (patch)
tree7070aee7fc5b16254c30cc81c9d991ec9095fbb5 /llvm/lib/Target
parente245af65fa28cb88cb533f49d3755d034b252e88 (diff)
downloadbcm5719-llvm-ba7f90c7df7a5e58cfebb114418ab6a7d4847b33.tar.gz
bcm5719-llvm-ba7f90c7df7a5e58cfebb114418ab6a7d4847b33.zip
Thumb2 t2MVNi assembly parsing to recognize ".w" suffix.
rdar://10348584 llvm-svn: 143108
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrThumb2.td4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb2.td b/llvm/lib/Target/ARM/ARMInstrThumb2.td
index cc137a8982d..cef4c7b645e 100644
--- a/llvm/lib/Target/ARM/ARMInstrThumb2.td
+++ b/llvm/lib/Target/ARM/ARMInstrThumb2.td
@@ -3921,7 +3921,9 @@ def : t2InstAlias<"ldrsb${p} $Rt, $addr",
def : t2InstAlias<"ldrsh${p} $Rt, $addr",
(t2LDRSHpci rGPR:$Rt, t2ldrlabel:$addr, pred:$p)>;
-// Alias for MVN without the ".w" optional width specifier.
+// Alias for MVN with(out) the ".w" optional width specifier.
+def : t2InstAlias<"mvn${s}${p}.w $Rd, $imm",
+ (t2MVNi rGPR:$Rd, t2_so_imm:$imm, pred:$p, cc_out:$s)>;
def : t2InstAlias<"mvn${s}${p} $Rd, $Rm",
(t2MVNr rGPR:$Rd, rGPR:$Rm, pred:$p, cc_out:$s)>;
def : t2InstAlias<"mvn${s}${p} $Rd, $ShiftedRm",
OpenPOWER on IntegriCloud