[llvm] e6fc845 - [DAGCombiner] Fix incorrect indentation. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon May 16 09:38:22 PDT 2022
Author: Craig Topper
Date: 2022-05-16T09:27:15-07:00
New Revision: e6fc8454bee5dc89be27fe1db826fb0bb30d74aa
URL: https://github.com/llvm/llvm-project/commit/e6fc8454bee5dc89be27fe1db826fb0bb30d74aa
DIFF: https://github.com/llvm/llvm-project/commit/e6fc8454bee5dc89be27fe1db826fb0bb30d74aa.diff
LOG: [DAGCombiner] Fix incorrect indentation. NFC
Added:
Modified:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index ed2b0a8c36d6..9d7f4de3c142 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -6418,9 +6418,9 @@ SDValue DAGCombiner::MatchBSwapHWordLow(SDNode *N, SDValue N0, SDValue N1,
bool LookPassAnd0 = false;
bool LookPassAnd1 = false;
if (N0.getOpcode() == ISD::AND && N0.getOperand(0).getOpcode() == ISD::SRL)
- std::swap(N0, N1);
+ std::swap(N0, N1);
if (N1.getOpcode() == ISD::AND && N1.getOperand(0).getOpcode() == ISD::SHL)
- std::swap(N0, N1);
+ std::swap(N0, N1);
if (N0.getOpcode() == ISD::AND) {
if (!N0->hasOneUse())
return SDValue();
More information about the llvm-commits
mailing list