summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp b/llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp
index 7ace3c10d43..fdf1dd338a7 100644
--- a/llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp
+++ b/llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp
@@ -43,8 +43,9 @@ namespace {
case PPC::IMPLICIT_DEF: // no asm emitted
return 0;
default:
- return 4; // PowerPC instructions are all 4 bytes
+ break;
}
+ return 4; // PowerPC instructions are all 4 bytes
}
virtual bool runOnMachineFunction(MachineFunction &Fn) {
OpenPOWER on IntegriCloud