diff options
| author | Craig Topper <craig.topper@intel.com> | 2017-08-18 04:52:46 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2017-08-18 04:52:46 +0000 |
| commit | e3edd9c9bec634e72d04ba509c4c9b051172a443 (patch) | |
| tree | 387b63652f786063872fb83763e5e9d96d379ff2 /llvm/lib/CodeGen/SelectionDAG | |
| parent | e739fc7d1156b1d8f53b3f3e19c557d0c81e6ecb (diff) | |
| download | bcm5719-llvm-e3edd9c9bec634e72d04ba509c4c9b051172a443.tar.gz bcm5719-llvm-e3edd9c9bec634e72d04ba509c4c9b051172a443.zip | |
[DAGCombiner] Fix bad comment that had immediate values swapped from the code and what they need to be to make sense. NFC
llvm-svn: 311144
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 5a5a81e8f6e..6a5e85f3d7f 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -4029,7 +4029,7 @@ SDValue DAGCombiner::MatchBSwapHWordLow(SDNode *N, SDValue N0, SDValue N1, if (!TLI.isOperationLegalOrCustom(ISD::BSWAP, VT)) return SDValue(); - // Recognize (and (shl a, 8), 0xff), (and (srl a, 8), 0xff00) + // Recognize (and (shl a, 8), 0xff00), (and (srl a, 8), 0xff) bool LookPassAnd0 = false; bool LookPassAnd1 = false; if (N0.getOpcode() == ISD::AND && N0.getOperand(0).getOpcode() == ISD::SRL) |

