[llvm] 544e029 - Fix typo. NFC

Diana Picus via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 18 01:56:37 PST 2023


Author: Diana Picus
Date: 2023-01-18T10:56:04+01:00
New Revision: 544e02906a48fbf9a79469d4588772b7c7b44041

URL: https://github.com/llvm/llvm-project/commit/544e02906a48fbf9a79469d4588772b7c7b44041
DIFF: https://github.com/llvm/llvm-project/commit/544e02906a48fbf9a79469d4588772b7c7b44041.diff

LOG: Fix typo. NFC

Added: 
    

Modified: 
    llvm/lib/CodeGen/GlobalISel/Utils.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/GlobalISel/Utils.cpp b/llvm/lib/CodeGen/GlobalISel/Utils.cpp
index 406d560f3a5e1..347ab2910e602 100644
--- a/llvm/lib/CodeGen/GlobalISel/Utils.cpp
+++ b/llvm/lib/CodeGen/GlobalISel/Utils.cpp
@@ -1055,7 +1055,7 @@ std::optional<ValueAndVReg> 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;
   }


        


More information about the llvm-commits mailing list