]> granicus.if.org Git - clang/commit
When trying to pass an argument on the stack, assume LLVM will do the right
authorDaniel Dunbar <daniel@zuster.org>
Tue, 26 May 2009 16:37:37 +0000 (16:37 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 26 May 2009 16:37:37 +0000 (16:37 +0000)
commit86e13eeb65397f7b64173523a40c742b2702364b
tree5590bf0cadba6c1f2bc16113faa40d63e6e4a81c
parent8e6e70928adebea871389febd9b54ca82821dc87
When trying to pass an argument on the stack, assume LLVM will do the right
thing for non-aggregate types.
 - Otherwise we unnecessarily pin values to the stack and currently end up
   triggering a backend bug in one case.

 - This loose cooperation with LLVM to implement the ABI is pretty ugly.

 - <rdar://problem/6918722> [irgen] clang miscompile of many pointer varargs on
   x86-64

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72419 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
test/CodeGen/x86_64-arguments.c