]> granicus.if.org Git - clang/commit
Merging r324594:
authorHans Wennborg <hans@hanshq.net>
Fri, 9 Feb 2018 09:01:30 +0000 (09:01 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 9 Feb 2018 09:01:30 +0000 (09:01 +0000)
commit1d5b6bd0b8ee0cad2a92f45245b5fbbf23c48ef3
tree044c70cda4d63ec775dfff0a6ef66b597fb79154
parent9524f2ccfe02886a6c211a475c66ebf82f1fbcad
Merging r324594:
------------------------------------------------------------------------
r324594 | aivchenk | 2018-02-08 12:15:21 +0100 (Thu, 08 Feb 2018) | 17 lines

Fix for #31362 - ms_abi is implemented incorrectly for values >=16 bytes.

Summary:
This patch is a fix for following issue:
https://bugs.llvm.org/show_bug.cgi?id=31362 The problem was caused by front end
lowering C calling conventions without taking into account calling conventions
enforced by attribute. In this case win64cc was no correctly lowered on targets
other than Windows.

Reviewed By: rnk (Reid Kleckner)

Differential Revision: https://reviews.llvm.org/D43016

Author: belickim <mateusz.belicki@intel.com>

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_60@324718 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp
test/CodeGen/ms_abi.c