mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-01 07:11:45 +00:00
[SelectionDAG] Add missing closing parentheses in comments, NFC
llvm-svn: 333907
This commit is contained in:
parent
5a12112c99
commit
d2627a7e7a
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user