diff options
author | Duncan Sands <baldrick@free.fr> | 2008-07-11 17:00:14 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-07-11 17:00:14 +0000 |
commit | 25df46a15574ee05b1a18202d6eb6fbca2ac74f3 (patch) | |
tree | 09113ff169adb4b8c259362656c76eaa45604b55 /include | |
parent | 3f71497401444fc6eace071a129048e1256119a4 (diff) | |
download | external_llvm-25df46a15574ee05b1a18202d6eb6fbca2ac74f3.zip external_llvm-25df46a15574ee05b1a18202d6eb6fbca2ac74f3.tar.gz external_llvm-25df46a15574ee05b1a18202d6eb6fbca2ac74f3.tar.bz2 |
It is pointless to turn a UINT_TO_FP into an
SINT_TO_FP libcall plus additional operations:
it might as well be a direct UINT_TO_FP libcall.
So only turn it into an SINT_TO_FP if the target
has special handling for SINT_TO_FP.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53461 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/RuntimeLibcalls.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/RuntimeLibcalls.h b/include/llvm/CodeGen/RuntimeLibcalls.h index 36b96e1..acbaa1a 100644 --- a/include/llvm/CodeGen/RuntimeLibcalls.h +++ b/include/llvm/CodeGen/RuntimeLibcalls.h @@ -137,8 +137,16 @@ namespace RTLIB { SINTTOFP_I128_PPCF128, UINTTOFP_I32_F32, UINTTOFP_I32_F64, + UINTTOFP_I32_F80, + UINTTOFP_I32_PPCF128, UINTTOFP_I64_F32, UINTTOFP_I64_F64, + UINTTOFP_I64_F80, + UINTTOFP_I64_PPCF128, + UINTTOFP_I128_F32, + UINTTOFP_I128_F64, + UINTTOFP_I128_F80, + UINTTOFP_I128_PPCF128, // COMPARISON OEQ_F32, |