mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Make method static
llvm-svn: 194858
This commit is contained in:
parent
90456d2ef5
commit
afd9f31433
@ -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