[MCA][RISCV] Mark one of the internal CustomBehavior functions static. NFC

This function is only used in the same file.
This commit is contained in:
Min-Yih Hsu
2025-02-27 16:06:19 -08:00
parent 85f8bd111f
commit 30d7e21e4c

View File

@@ -205,7 +205,7 @@ getEEWAndEMUL(unsigned Opcode, RISCVVType::VLMUL LMUL, uint8_t SEW) {
return std::make_pair(EEW, *EMUL);
}
bool opcodeHasEEWAndEMULInfo(unsigned short Opcode) {
static bool opcodeHasEEWAndEMULInfo(unsigned short Opcode) {
return Opcode == RISCV::VLM_V || Opcode == RISCV::VSM_V ||
Opcode == RISCV::VLE8_V || Opcode == RISCV::VSE8_V ||
Opcode == RISCV::VLE16_V || Opcode == RISCV::VSE16_V ||