[InstCombine] fix typo in comment; NFC
authorSanjay Patel <spatel@rotateright.com>
Fri, 8 May 2020 19:42:54 +0000 (15:42 -0400)
committerSanjay Patel <spatel@rotateright.com>
Fri, 8 May 2020 19:43:14 +0000 (15:43 -0400)
llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp

index 4e08043..2bb3140 100644 (file)
@@ -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) &&