[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)
commitb229cb0a43176dc75cc3883b1595c19e919ce00b
tree5b24c587984fd782133836097ddefdcdab445c00
parentf774de6d54f22960cd5273b136a254a7ee5a306e
[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

llvm-svn: 278655
clang/lib/CodeGen/TargetInfo.cpp
clang/test/CodeGen/x86_64-arguments.c