Landing: cfd84583a556
Project / Subsystem
gcc / phiopt
Date
2026-08-08
Author
Andrea Pinski
Commit
cfd84583a556889da6d8e777ab3a9e24557f9a02
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- phiopt
- patch_id
- —
- commit_hash
- cfd84583a556889da6d8e777ab3a9e24557f9a02
- source_type
- github
- headline
- phiopt: Fix up factoring out loads for REF_REVERSE_STORAGE_ORDER [PR126729]
- tldr
- Fixes an oversight in conditional load factoring that caused storage order information to be lost or mismatched.
- author
- Andrea Pinski
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • bugfix
- • phiopt
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-08T00:00:00.000Z
This commit addresses an issue in the phiopt optimization pass where the factor_out_conditional_load function did not correctly handle the REF_REVERSE_STORAGE_ORDER attribute. This oversight could lead to the loss of this attribute or incorrect handling when conditional loads were factored out. The fix ensures that this storage order information is preserved and correctly matched, preventing potential code generation errors.