diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp index 4e08043d718f1..2bb3140691213 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp @@ -1736,7 +1736,7 @@ Instruction *InstCombiner::visitFPTrunc(FPTruncInst &FPT) { } /// Return true if the cast from integer to FP can be proven to be exact for all -/// possible inputs (the conversion does lose any precision). +/// possible inputs (the conversion does not lose any precision). static bool isKnownExactCastIntToFP(CastInst &I) { CastInst::CastOps Opcode = I.getOpcode(); assert((Opcode == CastInst::SIToFP || Opcode == CastInst::UIToFP) &&