[LoongArch] Remove unnecessary `static` keyword as `const` has internal linkage. NFC
authorWeining Lu <luweining@loongson.cn>
Sun, 12 Jun 2022 02:03:04 +0000 (10:03 +0800)
committerWeining Lu <luweining@loongson.cn>
Sun, 12 Jun 2022 02:05:47 +0000 (10:05 +0800)
See https://reviews.llvm.org/D127199#inline-1222815

llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp

index 3669b9e..3792cb0 100644 (file)
@@ -65,7 +65,7 @@ const char *LoongArchTargetLowering::getTargetNodeName(unsigned Opcode) const {
 //===----------------------------------------------------------------------===//
 // FIXME: Now, we only support CallingConv::C with fixed arguments which are
 // passed with integer registers.
-static const MCPhysReg ArgGPRs[] = {
+const MCPhysReg ArgGPRs[] = {
     LoongArch::R4, LoongArch::R5, LoongArch::R6,  LoongArch::R7,
     LoongArch::R8, LoongArch::R9, LoongArch::R10, LoongArch::R11};