[llvm] 3151fca - [NFC] Fix typo in comment for `isReplicationMask()`

Roman Lebedev via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 5 09:23:13 PDT 2021


Author: Roman Lebedev
Date: 2021-11-05T19:22:47+03:00
New Revision: 3151fca9f3698a1dc4f07a26351f5c6f06688d89

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

LOG: [NFC] Fix typo in comment for `isReplicationMask()`

This was mentioned in https://reviews.llvm.org/D113214#inline-1080385
but i forgot to stage the change before committing.

Added: 
    

Modified: 
    llvm/include/llvm/IR/Instructions.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/IR/Instructions.h b/llvm/include/llvm/IR/Instructions.h
index cf8ef5be66c5..b380e34523a7 100644
--- a/llvm/include/llvm/IR/Instructions.h
+++ b/llvm/include/llvm/IR/Instructions.h
@@ -2372,7 +2372,7 @@ class ShuffleVectorInst : public Instruction {
     return isReplicationMask(MaskAsInts, ReplicationFactor, VF);
   }
 
-  /// Return true if this shuffle mask is an replication mask.
+  /// Return true if this shuffle mask is a replication mask.
   bool isReplicationMask(int &ReplicationFactor, int &VF) const {
     // Not possible to express a shuffle mask for a scalable vector for this
     // case.


        


More information about the llvm-commits mailing list