1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

Update the CPP backend for the ConstantFP::get API change.

llvm-svn: 52144
This commit is contained in:
Dan Gohman 2008-06-09 14:08:11 +00:00
parent a487df7710
commit 5f7b94fd7b

View File

@ -221,10 +221,6 @@ namespace {
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];