mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
Replacing an empty switch with its moral equivalent. No functional changes intended.
llvm-svn: 186017
This commit is contained in:
parent
af2c19d481
commit
e3eec3e18c
@ -54,11 +54,7 @@ static MCSubtargetInfo *createMBlazeMCSubtargetInfo(StringRef TT, StringRef CPU,
|
||||
}
|
||||
|
||||
static MCAsmInfo *createMCAsmInfo(const MCRegisterInfo &MRI, StringRef TT) {
|
||||
Triple TheTriple(TT);
|
||||
switch (TheTriple.getOS()) {
|
||||
default:
|
||||
return new MBlazeMCAsmInfo();
|
||||
}
|
||||
return new MBlazeMCAsmInfo();
|
||||
}
|
||||
|
||||
static MCCodeGenInfo *createMBlazeMCCodeGenInfo(StringRef TT, Reloc::Model RM,
|
||||
|
@ -114,9 +114,7 @@ bool R600InstrInfo::isPlaceHolderOpcode(unsigned Opcode) const {
|
||||
}
|
||||
|
||||
bool R600InstrInfo::isReductionOp(unsigned Opcode) const {
|
||||
switch(Opcode) {
|
||||
default: return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool R600InstrInfo::isCubeOp(unsigned Opcode) const {
|
||||
|
Loading…
Reference in New Issue
Block a user