diff options
author | Stam Markianos-Wright <stam.markianos-wright@arm.com> | 2020-11-30 10:47:54 +0000 |
---|---|---|
committer | Stam Markianos-Wright <stam.markianos-wright@arm.com> | 2020-11-30 10:56:09 +0000 |
commit | 3a936a9ecddef58ad5b6ee11697c3f791b942708 (patch) | |
tree | ffbd0b574b10fc78f8e4ae823a16d162e2000592 /gcc/tree-ssa-loop-unswitch.c | |
parent | c715a3659873b5f6b449493f54a29c26d06dfd1c (diff) | |
download | gcc-3a936a9ecddef58ad5b6ee11697c3f791b942708.zip gcc-3a936a9ecddef58ad5b6ee11697c3f791b942708.tar.gz gcc-3a936a9ecddef58ad5b6ee11697c3f791b942708.tar.bz2 |
Backport of the patch for PR target/91816
This is a patch for an issue where the compiler was generating a
conditional branch in Thumb2, which was too far for b{cond} to handle.
This backport also includes the subsequent fixes to the test in this
patch.
gcc/ChangeLog
PR target/91816
* config/arm/arm-protos.h: New function arm_gen_far_branch prototype.
* config/arm/arm.c (arm_gen_far_branch): New function
arm_gen_far_branch.
* config/arm/arm.md: Update b<cond> for Thumb2 range checks.
gcc/testsuite/ChangeLog
PR target/91816
* gcc.target/arm/pr91816.c: New test.
Diffstat (limited to 'gcc/tree-ssa-loop-unswitch.c')
0 files changed, 0 insertions, 0 deletions