HomePhabricator

[MIPS GlobalISel] Legalize non-power-of-2 and unaligned load and store

Authored by Petar.Avramovic on Feb 19 2020, 3:01 AM.

Description

[MIPS GlobalISel] Legalize non-power-of-2 and unaligned load and store

Custom legalize non-power-of-2 and unaligned load and store for MIPS32r5
and older, custom legalize non-power-of-2 load and store for MIPS32r6.

Don't attempt to combine non power of 2 loads or unaligned loads when
subtarget doesn't support them (MIPS32r5 and older).

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