OSDN Git Service

PPC64 passes arguments of integral type in i64 registers, not i32. Reflect this
authorBill Wendling <isanbard@gmail.com>
Fri, 7 Mar 2008 20:49:02 +0000 (20:49 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 7 Mar 2008 20:49:02 +0000 (20:49 +0000)
commit5f5bf3a3fd06704e5752c91561a711fbaa856d58
tree8a1d651024feecc0e351cfcfa0179daabcb08a2f
parent9ed06db5c800c347b3ceac70df420f66c62e11c1
PPC64 passes arguments of integral type in i64 registers, not i32. Reflect this
by promoting smaller integral values (i32 at this point) to i64, then truncating
to get the wanted size.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48030 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp