projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4abd14
)
ARM: stop explicitly marking armv7k libcalls as hard-float. NFC.
author
Tim Northover
<tnorthover@apple.com>
Wed, 18 Jul 2018 12:37:43 +0000
(12:37 +0000)
committer
Tim Northover
<tnorthover@apple.com>
Wed, 18 Jul 2018 12:37:43 +0000
(12:37 +0000)
Since the triple's default is hard float, the libcalls will already use VFP
registers.
llvm-svn: 337386
llvm/lib/Target/ARM/ARMISelLowering.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/ARM/ARMISelLowering.cpp
b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index
a57bb56
..
2e0f609
100644
(file)
--- a/
llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/
llvm/lib/Target/ARM/ARMISelLowering.cpp
@@
-308,13
+308,6
@@
ARMTargetLowering::ARMTargetLowering(const TargetMachine &TM,
setCmpLibcallCC(LC.Op, LC.Cond);
}
}
-
- // Set the correct calling convention for ARMv7k WatchOS. It's just
- // AAPCS_VFP for functions as simple as libcalls.
- if (Subtarget->isTargetWatchABI()) {
- for (int i = 0; i < RTLIB::UNKNOWN_LIBCALL; ++i)
- setLibcallCallingConv((RTLIB::Libcall)i, CallingConv::ARM_AAPCS_VFP);
- }
}
// These libcalls are not available in 32-bit.