Landing: a68a67d9ba10

Project / Subsystem

gcc / rtlanal

Date

2026-05-07

Author

Richard Sandiford

Commit

a68a67d9ba10a3867b619cc4d52d7e23a5d6976c

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
rtlanal
patch_id
commit_hash
a68a67d9ba10a3867b619cc4d52d7e23a5d6976c
source_type
github
headline
rtlanal: Refine operator precedence for comparisons.
tldr
Operator precedence in rtlanal is tweaked to ensure all binary operators have higher precedence than unary operators.
author
Richard Sandiford
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • rtlanal
  • operator precedence
  • aarch64
discussion_id_link
bugzilla_pr
date
2026-05-07T00:00:00.000Z

The precedence of operators in rtlanal has been adjusted to ensure that all binary operators have a higher precedence than all unary operators. This change canonicalizes existing AArch64 patterns, ensuring that expressions like some binary > some unary > some other binary are correctly ordered during RTL analysis. This change affects how RTL expressions are simplified and matched during code generation.