Check for branch range overflows and add a testcase.
LGTM, but suggestions for stricter test case.
|5–9 ↗||(On Diff #224614)|
I'd make the subsequent ones CHECK-NEXT.
Also may make sense to constrain the FileCheck with implicit-check-not='out of range' to make sure no range errors are emitted that aren't checked for.
|5 ↗||(On Diff #224637)|
#CHECK -> # CHECK
If such branch relocation types have a categorical name, e.g. jump, consider rename this test to something like hexagon-jump-error.s
x86-64-reloc-error.s aarch64-lo21-error.s # the name is good