HomePhabricator

[MIPS GlobalISel] Improve selection of constants

Authored by Petar.Avramovic on Mar 15 2019, 12:07 AM.

Description

[MIPS GlobalISel] Improve selection of constants

Certain 32 bit constants can be generated with a single instruction
instead of two. Implement materialize32BitImm function for MIPS32.

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

llvm-svn: 356238

Details