Landing: 82e4ddc02061
Project / Subsystem
gcc / aarch64
Date
2026-09-01
Author
Julio Sotoriva De Bastiani
Commit
82e4ddc02061b325735383c6cd4686a7d68230cf
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- aarch64
- patch_id
- —
- commit_hash
- 82e4ddc02061b325735383c6cd4686a7d68230cf
- source_type
- github
- headline
- aarch64: Fix builtin folding for svwhile* builtins
- tldr
- Corrects an ICE in aarch64 SVE builtins when folding predicate-as-counter operations.
- author
- Julio Sotoriva De Bastiani
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • aarch64
- • compiler bug
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-01T00:00:00.000Z
An ICE (Internal Compiler Error) in the aarch64 backend is fixed by correctly handling the svcount_t type in svwhilel*_c* builtins. The issue occurred when these builtins were incorrectly folded as predicate-as-mask operations. The fix ensures proper handling for predicate-as-counter scenarios and punts on unsupported cases.