[llvm] 46d6f76 - [InstCombine] fix typo in comment; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Fri May 8 12:43:25 PDT 2020
Author: Sanjay Patel
Date: 2020-05-08T15:43:14-04:00
New Revision: 46d6f76be309ef5348af861ac80ba1b6b5985b16
URL: https://github.com/llvm/llvm-project/commit/46d6f76be309ef5348af861ac80ba1b6b5985b16
DIFF: https://github.com/llvm/llvm-project/commit/46d6f76be309ef5348af861ac80ba1b6b5985b16.diff
LOG: [InstCombine] fix typo in comment; NFC
Added:
Modified:
llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
index 4e08043d718f..2bb314069121 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) &&
More information about the llvm-commits
mailing list