isSVR4ABI() returned !isDarwin() so just move that to the else

block and remove the unreachable code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209927 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2014-05-30 22:47:53 +00:00
parent 46949d58b9
commit 96241f26fc

View File

@ -53,11 +53,8 @@ extern cl::opt<bool> ANDIGlueBug;
static TargetLoweringObjectFile *createTLOF(const PPCTargetMachine &TM) {
if (TM.getSubtargetImpl()->isDarwin())
return new TargetLoweringObjectFileMachO();
if (TM.getSubtargetImpl()->isSVR4ABI())
else
return new PPC64LinuxTargetObjectFile();
return new TargetLoweringObjectFileELF();
}
PPCTargetLowering::PPCTargetLowering(PPCTargetMachine &TM)