summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Triple.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2014-12-02 16:04:58 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2014-12-02 16:04:58 +0000
commitd90dd7977e2d25a4f190c833114d97d354ce0590 (patch)
tree62459a8646ce57164c8f687edfeb4665580f5455 /llvm/lib/Support/Triple.cpp
parent870e7909243e0e7c02d40ce363aaf6bd53c28d21 (diff)
downloadbcm5719-llvm-d90dd7977e2d25a4f190c833114d97d354ce0590.tar.gz
bcm5719-llvm-d90dd7977e2d25a4f190c833114d97d354ce0590.zip
Fix invalid calling convention used for libcalls on ARM.
ARM ABI specifies that all the libcalls use soft FP ABI (even hard FP binaries). These days clang emits _mulsc3 / _muldc3 calls with default (C) calling convention which would be translated into AAPCS_VFP LLVM calling and thus the result of complex multiplication will be bogus. Introduce a way for a target to specify explicitly calling convention for libcalls. Right now this is temporary correctness fix. Ultimately, we'll end with intrinsic for complex multiplication and all calling convention decisions for libcalls will be put into backend. llvm-svn: 223123
Diffstat (limited to 'llvm/lib/Support/Triple.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud