[llvm] r317588 - [SelectionDAG] Fix typo in comment. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 7 08:32:31 PST 2017


Author: ctopper
Date: Tue Nov  7 08:32:31 2017
New Revision: 317588

URL: http://llvm.org/viewvc/llvm-project?rev=317588&view=rev
Log:
[SelectionDAG] Fix typo in comment. NFC

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp?rev=317588&r1=317587&r2=317588&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp Tue Nov  7 08:32:31 2017
@@ -3862,7 +3862,7 @@ void SelectionDAGBuilder::visitMaskedSto
 //
 // When the first GEP operand is a single pointer - it is the uniform base we
 // are looking for. If first operand of the GEP is a splat vector - we
-// extract the spalt value and use it as a uniform base.
+// extract the splat value and use it as a uniform base.
 // In all other cases the function returns 'false'.
 static bool getUniformBase(const Value* &Ptr, SDValue& Base, SDValue& Index,
                            SelectionDAGBuilder* SDB) {




More information about the llvm-commits mailing list