diff options
-rw-r--r-- | llvm/lib/Target/SystemZ/SystemZLongBranch.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZLongBranch.cpp b/llvm/lib/Target/SystemZ/SystemZLongBranch.cpp index d9d1c7ea699..e50ebca2a74 100644 --- a/llvm/lib/Target/SystemZ/SystemZLongBranch.cpp +++ b/llvm/lib/Target/SystemZ/SystemZLongBranch.cpp @@ -320,15 +320,15 @@ void SystemZLongBranch::setWorstCaseAddresses() { void SystemZLongBranch::relaxBranch(TerminatorInfo &Terminator) { MachineInstr *Branch = Terminator.Branch; switch (Branch->getOpcode()) { - case SystemZ::J: - Branch->setDesc(TII->get(SystemZ::JG)); - break; - case SystemZ::BRC: - Branch->setDesc(TII->get(SystemZ::BRCL)); - break; - default: - llvm_unreachable("Unrecognized branch"); - } + case SystemZ::J: + Branch->setDesc(TII->get(SystemZ::JG)); + break; + case SystemZ::BRC: + Branch->setDesc(TII->get(SystemZ::BRCL)); + break; + default: + llvm_unreachable("Unrecognized branch"); + } Terminator.Size += Terminator.ExtraRelaxSize; Terminator.ExtraRelaxSize = 0; |