[llvm] b30bbd1 - Small formating nit in DAGCombiner. NFC

Amaury Séchet via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 26 06:36:21 PDT 2022


Author: Amaury Séchet
Date: 2022-09-26T13:36:11Z
New Revision: b30bbd181b6fc0b67bda9a4cd557ccd8c4b115ec

URL: https://github.com/llvm/llvm-project/commit/b30bbd181b6fc0b67bda9a4cd557ccd8c4b115ec
DIFF: https://github.com/llvm/llvm-project/commit/b30bbd181b6fc0b67bda9a4cd557ccd8c4b115ec.diff

LOG: Small formating nit in DAGCombiner. 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 dbaf9545de7d..7b7ced40c3a6 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -23944,7 +23944,8 @@ SDValue DAGCombiner::SimplifyVBinOp(SDNode *N, const SDLoc &DL) {
 
 SDValue DAGCombiner::SimplifySelect(const SDLoc &DL, SDValue N0, SDValue N1,
                                     SDValue N2) {
-  assert(N0.getOpcode() ==ISD::SETCC && "First argument must be a SetCC node!");
+  assert(N0.getOpcode() == ISD::SETCC &&
+         "First argument must be a SetCC node!");
 
   SDValue SCC = SimplifySelectCC(DL, N0.getOperand(0), N0.getOperand(1), N1, N2,
                                  cast<CondCodeSDNode>(N0.getOperand(2))->get());


        


More information about the llvm-commits mailing list