Rename APFloat::convertToAPInt to bitcastToAPInt to
make it clearer what the function does. No functional
change.
llvm-svn: 57325
diff --git a/llvm/lib/Target/CppBackend/CPPBackend.cpp b/llvm/lib/Target/CppBackend/CPPBackend.cpp
index 75a77a8..21e6735 100644
--- a/llvm/lib/Target/CppBackend/CPPBackend.cpp
+++ b/llvm/lib/Target/CppBackend/CPPBackend.cpp
@@ -254,11 +254,12 @@
Out << StrVal << "f";
} else if (CFP->getType() == Type::DoubleTy)
Out << "BitsToDouble(0x"
- << utohexstr(CFP->getValueAPF().convertToAPInt().getZExtValue())
+ << utohexstr(CFP->getValueAPF().bitcastToAPInt().getZExtValue())
<< "ULL) /* " << StrVal << " */";
else
Out << "BitsToFloat(0x"
- << utohexstr((uint32_t)CFP->getValueAPF().convertToAPInt().getZExtValue())
+ << utohexstr((uint32_t)CFP->getValueAPF().
+ bitcastToAPInt().getZExtValue())
<< "U) /* " << StrVal << " */";
Out << ")";
#if HAVE_PRINTF_A