]> granicus.if.org Git - clang/commit
Fix AAPCS compliance for HFAs containing doubles and long doubles
authorOliver Stannard <oliver.stannard@arm.com>
Fri, 7 Feb 2014 11:25:57 +0000 (11:25 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Fri, 7 Feb 2014 11:25:57 +0000 (11:25 +0000)
commitb8a10f1a63fb7d56803f0ab881f1555b24bf2dee
treeacb44225efd9cf3a8b916e02f364b6cbf563ea89
parent7dc61d7338d65b39fcb9853de9c231f6d042f769
Fix AAPCS compliance for HFAs containing doubles and long doubles

An HFA is defined as a struct containing floating point values of the
same machine type. In the 32-bit ABI, double and long double have the
same machine type, so a struct with a mixture of these types must be an
HFA (assuming it meets the other criteria).

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