[Bug tree-optimization/126721] UNIFORM_VECTOR_CST[a] -> uniform cst
"rguenth at gcc dot gnu.org via Gcc-bugs" <[email protected]>
| Newsgroups | gmane.comp.gcc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126721
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2026-08-10
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. For constants should be constant folding, for uniform non-constant
values general folding.
There's also like nonzero bits and uniform-in-the-"range" values. Aka even
extracts from { 0, 1, 0, 1, 0, 1 ... } or [2,5] extract from { a, b, c, c, c,
d, e }.