diff options
author | Dan Gohman <djg@cray.com> | 2007-10-11 23:09:10 +0000 |
---|---|---|
committer | Dan Gohman <djg@cray.com> | 2007-10-11 23:09:10 +0000 |
commit | fe67863e270972822d09cfc7e600e112508e9fa0 (patch) | |
tree | b63da10f1020de122f16fed34fd0db55d90c7f29 /lib | |
parent | 1d744bbe789014cd057ff17b72ca154d52f144d2 (diff) | |
download | external_llvm-fe67863e270972822d09cfc7e600e112508e9fa0.zip external_llvm-fe67863e270972822d09cfc7e600e112508e9fa0.tar.gz external_llvm-fe67863e270972822d09cfc7e600e112508e9fa0.tar.bz2 |
Add runtime library names for pow.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42880 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/SelectionDAG/TargetLowering.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp index d55b745..cffb03d 100644 --- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp @@ -73,6 +73,10 @@ static void InitLibcallNames(const char **Names) { Names[RTLIB::SIN_F64] = "sin"; Names[RTLIB::COS_F32] = "cosf"; Names[RTLIB::COS_F64] = "cos"; + Names[RTLIB::POW_F32] = "powf"; + Names[RTLIB::POW_F64] = "pow"; + Names[RTLIB::POW_F80] = "powl"; + Names[RTLIB::POW_PPCF128] = "powl"; Names[RTLIB::FPEXT_F32_F64] = "__extendsfdf2"; Names[RTLIB::FPROUND_F64_F32] = "__truncdfsf2"; Names[RTLIB::FPTOSINT_F32_I32] = "__fixsfsi"; |