HomePhabricator

[ARM] Add missing patterns for DSP muls

Description

[ARM] Add missing patterns for DSP muls

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 along with sext_16_node to catch a
few more cases that enable use to remove the unnecessary sxth.

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

Details

Committed
sam_parkerJan 8 2019, 2:12 AM
Differential Revision
D55992: [ARM] Add missing patterns for DSP muls
Parents
rL350612: [ASTMatchers] Improve assert message for broken parent map.
Branches
Unknown
Tags
Unknown