[PATCH] D55992: [ARM] Add missing patterns for DSP muls
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 21 02:35:11 PST 2018
samparker created this revision.
samparker added reviewers: SjoerdMeijer, efriedma, t.p.northover.
Herald added subscribers: kristof.beyls, javed.absar.
Using a PatLeaf for sext_16_node allowed matching smulbb and smlabb instructions once the operands had been sign extended. But we also need to use sext_inreg operands allow with sext_16_node to catch a few more cases that enable use to remove the unnecessary sxth.
https://reviews.llvm.org/D55992
Files:
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
test/CodeGen/ARM/smul.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55992.179255.patch
Type: text/x-patch
Size: 6281 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181221/9795fdc2/attachment.bin>
More information about the llvm-commits
mailing list