[arm-fast-isel] After promoting a function parameter be sure to update the
authorChad Rosier <mcrosier@apple.com>
Fri, 2 Dec 2011 20:25:18 +0000 (20:25 +0000)
committerChad Rosier <mcrosier@apple.com>
Fri, 2 Dec 2011 20:25:18 +0000 (20:25 +0000)
commitb74c865841481074539bdf4de35024939854f2e6
tree2b5fa49ed5fc5151353c50cf8569bd9b7c1a38d7
parent427876757f3df35f2a1a89088fadbdd5acf63e85
[arm-fast-isel] After promoting a function parameter be sure to update the
argument value type.  Otherwise, the sign/zero-extend has no effect on arguments
passed via the stack (i.e., undefined high-order bits).
rdar://10515467

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145701 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFastISel.cpp
test/CodeGen/ARM/fast-isel-call.ll