Landing: 1ab177078102
Project / Subsystem
gcc / match.pd
Date
2026-05-07
Author
Eikansh Gupta
Commit
1ab177078102ad62011bb66777c059dd6cac2bce
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- match.pd
- patch_id
- —
- commit_hash
- 1ab177078102ad62011bb66777c059dd6cac2bce
- source_type
- github
- headline
- match.pd: fold (X - (X<0)) ^ -(X<0) into ABS_EXPR<X>.
- tldr
- A new match.pd pattern folds (X - (X<0)) ^ -(X<0) into ABS_EXPR<X>.
- author
- Eikansh Gupta
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • pattern matching
- • tree-ssa
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-07T00:00:00.000Z
A new pattern has been added to match.pd to fold the expression (x - (x<0)) ^ -(x<0) into ABS_EXPR