[PATCH] D41775: [ARM] Add codegen for SMMULR, SMMLAR and SMMLSR
Andre Vieira via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 5 09:39:41 PST 2018
avieira created this revision.
avieira added reviewers: rengolin, t.p.northover.
Herald added subscribers: kristof.beyls, javed.absar, aemerson.
This patch teaches the Arm back-end to generate the SMMULR, SMMLAR and SMMLSR instructions from equivalent IR patterns.
I forbid generation of these if '-arm-use-mulops=false' is passed to the command-line since t2SMMLAR and t2SMMLSR have UseMulOps as a predicate.
Adding bob.wilson to make sure this is intended behavior.
This patch also fixes an issue where SMMLS was being generated for Armv7-M, where it should only be generated for Armv7E-M (aka Armv7-M with DSP extensions).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 16459 bytes
Desc: not available
More information about the llvm-commits