llvm.org GIT mirror llvm / 96241f2
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 Eric Christopher 6 years ago
1 changed file(s) with 1 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
5252 static TargetLoweringObjectFile *createTLOF(const PPCTargetMachine &TM) {
5353 if (TM.getSubtargetImpl()->isDarwin())
5454 return new TargetLoweringObjectFileMachO();
55
56 if (TM.getSubtargetImpl()->isSVR4ABI())
55 else
5756 return new PPC64LinuxTargetObjectFile();
58
59 return new TargetLoweringObjectFileELF();
6057 }
6158
6259 PPCTargetLowering::PPCTargetLowering(PPCTargetMachine &TM)