[llvm] eec0ac9 - [RISCV] clang-format lowerReductionSeq. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 9 17:03:43 PST 2022


Author: Craig Topper
Date: 2022-12-09T17:03:35-08:00
New Revision: eec0ac972690946c6c0ccbc1391c86bb54597735

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

LOG: [RISCV] clang-format lowerReductionSeq. NFC

Wraps a long line to 80 columns.

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
index 69e1c8cf1fa0..76315d5489b5 100644
--- a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@ -5805,8 +5805,10 @@ static bool hasNonZeroAVL(SDValue AVL) {
 
 /// Helper to lower a reduction sequence of the form:
 /// scalar = reduce_op vec, scalar_start
-static SDValue lowerReductionSeq(unsigned RVVOpcode, SDValue StartValue, SDValue Vec, SDValue Mask, SDValue VL,
-                                 SDLoc DL, SelectionDAG &DAG, const RISCVSubtarget &Subtarget) {
+static SDValue lowerReductionSeq(unsigned RVVOpcode, SDValue StartValue,
+                                 SDValue Vec, SDValue Mask, SDValue VL,
+                                 SDLoc DL, SelectionDAG &DAG,
+                                 const RISCVSubtarget &Subtarget) {
   const MVT VecVT = Vec.getSimpleValueType();
   const MVT VecEltVT = VecVT.getVectorElementType();
   const MVT M1VT = getLMUL1VT(VecVT);
@@ -5822,7 +5824,6 @@ static SDValue lowerReductionSeq(unsigned RVVOpcode, SDValue StartValue, SDValue
                      DAG.getConstant(0, DL, XLenVT));
 }
 
-
 SDValue RISCVTargetLowering::lowerVECREDUCE(SDValue Op,
                                             SelectionDAG &DAG) const {
   SDLoc DL(Op);


        


More information about the llvm-commits mailing list