]> granicus.if.org Git - clang/commit
Fix for #31362 - ms_abi is implemented incorrectly for values >=16 bytes.
authorAlexander Ivchenko <alexander.ivchenko@intel.com>
Thu, 8 Feb 2018 11:15:21 +0000 (11:15 +0000)
committerAlexander Ivchenko <alexander.ivchenko@intel.com>
Thu, 8 Feb 2018 11:15:21 +0000 (11:15 +0000)
commit65ae7c117df699753a3b9439ea3f6f55e05f0e0c
tree7681fbdc19a78fe2ae3facfff675e6d56e497aac
parent6e19a38a868acf59198715d73d4db72e92483193
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/trunk@324594 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp
test/CodeGen/ms_abi.c