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:
parent
a487df7710
commit
5f7b94fd7b
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user