[llvm] r223274 - correct spelling, NFC
Matthias Braun
matze at braunis.de
Wed Dec 3 14:10:39 PST 2014
Author: matze
Date: Wed Dec 3 16:10:39 2014
New Revision: 223274
URL: http://llvm.org/viewvc/llvm-project?rev=223274&view=rev
Log:
correct spelling, NFC
Modified:
llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp
Modified: llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp?rev=223274&r1=223273&r2=223274&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp Wed Dec 3 16:10:39 2014
@@ -1044,10 +1044,10 @@ static Value *valueHasFloatPrecision(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;
More information about the llvm-commits
mailing list