[llvm] 0ec9ccb - InstCombine: Fix typo in comment
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 24 04:42:42 PDT 2023
Author: Matt Arsenault
Date: 2023-08-24T07:42:37-04:00
New Revision: 0ec9ccb39e2e93f46699366cb5e212931ef1dac6
URL: https://github.com/llvm/llvm-project/commit/0ec9ccb39e2e93f46699366cb5e212931ef1dac6
DIFF: https://github.com/llvm/llvm-project/commit/0ec9ccb39e2e93f46699366cb5e212931ef1dac6.diff
LOG: InstCombine: Fix typo in comment
Added:
Modified:
llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp b/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
index 50458e2773e63d..86cacf97983912 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
@@ -802,7 +802,7 @@ Instruction *InstCombinerImpl::visitFMul(BinaryOperator &I) {
I.hasNoSignedZeros() && match(Start, m_Zero()))
return replaceInstUsesWith(I, Start);
- // minimun(X, Y) * maximum(X, Y) => X * Y.
+ // minimum(X, Y) * maximum(X, Y) => X * Y.
if (match(&I,
m_c_FMul(m_Intrinsic<Intrinsic::maximum>(m_Value(X), m_Value(Y)),
m_c_Intrinsic<Intrinsic::minimum>(m_Deferred(X),
More information about the llvm-commits
mailing list