SuccessChanges

Summary

  1. [MIPS GlobalISel] Select addiu (details)
Commit dda8e9554071164c85ac7b8b14bc5349703deaab by petar.avramovic
[MIPS GlobalISel] Select addiu
Introduce IntImmLeaf version of PatLeaf immSExt16 for 32-bit immediates.
Change immSExt16 with imm32SExt16 for addiu. This keeps same behavior
for SDAG and allows for GlobalISel selectImpl to select 'G_CONSTANT imm'
+ G_ADD into ADDIu when 32-bit imm satisfies imm32SExt16 predicate: sign
extending 16 low bits of imm is equal to imm.
Differential Revision: https://reviews.llvm.org/D70184
The file was modifiedllvm/lib/Target/Mips/MipsInstrInfo.td
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/add.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/dyn_stackalloc.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/add.mir