correct spelling, NFC

llvm-svn: 223274
This commit is contained in:
Matthias Braun 2014-12-03 22:10:39 +00:00
parent b3ff719b04
commit 395a82f6cc
1 changed files with 3 additions and 3 deletions

View File

@ -1044,10 +1044,10 @@ static Value *valueHasFloatPrecision(Value *Val) {
}
if (ConstantFP *Const = dyn_cast<ConstantFP>(Val)) {
APFloat F = Const->getValueAPF();
bool loosesInfo;
bool losesInfo;
(void)F.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven,
&loosesInfo);
if (!loosesInfo)
&losesInfo);
if (!losesInfo)
return ConstantFP::get(Const->getContext(), F);
}
return nullptr;