]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: Re-enable ldp/stp fusion pass
authorAlex Coplan <alex.coplan@arm.com>
Wed, 24 Jan 2024 09:22:19 +0000 (09:22 +0000)
committerAlex Coplan <alex.coplan@arm.com>
Wed, 24 Jan 2024 09:22:19 +0000 (09:22 +0000)
Since, to the best of my knowledge, all reported regressions related to
the ldp/stp fusion pass have now been fixed, and PGO+LTO bootstrap with
--enable-languages=all is working again with the passes enabled, this
patch turns the passes back on by default, as agreed with Jakub here:

https://gcc.gnu.org/pipermail/gcc-patches/2024-January/642478.html

gcc/ChangeLog:

* config/aarch64/aarch64.opt (-mearly-ldp-fusion): Set default
to 1.
(-mlate-ldp-fusion): Likewise.

gcc/config/aarch64/aarch64.opt

index c495cb34fbfb4144b14dfae4fdbf64689c8e23a0..ceed5cdb201fcdeb74f520eb5205da18109926d4 100644 (file)
@@ -290,12 +290,12 @@ Target Var(aarch64_track_speculation)
 Generate code to track when the CPU might be speculating incorrectly.
 
 mearly-ldp-fusion
-Target Var(flag_aarch64_early_ldp_fusion) Optimization Init(0)
+Target Var(flag_aarch64_early_ldp_fusion) Optimization Init(1)
 Enable the copy of the AArch64 load/store pair fusion pass that runs before
 register allocation.
 
 mlate-ldp-fusion
-Target Var(flag_aarch64_late_ldp_fusion) Optimization Init(0)
+Target Var(flag_aarch64_late_ldp_fusion) Optimization Init(1)
 Enable the copy of the AArch64 load/store pair fusion pass that runs after
 register allocation.