mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-23 05:29:23 +00:00
correct spelling, NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223274 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b0ec6c21b7
commit
704923b2ba
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user