]> granicus.if.org Git - clang/commit
[CodeGen] Correctly implement the AVX512 psABI rules
authorDavid Majnemer <david.majnemer@gmail.com>
Mon, 15 Aug 2016 06:39:18 +0000 (06:39 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Mon, 15 Aug 2016 06:39:18 +0000 (06:39 +0000)
commitf9187a1ffdf709ce72b750295d6b4177c53255e6
tree83c36d2831049f87a93c78470e33e68f7f105b69
parent6197d01def79876e2c1670ced871e10b12c36241
[CodeGen] Correctly implement the AVX512 psABI rules

An __m512 vector type wrapped in a structure should be passed in a
vector register.

Our prior implementation was based on a draft version of the psABI.

This fixes PR28975.

N.B. The update to the ABI was made here:
https://github.com/hjl-tools/x86-psABI/commit/30f9c9

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