Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. Bootstrap & regtest running on x86_64-unknown-linux-gnu, OK if that passes? Thanks, Richard. PR rtl-optimization/110587 * lra-assigns.cc (find_hard_regno_for_1): Re-order checks.
- Loading branch information