mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-23 01:30:19 +00:00
Make method static
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194858 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4303b091d0
commit
c3ec7e2273
@ -367,7 +367,7 @@ bool SIInstrInfo::verifyInstruction(const MachineInstr *MI,
|
||||
return true;
|
||||
}
|
||||
|
||||
unsigned SIInstrInfo::getVALUOp(const MachineInstr &MI) const {
|
||||
unsigned SIInstrInfo::getVALUOp(const MachineInstr &MI) {
|
||||
switch (MI.getOpcode()) {
|
||||
default: return AMDGPU::INSTRUCTION_LIST_END;
|
||||
case AMDGPU::REG_SEQUENCE: return AMDGPU::REG_SEQUENCE;
|
||||
|
@ -68,7 +68,7 @@ public:
|
||||
StringRef &ErrInfo) const;
|
||||
|
||||
bool isSALUInstr(const MachineInstr &MI) const;
|
||||
unsigned getVALUOp(const MachineInstr &MI) const;
|
||||
static unsigned getVALUOp(const MachineInstr &MI);
|
||||
bool isSALUOpSupportedOnVALU(const MachineInstr &MI) const;
|
||||
|
||||
/// \brief Return the correct register class for \p OpNo. For target-specific
|
||||
|
Loading…
Reference in New Issue
Block a user