From 11b190e97965554b35593053747637b8f3291d83 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Mon, 2 Jun 2014 17:29:07 +0000 Subject: [PATCH] Omit else branch after return. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210034 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCISelLowering.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp index 29529156022..f3b0154103a 100644 --- a/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/lib/Target/PowerPC/PPCISelLowering.cpp @@ -52,10 +52,12 @@ cl::desc("disable unaligned load/store generation on PPC"), cl::Hidden); extern cl::opt 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) -- 2.34.1