OSDN Git Service

[X86] RegCall - Handling long double arguments
authorOren Ben Simhon <oren.ben.simhon@intel.com>
Sun, 20 Nov 2016 11:06:07 +0000 (11:06 +0000)
committerOren Ben Simhon <oren.ben.simhon@intel.com>
Sun, 20 Nov 2016 11:06:07 +0000 (11:06 +0000)
commit88688e8d483f70ee015128adb6a8b80b93c014cc
treed8046d23799e773e7c18ca0eeb8f09aa983b3417
parent815a7e07805074ca09827705da07c97f71c7a31c
[X86] RegCall - Handling long double arguments

The change is part of RegCall calling convention support for LLVM.
Long double (f80) requires special treatment as the first f80 parameter is saved in FP0 (floating point stack).
This review present the change and the corresponding tests.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287485 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86CallingConv.td
lib/Target/X86/X86FloatingPoint.cpp
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/avx512-regcall-NoMask.ll