Landing: 5a3ad9374a73
Project / Subsystem
gcc / tree-data-ref
Date
2026-07-26
Author
Philipp Tomsich
Commit
5a3ad9374a73df7df7e8a00b1c06fbf30ad7298c
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- tree-data-ref
- patch_id
- —
- commit_hash
- 5a3ad9374a73df7df7e8a00b1c06fbf30ad7298c
- source_type
- github
- headline
- Tree-data-ref uses points-to info for alias analysis.
- tldr
- Improves alias analysis accuracy by using points-to information for SSA names.
- author
- Philipp Tomsich
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • alias analysis
- • vectorization
- • points-to analysis
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-26T00:00:00.000Z
This commit enhances the dr_may_alias_p function in tree-data-ref by utilizing points-to information stored in DR_PTR_INFO. This addresses an issue where pointer SSA names created after the last points-to computation lacked this information, leading to overly conservative alias analysis. By intersecting the new points-to solutions with existing ones, the accuracy of alias checks is improved, reducing runtime and enabling better vectorization, as demonstrated on SPEC CPU 2026’s 722.palm_r.