[MIPS GlobalISel] Lower float and double arguments in registers
authorPetar Avramovic <Petar.Avramovic@rt-rk.com>
Mon, 25 Mar 2019 11:23:41 +0000 (11:23 +0000)
committerPetar Avramovic <Petar.Avramovic@rt-rk.com>
Mon, 25 Mar 2019 11:23:41 +0000 (11:23 +0000)
commit5a457e08f6f94eea0470c8edc0d71a636a928d42
treed121a4b198249ceb7416098a80a19576555df650
parentea16be1ca7e4bf97a3faa00b5baf14b60894f283
[MIPS GlobalISel] Lower float and double arguments in registers

Lower float and double arguments in registers for MIPS32.
When float/double argument is passed through gpr registers
select appropriate move instruction.

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

llvm-svn: 356882
llvm/lib/Target/Mips/MipsCallLowering.cpp
llvm/lib/Target/Mips/MipsCallLowering.h
llvm/test/CodeGen/Mips/GlobalISel/irtranslator/float_args.ll [new file with mode: 0644]