diff --git a/llvm/lib/CodeGen/GlobalISel/Utils.cpp b/llvm/lib/CodeGen/GlobalISel/Utils.cpp index 406d560f3a5e17..347ab2910e602b 100644 --- a/llvm/lib/CodeGen/GlobalISel/Utils.cpp +++ b/llvm/lib/CodeGen/GlobalISel/Utils.cpp @@ -1055,7 +1055,7 @@ std::optional getAnyConstantSplat(Register VReg, if (!SplatValAndReg) SplatValAndReg = ElementValAndReg; - // Different constant then the one already recorded, not a constant splat. + // Different constant than the one already recorded, not a constant splat. if (SplatValAndReg->Value != ElementValAndReg->Value) return std::nullopt; }