OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb8d6de
)
[DAGCombiner] Fix bad comment that had immediate values swapped from the code and...
author
Craig Topper
<craig.topper@intel.com>
Fri, 18 Aug 2017 04:52:46 +0000
(
04:52
+0000)
committer
Craig Topper
<craig.topper@intel.com>
Fri, 18 Aug 2017 04:52:46 +0000
(
04:52
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311144
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index
5a5a81e
..
6a5e85f
100644
(file)
--- a/
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/
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), 0xff
00), (and (srl a, 8), 0xff
)
bool LookPassAnd0 = false;
bool LookPassAnd1 = false;
if (N0.getOpcode() == ISD::AND && N0.getOperand(0).getOpcode() == ISD::SRL)