[llvm] 45963ae - [LoongArch] clang-format some code in LoongArchISelLowering.cpp. NFC

Weining Lu via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 11 19:43:36 PDT 2022


Author: Weining Lu
Date: 2022-06-12T10:41:56+08:00
New Revision: 45963ae06d2b2fd118f4efd780f4edff24a6cb50

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

LOG: [LoongArch] clang-format some code in LoongArchISelLowering.cpp. NFC

Added: 
    

Modified: 
    llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp b/llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
index 3792cb0857ff..5e0b77af03c6 100644
--- a/llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+++ b/llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
@@ -65,9 +65,9 @@ const char *LoongArchTargetLowering::getTargetNodeName(unsigned Opcode) const {
 //===----------------------------------------------------------------------===//
 // FIXME: Now, we only support CallingConv::C with fixed arguments which are
 // passed with integer registers.
-const MCPhysReg ArgGPRs[] = {
-    LoongArch::R4, LoongArch::R5, LoongArch::R6,  LoongArch::R7,
-    LoongArch::R8, LoongArch::R9, LoongArch::R10, LoongArch::R11};
+const MCPhysReg ArgGPRs[] = {LoongArch::R4,  LoongArch::R5, LoongArch::R6,
+                             LoongArch::R7,  LoongArch::R8, LoongArch::R9,
+                             LoongArch::R10, LoongArch::R11};
 
 // Implements the LoongArch calling convention. Returns true upon failure.
 static bool CC_LoongArch(unsigned ValNo, MVT ValVT,


        


More information about the llvm-commits mailing list