[llvm] cfb0d62 - [MergeICmps][NFC] Fix a couple of typos in a comment

Fraser Cormack via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 15 06:48:07 PST 2022


Author: Fraser Cormack
Date: 2022-11-15T14:46:23Z
New Revision: cfb0d628a77814721b8c6a6ab83b4cb4be6ea3eb

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

LOG: [MergeICmps][NFC] Fix a couple of typos in a comment

Added: 
    

Modified: 
    llvm/lib/Transforms/Scalar/MergeICmps.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Scalar/MergeICmps.cpp b/llvm/lib/Transforms/Scalar/MergeICmps.cpp
index e0223dbf889f..673c40c76812 100644
--- a/llvm/lib/Transforms/Scalar/MergeICmps.cpp
+++ b/llvm/lib/Transforms/Scalar/MergeICmps.cpp
@@ -153,7 +153,7 @@ BCEAtom visitICmpLoadOperand(Value *const Val, BaseIdentifier &BaseId) {
   if (!isDereferenceablePointer(Addr, LoadI->getType(), DL)) {
     LLVM_DEBUG(dbgs() << "not dereferenceable\n");
     // We need to make sure that we can do comparison in any order, so we
-    // require memory to be unconditionnally dereferencable.
+    // require memory to be unconditionally dereferenceable.
     return {};
   }
 


        


More information about the llvm-commits mailing list