ARM: Fix fastcc calling convention for Thumb1
authorOliver Stannard <oliver.stannard@arm.com>
Fri, 13 Jun 2014 08:33:03 +0000 (08:33 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Fri, 13 Jun 2014 08:33:03 +0000 (08:33 +0000)
commita19c2d4a6d5e8849dd2d21f0a2653ae9f85d2d22
treecde18fcee9d1f47ce3161616adc25a4ddc2fa9e4
parentefa4805b5836c8f496154b2607d2983d83211ee8
ARM: Fix fastcc calling convention for Thumb1

When targetting Thumb1 on a processor which has a VFP unit (which
is not accessible from Thumb1), we were converting the fastcc calling
convention to AAPCS-VFP, which is not possible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210889 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/Thumb/fastcc.ll [new file with mode: 0644]