HomePhabricator

[MIPS GlobalISel] NarrowScalar G_MUL

Description

[MIPS GlobalISel] NarrowScalar G_MUL

Narrow Scalar G_MUL for MIPS32.
Revisit NarrowScalar implementation in LegalizerHelper.
Introduce new helper function multiplyRegisters.
It performs generic multiplication of values held in multiple registers.
Generated instructions use only types NarrowTy and i1.
Destination can be same or two times size of the source.

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

Details

Committed
Petar.AvramovicMar 11 2019, 3:00 AM
Differential Revision
D58824: [MIPS GlobalISel] NarrowScalar G_MUL
Parents
rL355813: Attempt to fix build errors caused by r355812
Branches
Unknown
Tags
Unknown