[llvm] r265356 - fix typos; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 4 15:45:59 PDT 2016
Author: spatel
Date: Mon Apr 4 17:45:56 2016
New Revision: 265356
URL: http://llvm.org/viewvc/llvm-project?rev=265356&view=rev
Log:
fix typos; NFC
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp?rev=265356&r1=265355&r2=265356&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Mon Apr 4 17:45:56 2016
@@ -1628,8 +1628,8 @@ SDValue DAGCombiner::visitMERGE_VALUES(S
return SDValue(N, 0); // Return N so it doesn't get rechecked!
}
-/// If \p N is a ContantSDNode with isOpaque() == false return it casted to a
-/// ContantSDNode pointer else nullptr.
+/// If \p N is a ConstantSDNode with isOpaque() == false return it casted to a
+/// ConstantSDNode pointer else nullptr.
static ConstantSDNode *getAsNonOpaqueConstant(SDValue N) {
ConstantSDNode *Const = dyn_cast<ConstantSDNode>(N);
return Const != nullptr && !Const->isOpaque() ? Const : nullptr;
More information about the llvm-commits
mailing list