[MIPS GlobalISel] Lower i64 arguments
authorPetar Jovanovic <petar.jovanovic@mips.com>
Fri, 28 Sep 2018 13:28:47 +0000 (13:28 +0000)
committerPetar Jovanovic <petar.jovanovic@mips.com>
Fri, 28 Sep 2018 13:28:47 +0000 (13:28 +0000)
commitff1bc621a01ced0ee74e60b2083f3ccd19dd74f4
tree3a10a583a35bc1ccac53d085f99a742de16dc9e1
parent66da1ed29d338dd04871bdb0b1d51efdafa07c84
[MIPS GlobalISel] Lower i64 arguments

Lower integer arguments larger then 32 bits for MIPS32.
setMostSignificantFirst is used in order for G_UNMERGE_VALUES and
G_MERGE_VALUES to always hold registers in same order, regardless of
endianness.

Patch by Petar Avramovic.

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

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