aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-25 23:10:46 +0000
committerChris Lattner <sabre@nondot.org>2007-02-25 23:10:46 +0000
commitc30654cc96869149fea7b5ac091c2cd3459591e4 (patch)
tree48a0bc16b3a1a3d204dc4b8372169c0cc5e53956 /lib/Support/APInt.cpp
parentdf6b57ad4845c2aa0925ec27def313192b1c6ea9 (diff)
Fix an X86-64 abi bug. We now compile:
void foo(short); void bar(unsigned short A) { foo(A); } into: _bar: subq $8, %rsp movswl %di, %edi call _foo addq $8, %rsp ret instead of: _bar: subq $8, %rsp call _foo addq $8, %rsp ret Testcase here: test/CodeGen/X86/x86-64-shortint.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34615 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions