From 031a7ad5753b210e9e30659e5bdc82a7e98f7406 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Amaury=20S=C3=A9chet?= Date: Fri, 30 Sep 2022 12:30:27 +0000 Subject: [PATCH] [NFC] Fix erroneous indentation. --- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index d6190ad..07d5bfa 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -10293,12 +10293,12 @@ SDValue DAGCombiner::foldSelectOfConstants(SDNode *N) { return NotCond; } - // select Cond, 0, -1 --> sext (!Cond) - if (C1->isZero() && C2->isAllOnes()) { - SDValue NotCond = DAG.getNOT(DL, Cond, MVT::i1); - NotCond = DAG.getSExtOrTrunc(NotCond, DL, VT); - return NotCond; - } + // select Cond, 0, -1 --> sext (!Cond) + if (C1->isZero() && C2->isAllOnes()) { + SDValue NotCond = DAG.getNOT(DL, Cond, MVT::i1); + NotCond = DAG.getSExtOrTrunc(NotCond, DL, VT); + return NotCond; + } // Use a target hook because some targets may prefer to transform in the // other direction. -- 2.7.4