diff options
| author | Roman Lebedev <lebedev.ri@gmail.com> | 2018-05-06 20:02:22 +0000 |
|---|---|---|
| committer | Roman Lebedev <lebedev.ri@gmail.com> | 2018-05-06 20:02:22 +0000 |
| commit | cb1af9134a19d3f0abe923917562931c29a40d77 (patch) | |
| tree | 203106afc4a428bfc5c6acc0b7e6ec8d4df31283 /llvm | |
| parent | 7cb6896732dc188121984b7554e229e6bdce9124 (diff) | |
| download | bcm5719-llvm-cb1af9134a19d3f0abe923917562931c29a40d77.tar.gz bcm5719-llvm-cb1af9134a19d3f0abe923917562931c29a40d77.zip | |
[NFC][DAGCombine] unfoldMaskedMerge(): rename two variables
The current names can be confused with the A and B sides
of the canonical masked merge pattern.
llvm-svn: 331609
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 9bcdcdc1578..322e9be0083 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -5412,10 +5412,10 @@ SDValue DAGCombiner::unfoldMaskedMerge(SDNode *N) { return true; }; - SDValue A = N->getOperand(0); - SDValue B = N->getOperand(1); - if (!matchAndXor(A, 0, B) && !matchAndXor(A, 1, B) && !matchAndXor(B, 0, A) && - !matchAndXor(B, 1, A)) + SDValue N0 = N->getOperand(0); + SDValue N1 = N->getOperand(1); + if (!matchAndXor(N0, 0, N1) && !matchAndXor(N0, 1, N1) && + !matchAndXor(N1, 0, N0) && !matchAndXor(N1, 1, N0)) return SDValue(); // Don't do anything if the mask is constant. This should not be reachable. |

