]> granicus.if.org Git - llvm/commit
[ARM] Honor -mfloat-abi for libcall calling convention
authorEli Friedman <efriedma@codeaurora.org>
Thu, 26 Oct 2017 21:42:32 +0000 (21:42 +0000)
committerEli Friedman <efriedma@codeaurora.org>
Thu, 26 Oct 2017 21:42:32 +0000 (21:42 +0000)
commit15a2af58f75903604cffa2eafd5c98c2f15a07f8
tree3c22e61a6893bb53e97fd507c22857ead489cdd1
parent1da3748d0f6a68507ab0ff407cd05d80b285f532
[ARM] Honor -mfloat-abi for libcall calling convention

As far as I can tell, this matches gcc: -mfloat-abi determines the
calling convention for all functions except those explicitly defined as
soft-float in the ARM RTABI.

This change only affects cases where the user specifies -mfloat-abi to
override the default calling convention derived from the target triple.

Fixes https://bugs.llvm.org//show_bug.cgi?id=34530.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316708 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/Thumb2/intrinsics-cc.ll