This is an archive of the discontinued LLVM Phabricator instance.

[MIPS GlobalISel] Select MSA vector generic and builtin sub
ClosedPublic

Authored by Petar.Avramovic on Oct 22 2019, 8:06 AM.

Details

Summary

Select vector G_SUB for MIPS32 with MSA. We have to set bank
for vector operands to fprb and selectImpl will do the rest.
builtin_msa_subv_<format> will be transformed into G_SUB
in legalizeIntrinsic and selected in the same way.
builtin_msa_subvi_<format> will be directly selected into
SUBVI_<format> in legalizeIntrinsic.

Diff Detail

Event Timeline

This revision is now accepted and ready to land.Oct 23 2019, 1:22 AM
This revision was automatically updated to reflect the committed changes.