OSDN Git Service

[SystemZ] Handle BRCTH branches correctly in SystemZLongBranch.cpp.
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Wed, 17 Jan 2018 17:16:07 +0000 (17:16 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Wed, 17 Jan 2018 17:16:07 +0000 (17:16 +0000)
commit88add379549977cb740ea2573f8e8315047ed649
treee7671a3207af3a689aaead5bf29fdff7fa17e2ae
parente1a3fe1fdba2645220f28c4d61bab3be9500202d
[SystemZ]  Handle BRCTH branches correctly in SystemZLongBranch.cpp.

BRCTH is capable of a long branch which needs to be recognized during branch
relaxation. This is done by checking for ExtraRelaxSize == 0.

Review: Ulrich Weigand

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322688 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZLongBranch.cpp
test/CodeGen/SystemZ/branch-12.ll [new file with mode: 0644]