[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)
commitc0f073b67f1e39ff3cd9ecbb6da2e8b62858e6f2
tree39f32896d80324ad4b0bef82a7511ab32703dce4
parent179ff0e541373f4d2c21b80df5d3d89b57444117
[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

llvm-svn: 287485
llvm/lib/Target/X86/X86CallingConv.td
llvm/lib/Target/X86/X86FloatingPoint.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/avx512-regcall-NoMask.ll