Fixup PPC Darwin i1 argument handling
authorHal Finkel <hfinkel@anl.gov>
Thu, 6 Mar 2014 00:45:19 +0000 (00:45 +0000)
committerHal Finkel <hfinkel@anl.gov>
Thu, 6 Mar 2014 00:45:19 +0000 (00:45 +0000)
commit341ea7ddf6b09d77bfe3c65664773b683386156c
tree94517657c2e78b71685c98b397443b7ea9f3e0a0
parent028462964bdbfc2ab332de73c5439d547e01776a
Fixup PPC Darwin i1 argument handling

Like on other targets, we need to zero_extend/truncate i1 args before copying
them to GPRs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203045 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
test/CodeGen/PowerPC/ppc32-i1-vaarg.ll