aboutsummaryrefslogtreecommitdiff
path: root/libphobos/libdruntime/etc
diff options
context:
space:
mode:
authorAndrew Pinski <quic_apinski@quicinc.com>2025-07-16 09:31:35 -0700
committerAndrew Pinski <quic_apinski@quicinc.com>2025-07-17 11:38:44 -0700
commit6916639b48357334579cf94717a3e51dd003e940 (patch)
treea998ffdb6f03ad28cd227c2d300657a390bbec6a /libphobos/libdruntime/etc
parent2954038c821d5f672db89938c4b6feedf29c30aa (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
gcse: Skip hardreg pre when the hardreg is never live [PR121095]HEADtrunkmaster
r15-6789-ge7f98d9603808b added a new RTL pass for hardreg PRE for the hard register of FPM_REGNUM, this pass could get expensive if you have a large number of basic blocks and the hard register was never live so it does nothing in the end. In the aarch64 case, FPM_REGNUM is only used for FP8 related code so it has a high probability of not being used. So skipping the pass for that register can improve both compile time and memory usage. Build and tested for aarch64-linux-gnu. PR middle-end/121095 gcc/ChangeLog: * gcse.cc (execute_hardreg_pre): Skip if the hardreg which is never live. Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
Diffstat (limited to 'libphobos/libdruntime/etc')
0 files changed, 0 insertions, 0 deletions