From 623eb54361e8e8f675439b162f70a703e782dd00 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Mon, 4 Jun 2018 14:54:53 +0000 Subject: [SelectionDAG] Add missing closing parentheses in comments, NFC llvm-svn: 333907 --- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'llvm/lib') diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index c1b948fd39c..13d71e08bc3 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -3518,9 +3518,9 @@ SDValue DAGCombiner::SimplifyBinOpWithSameOpcodeHands(SDNode *N) { ShOp = SDValue(); } - // (AND (shuf (A, C), shuf (B, C)) -> shuf (AND (A, B), C) - // (OR (shuf (A, C), shuf (B, C)) -> shuf (OR (A, B), C) - // (XOR (shuf (A, C), shuf (B, C)) -> shuf (XOR (A, B), V_0) + // (AND (shuf (A, C), shuf (B, C))) -> shuf (AND (A, B), C) + // (OR (shuf (A, C), shuf (B, C))) -> shuf (OR (A, B), C) + // (XOR (shuf (A, C), shuf (B, C))) -> shuf (XOR (A, B), V_0) if (N0.getOperand(1) == N1.getOperand(1) && ShOp.getNode()) { SDValue NewNode = DAG.getNode(N->getOpcode(), SDLoc(N), VT, N0->getOperand(0), N1->getOperand(0)); @@ -3539,9 +3539,9 @@ SDValue DAGCombiner::SimplifyBinOpWithSameOpcodeHands(SDNode *N) { ShOp = SDValue(); } - // (AND (shuf (C, A), shuf (C, B)) -> shuf (C, AND (A, B)) - // (OR (shuf (C, A), shuf (C, B)) -> shuf (C, OR (A, B)) - // (XOR (shuf (C, A), shuf (C, B)) -> shuf (V_0, XOR (A, B)) + // (AND (shuf (C, A), shuf (C, B))) -> shuf (C, AND (A, B)) + // (OR (shuf (C, A), shuf (C, B))) -> shuf (C, OR (A, B)) + // (XOR (shuf (C, A), shuf (C, B))) -> shuf (V_0, XOR (A, B)) if (N0->getOperand(0) == N1->getOperand(0) && ShOp.getNode()) { SDValue NewNode = DAG.getNode(N->getOpcode(), SDLoc(N), VT, N0->getOperand(1), N1->getOperand(1)); -- cgit v1.2.3