[llvm-commits] [llvm] r52144 - /llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp
Dan Gohman
gohman at apple.com
Mon Jun 9 07:08:12 PDT 2008
Author: djg
Date: Mon Jun 9 09:08:11 2008
New Revision: 52144
URL: http://llvm.org/viewvc/llvm-project?rev=52144&view=rev
Log:
Update the CPP backend for the ConstantFP::get API change.
Modified:
llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp
Modified: llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp?rev=52144&r1=52143&r2=52144&view=diff
==============================================================================
--- llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp (original)
+++ llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp Mon Jun 9 09:08:11 2008
@@ -221,10 +221,6 @@
if (CFP->getType() == Type::FloatTy)
APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven);
Out << "ConstantFP::get(";
- if (CFP->getType() == Type::DoubleTy)
- Out << "Type::DoubleTy, ";
- else
- Out << "Type::FloatTy, ";
Out << "APFloat(";
#if HAVE_PRINTF_A
char Buffer[100];
More information about the llvm-commits
mailing list