Skip to content

Commit

Permalink
[LoongArch] Remove unnecessary static keyword as const has intern…
Browse files Browse the repository at this point in the history
  • Loading branch information
SixWeining committed Jun 12, 2022
1 parent 982f65a commit 229e08c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
Expand Up @@ -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};

Expand Down

0 comments on commit 229e08c

Please sign in to comment.