Skip to content

Commit 30d7e21

Browse files
committed
[MCA][RISCV] Mark one of the internal CustomBehavior functions static. NFC
This function is only used in the same file.
1 parent 85f8bd1 commit 30d7e21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/MCA/RISCVCustomBehaviour.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ getEEWAndEMUL(unsigned Opcode, RISCVVType::VLMUL LMUL, uint8_t SEW) {
205205
return std::make_pair(EEW, *EMUL);
206206
}
207207

208-
bool opcodeHasEEWAndEMULInfo(unsigned short Opcode) {
208+
static bool opcodeHasEEWAndEMULInfo(unsigned short Opcode) {
209209
return Opcode == RISCV::VLM_V || Opcode == RISCV::VSM_V ||
210210
Opcode == RISCV::VLE8_V || Opcode == RISCV::VSE8_V ||
211211
Opcode == RISCV::VLE16_V || Opcode == RISCV::VSE16_V ||

0 commit comments

Comments
 (0)