Change getCopyToParts and getCopyFromParts to always use target-endian
authorDan Gohman <gohman@apple.com>
Mon, 9 Jul 2007 20:59:04 +0000 (20:59 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 9 Jul 2007 20:59:04 +0000 (20:59 +0000)
commit532dc2e1f2473b16b48566c1cbc9eefe94a4e58e
tree50f72c121d845216c758e8e2c55141123373570a
parent4d6f96d6997738419627ebe13dd6cb9c88a98fd7
Change getCopyToParts and getCopyFromParts to always use target-endian
register ordering, for both physical and virtual registers. Update the PPC
target lowering for calls to expect registers for the call result to
already be in target order.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38471 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/Target/PowerPC/PPCISelLowering.cpp
test/CodeGen/PowerPC/big-endian-call-result.ll [new file with mode: 0644]