Landing: 67812af709d1

Project / Subsystem

gcc / phiprop

Date

2026-04-28

Author

Andrew Pinski

Commit

67812af709d121b73d582093aa9aeccf149b07ba

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
phiprop
patch_id
commit_hash
67812af709d121b73d582093aa9aeccf149b07ba
source_type
github
headline
Fix typo in phiprop's can_handle_load function.
tldr
This patch corrects a typo in the phiprop optimization pass, ensuring that load operations are handled correctly during propagation.
author
Andrew Pinski
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • optimization
  • bugfix
  • ssa
discussion_id_link
bugzilla_pr
date
2026-04-28T00:00:00.000Z

A typo in the can_handle_load function within the phiprop optimization pass has been corrected. The bug caused incorrect handling of load operations during propagation, potentially leading to suboptimal or incorrect code generation. The fix ensures that the basic block containing the virtual operand definition is properly dominated by the current basic block.