[llvm] r358531 - Fix a typo in comments. [NFC]

Ali Tamur via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 16 14:37:43 PDT 2019


Author: tamur
Date: Tue Apr 16 14:37:43 2019
New Revision: 358531

URL: http://llvm.org/viewvc/llvm-project?rev=358531&view=rev
Log:
Fix a typo in comments. [NFC]

Modified:
    llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp

Modified: llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp?rev=358531&r1=358530&r2=358531&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp Tue Apr 16 14:37:43 2019
@@ -877,7 +877,7 @@ public:
           // opcode of VL[Lane] and whether the operand at OpIdx is the LHS or
           // RHS operand. The LHS operand of both add and sub is never attached
           // to an inversese operation in the linearized form, therefore its APO
-          // is false. The RHS is ture only if VL[Lane] is an inverse operation.
+          // is false. The RHS is true only if VL[Lane] is an inverse operation.
 
           // Since operand reordering is performed on groups of commutative
           // operations or alternating sequences (e.g., +, -), we can safely




More information about the llvm-commits mailing list