[SystemZ] Define MaxInstLength to have the value of 6.
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Fri, 23 Oct 2020 18:45:54 +0000 (20:45 +0200)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Sat, 24 Oct 2020 07:19:34 +0000 (09:19 +0200)
commit7c026a83ee903f00cb0a2827519ccd6f16b6ed03
tree7265318023ea8a8b4e849832d15d29cfa67851e7
parentd96cb52830fd7109cead60956a9b108935988e5c
[SystemZ] Define MaxInstLength to have the value of 6.

This value had the default value of 4 which caused branch relaxation to fail.

Review: Ulrich Weigand

Differential Revision: https://reviews.llvm.org/D90065
llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmInfo.cpp
llvm/test/CodeGen/SystemZ/Large/branch-range-13.py [new file with mode: 0644]