mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-27 02:31:09 +00:00
Removing a switch statement that contains only a default label. This resolves an MSVC warning. No functional change intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193649 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
615a279f81
commit
5203b7773e
@ -121,8 +121,6 @@ AMDGPUInstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB,
|
||||
bool AMDGPUInstrInfo::expandPostRAPseudo (MachineBasicBlock::iterator MI) const {
|
||||
MachineBasicBlock *MBB = MI->getParent();
|
||||
|
||||
switch(MI->getOpcode()) {
|
||||
default:
|
||||
if (isRegisterLoad(*MI)) {
|
||||
unsigned RegIndex = MI->getOperand(2).getImm();
|
||||
unsigned Channel = MI->getOperand(3).getImm();
|
||||
@ -151,7 +149,6 @@ bool AMDGPUInstrInfo::expandPostRAPseudo (MachineBasicBlock::iterator MI) const
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
MBB->erase(MI);
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user