summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-04-04 22:45:56 +0000
committerSanjay Patel <spatel@rotateright.com>2016-04-04 22:45:56 +0000
commit769b5fd546c55a1c37cb037e3fe6c249b953b1c3 (patch)
tree2dc972dca580e50f91fd1b5ece9509f901e6c5a8 /llvm/lib/CodeGen
parente635215009ed6db7d810a56364b04fb0614dc47e (diff)
downloadbcm5719-llvm-769b5fd546c55a1c37cb037e3fe6c249b953b1c3.tar.gz
bcm5719-llvm-769b5fd546c55a1c37cb037e3fe6c249b953b1c3.zip
fix typos; NFC
llvm-svn: 265356
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index d05bb7ccf2d..cc0183d538c 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -1628,8 +1628,8 @@ SDValue DAGCombiner::visitMERGE_VALUES(SDNode *N) {
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;
OpenPOWER on IntegriCloud