Removing a switch statement that contains only a default label. This resolves an MSVC warning. No functional change intended.

llvm-svn: 193649
This commit is contained in:
Aaron Ballman 2013-10-29 20:40:52 +00:00
parent 9385f9f7c3
commit 9ab670fb54
1 changed files with 25 additions and 28 deletions

View File

@ -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;