Landing: 02d187148375

Project / Subsystem

gcc / cselib

Date

2026-05-20

Author

Richard Sandiford

Commit

02d1871483758b2e6cd17fa1f0f3196cb32ffcc1

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
cselib
patch_id
commit_hash
02d1871483758b2e6cd17fa1f0f3196cb32ffcc1
source_type
github
headline
cselib: Simplify references_value_p
tldr
The function `references_value_p` in cselib is simplified by removing an unused parameter and converting it to use iterators, potentially improving compile tim…
author
Richard Sandiford
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • cselib
  • optimization
  • refactor
  • compile-time
discussion_id_link
bugzilla_pr
date
2026-05-20T00:00:00.000Z

The references_value_p function in cselib was simplified by removing the only_useless parameter, which is no longer needed. The function was also converted to use RTX iterators. While performance numbers aren’t available for this specific change, similar iterator conversions have previously shown significant compile-time improvements, particularly in the context of insn-extract.cc.