aboutsummaryrefslogtreecommitdiff
path: root/libgm2
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-07-25 15:36:30 +0200
committerRichard Biener <rguenther@suse.de>2023-08-09 08:46:58 +0200
commitb66e613a1a8d5b8fc9d8b03f7b60260700acf833 (patch)
treedf8e289d66738028385fbc9c82906d02778900d6 /libgm2
parent0412f0e374de1f66e20c407e0b519324af3fd5b6 (diff)
downloadgcc-b66e613a1a8d5b8fc9d8b03f7b60260700acf833.zip
gcc-b66e613a1a8d5b8fc9d8b03f7b60260700acf833.tar.gz
gcc-b66e613a1a8d5b8fc9d8b03f7b60260700acf833.tar.bz2
rtl-optimization/110587 - speedup find_hard_regno_for_1
The following applies a micro-optimization to find_hard_regno_for_1, re-ordering the check so we can easily jump-thread by using an else. This reduces the time spent in this function by 15% for the testcase in the PR. PR rtl-optimization/110587 * lra-assigns.cc (find_hard_regno_for_1): Re-order checks.
Diffstat (limited to 'libgm2')
0 files changed, 0 insertions, 0 deletions