[all-commits] [llvm/llvm-project] dda8e9: [MIPS GlobalISel] Select addiu
petar-avramovic via All-commits
all-commits at lists.llvm.org
Fri Nov 15 02:38:03 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: dda8e9554071164c85ac7b8b14bc5349703deaab
https://github.com/llvm/llvm-project/commit/dda8e9554071164c85ac7b8b14bc5349703deaab
Author: Petar Avramovic <Petar.Avramovic at rt-rk.com>
Date: 2019-11-15 (Fri, 15 Nov 2019)
Changed paths:
M llvm/lib/Target/Mips/MipsInstrInfo.td
M llvm/test/CodeGen/Mips/GlobalISel/instruction-select/add.mir
M llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/add.ll
M llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/dyn_stackalloc.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list