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.
Paths
| Differential D25890
[ARM] Do not generate UMAAL instruction on thumbv7m target. ClosedPublic Authored by pftbest on Oct 21 2016, 6:05 PM.
Details Summary 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.
Diff Detail
Event Timelinepftbest updated this object. Comment Actions Hi, Thanks for this! I'm going to approve, but please could you add another test checking that the UMAAL *does* get generated when targetting Cortex-M4 which is V7M+DSP. Thanks! James This revision is now accepted and ready to land.Oct 22 2016, 3:17 AM Closed by commit rL285278: [ARM] Predicate UMAAL selection on hasDSP. (authored by sam_parker). · Explain WhyOct 27 2016, 2:56 AM This revision was automatically updated to reflect the committed changes. Comment Actions I think there is something wrong with the last line in the commit, looks like line ending is missing
Revision Contents
Diff 75999 llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp
llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
llvm/trunk/test/CodeGen/ARM/longMAC.ll
|