Landing: 83a4c4c122ac

Project / Subsystem

gcc / gcc/phiprop

Date

2026-03-27

Author

Andrew Pinski

Commit

83a4c4c122ac8552f90a524906ba73f0602a2e8e

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/phiprop
patch_id
commit_hash
83a4c4c122ac8552f90a524906ba73f0602a2e8e
source_type
github
headline
Phirop: Factor out the VDEF check into a new function.
tldr
The VDEF check in the phiprop pass is now in its own function, improving code readability and maintainability.
author
Andrew Pinski
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • refactor
  • compiler pass
  • SSA
discussion_id_link
bugzilla_pr
date
2026-03-27T00:00:00.000Z

The commit factors out the VDEF check in the phiprop pass into a new function called can_move_into_conditional. This improves code readability and maintainability by isolating the check. The new function also makes it easier to skip over store statements that do not affect the loaded variable.