]> granicus.if.org Git - llvm/commit
[ARM] Predicate UMAAL selection on hasDSP.
authorSam Parker <sam.parker@arm.com>
Thu, 27 Oct 2016 09:47:10 +0000 (09:47 +0000)
committerSam Parker <sam.parker@arm.com>
Thu, 27 Oct 2016 09:47:10 +0000 (09:47 +0000)
commita6ec572d31f7164b2ae0869f48b68ac23eed7682
treec6830b7849f5ca37fc6dd60ec35cd4c835c01bdf
parentc63ef8d3461ad8acfc707298db5426359910d349
[ARM] Predicate UMAAL selection on hasDSP.

UMAAL is a DSP instruction and it is not available on thumbv7m
(Cortex-M3) and thumbv6m (Cortex-M0+1) targets. Also fix wrong
CHECK prefix in longMAC.ll test.

Patch by Vadzim Dambrouski.

Differential Revision: https://reviews.llvm.org/D25890

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285278 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelDAGToDAG.cpp
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/longMAC.ll