forked from OSchip/llvm-project
[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
This commit is contained in:
parent
e739fc7d11
commit
e3edd9c9be
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue