From 7d8d36a69f4089d1829797aae90d276c9fb5b260 Mon Sep 17 00:00:00 2001 From: Sanjiv Gupta Date: Tue, 16 Jun 2009 10:22:58 +0000 Subject: [PATCH] Fixed names of libcalls checked in r73480. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73483 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/RuntimeLibcalls.h | 4 ---- lib/CodeGen/SelectionDAG/TargetLowering.cpp | 12 ++++-------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/include/llvm/CodeGen/RuntimeLibcalls.h b/include/llvm/CodeGen/RuntimeLibcalls.h index afc1411088b..7f2c8bc3684 100644 --- a/include/llvm/CodeGen/RuntimeLibcalls.h +++ b/include/llvm/CodeGen/RuntimeLibcalls.h @@ -181,8 +181,6 @@ namespace RTLIB { FPTOUINT_PPCF128_I32, FPTOUINT_PPCF128_I64, FPTOUINT_PPCF128_I128, - SINTTOFP_I32_F8, - SINTTOFP_I32_F16, SINTTOFP_I32_F32, SINTTOFP_I32_F64, SINTTOFP_I32_F80, @@ -195,8 +193,6 @@ namespace RTLIB { SINTTOFP_I128_F64, SINTTOFP_I128_F80, SINTTOFP_I128_PPCF128, - UINTTOFP_I32_F8, - UINTTOFP_I32_F16, UINTTOFP_I32_F32, UINTTOFP_I32_F64, UINTTOFP_I32_F80, diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 5b2706778a2..a771d4695a5 100644 --- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp @@ -171,8 +171,8 @@ static void InitLibcallNames(const char **Names) { Names[RTLIB::FPROUND_PPCF128_F32] = "__trunctfsf2"; Names[RTLIB::FPROUND_F80_F64] = "__truncxfdf2"; Names[RTLIB::FPROUND_PPCF128_F64] = "__trunctfdf2"; - Names[RTLIB::FPTOSINT_F32_I8] = "__fixsfsi"; - Names[RTLIB::FPTOSINT_F32_I16] = "__fixsfsi"; + Names[RTLIB::FPTOSINT_F32_I8] = "__fixsfi8"; + Names[RTLIB::FPTOSINT_F32_I16] = "__fixsfi16"; Names[RTLIB::FPTOSINT_F32_I32] = "__fixsfsi"; Names[RTLIB::FPTOSINT_F32_I64] = "__fixsfdi"; Names[RTLIB::FPTOSINT_F32_I128] = "__fixsfti"; @@ -185,8 +185,8 @@ static void InitLibcallNames(const char **Names) { Names[RTLIB::FPTOSINT_PPCF128_I32] = "__fixtfsi"; Names[RTLIB::FPTOSINT_PPCF128_I64] = "__fixtfdi"; Names[RTLIB::FPTOSINT_PPCF128_I128] = "__fixtfti"; - Names[RTLIB::FPTOUINT_F32_I8] = "__fixunssfsi"; - Names[RTLIB::FPTOUINT_F32_I16] = "__fixunssfsi"; + Names[RTLIB::FPTOUINT_F32_I8] = "__fixunssfi8"; + Names[RTLIB::FPTOUINT_F32_I16] = "__fixunssfi16"; Names[RTLIB::FPTOUINT_F32_I32] = "__fixunssfsi"; Names[RTLIB::FPTOUINT_F32_I64] = "__fixunssfdi"; Names[RTLIB::FPTOUINT_F32_I128] = "__fixunssfti"; @@ -199,8 +199,6 @@ static void InitLibcallNames(const char **Names) { Names[RTLIB::FPTOUINT_PPCF128_I32] = "__fixunstfsi"; Names[RTLIB::FPTOUINT_PPCF128_I64] = "__fixunstfdi"; Names[RTLIB::FPTOUINT_PPCF128_I128] = "__fixunstfti"; - Names[RTLIB::SINTTOFP_I32_F8] = "__floatsisf"; - Names[RTLIB::SINTTOFP_I32_F16] = "__floatsisf"; Names[RTLIB::SINTTOFP_I32_F32] = "__floatsisf"; Names[RTLIB::SINTTOFP_I32_F64] = "__floatsidf"; Names[RTLIB::SINTTOFP_I32_F80] = "__floatsixf"; @@ -213,8 +211,6 @@ static void InitLibcallNames(const char **Names) { Names[RTLIB::SINTTOFP_I128_F64] = "__floattidf"; Names[RTLIB::SINTTOFP_I128_F80] = "__floattixf"; Names[RTLIB::SINTTOFP_I128_PPCF128] = "__floattitf"; - Names[RTLIB::UINTTOFP_I32_F8] = "__floatunsisf"; - Names[RTLIB::UINTTOFP_I32_F16] = "__floatunsisf"; Names[RTLIB::UINTTOFP_I32_F32] = "__floatunsisf"; Names[RTLIB::UINTTOFP_I32_F64] = "__floatunsidf"; Names[RTLIB::UINTTOFP_I32_F80] = "__floatunsixf"; -- 2.34.1