[MIPS GlobalISel] Set operand order for G_MERGE and G_UNMERGE
commitbe688377a5e59fbd75b393839725ad4071fa4da6
authorPetar Avramovic <Petar.Avramovic@rt-rk.com>
Wed, 7 Nov 2018 11:45:43 +0000 (7 11:45 +0000)
committerPetar Avramovic <Petar.Avramovic@rt-rk.com>
Wed, 7 Nov 2018 11:45:43 +0000 (7 11:45 +0000)
tree07e60ff89981aee3e58620fc2f7e5d27b1200b91
parenteadd8e4c20cbde50820f549d9bdc14c66ac5b544
[MIPS GlobalISel] Set operand order for G_MERGE and G_UNMERGE

Set operands order for G_MERGE_VALUES and G_UNMERGE_VALUES so
that least significant bits always go first, regardless of endianness.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346305 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsCallLowering.cpp
lib/Target/Mips/MipsCallLowering.h
lib/Target/Mips/MipsLegalizerInfo.cpp
test/CodeGen/Mips/GlobalISel/irtranslator/split_args.ll
test/CodeGen/Mips/GlobalISel/legalizer/add.mir
test/CodeGen/Mips/GlobalISel/legalizer/constants.mir