[llvm, RISC-V] Fix name hiding of TargetInstrInfo::isSafeToMove (NFC) (#240361)
When RISCVInstrInfo::isSafeToMove was added, it accidentally hidden the
TargetInstrInfo::isSafeToMove due to the name hiding rules.
from .../llvm/lib/Target/RISCV/GISel/RISCVCallLowering.cpp:18:
.../llvm/include/llvm/CodeGen/TargetInstrInfo.h:1805:16: warning:
‘virtual bool llvm::TargetInstrInfo::isSafeToMove(const
llvm::MachineInstr&, const llvm::MachineBasicBlock*, const
llvm::MachineFunction&) const’ was hidden [-Woverloaded-virtual=]
1805 | virtual bool isSafeToMove(const MachineInstr &MI,
| ^~~~~~~~~~~~
.../llvm/lib/Target/RISCV/RISCVInstrInfo.h:349:15: note: by ‘static bool
llvm::RISCVInstrInfo::isSafeToMove(const llvm::MachineInstr&, const
llvm::MachineBasicBlock::iterator&)’
349 | static bool isSafeToMove(const MachineInstr &From,
| ^~~~~~~~~~~~