diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2025-04-15 06:08:36 +0200 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2025-04-17 05:09:36 +0200 |
commit | a4f81e168e02b0b1f8894070c6552b85672d4ee5 (patch) | |
tree | bd5e397e479fe26a239c1094321982633aa38139 /gcc/testsuite/gcc.target/powerpc/pr47197.c | |
parent | ac31e41c584c59f8f2e381d545235a32b7c9e406 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
Fix misleading comments. That function only determines whether
replacements cost more; it doesn't actually *validate* costs as being
cheaper.
For example, it returns true also if it for various reasons cannot
determine the costs, or if the new cost is the same, like when doing
an identity replacement. The code has been the same since
r0-59417-g64b8935d4809f3.
* combine.cc: Correct comments about combine_validate_cost.
Diffstat (limited to 'gcc/testsuite/gcc.target/powerpc/pr47197.c')
0 files changed, 0 insertions, 0 deletions