]> granicus.if.org Git - clang/commit
Set load/store alignment when doing ABI coercions.
authorDaniel Dunbar <daniel@zuster.org>
Sat, 7 Feb 2009 02:46:03 +0000 (02:46 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sat, 7 Feb 2009 02:46:03 +0000 (02:46 +0000)
commit386621f5e12f5db95af3b82250b08fdae3e3d321
tree44447fe2b597fd8a94edcf2d849a4a846e0660cc
parent169a2664a64b57a815b5f0b39276a0891663921a
Set load/store alignment when doing ABI coercions.
 - Currently, this is producing poor code, but we prefer correctness
   to performance for now. Eventually we should be able to generally
   avoid having to set the alignment when we control the alignment of
   the alloca.

 - This knocks out 33/1000 failures on my single argument ABI tests,
   down to 22/1000 and 18 of these appear to be gcc bugs. Woot.

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