Omit else branch after return.

llvm-svn: 210034
This commit is contained in:
Eric Christopher 2014-06-02 17:29:07 +00:00
parent f9ea242d4f
commit a84189a2e4
1 changed files with 4 additions and 2 deletions

View File

@ -52,10 +52,12 @@ cl::desc("disable unaligned load/store generation on PPC"), cl::Hidden);
extern cl::opt<bool> ANDIGlueBug;
static TargetLoweringObjectFile *createTLOF(const Triple &TT) {
// If it isn't a Mach-O file then it's going to be a linux ELF
// object file.
if (TT.isOSDarwin())
return new TargetLoweringObjectFileMachO();
else
return new PPC64LinuxTargetObjectFile();
return new PPC64LinuxTargetObjectFile();
}
PPCTargetLowering::PPCTargetLowering(PPCTargetMachine &TM)