Landing: ad2d8a375404
Project / Subsystem
gcc / testsuite
Date
2026-04-29
Author
Andrew Pinski
Commit
ad2d8a375404628de396380bb36e6f81c054c4e1
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- testsuite
- patch_id
- —
- commit_hash
- ad2d8a375404628de396380bb36e6f81c054c4e1
- source_type
- github
- headline
- Testsuite: Fix and enhance cond-add-vec tests.
- tldr
- Adjustments to conditional add vector tests ensure that the correct transformations are applied, especially when using AVX-512.
- author
- Andrew Pinski
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • testsuite
- • vectorization
- • AVX-512
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-04-29T00:00:00.000Z
The vector conditional add tests cond-add-vec-1.C and cond-add-vec-2.C were updated to correctly handle cases where VEC_COND_EXPR is transformed into a COND_ADD instruction, which occurs with -march=cascadelake or -mavx512f. The tests now check for both VEC_COND_EXPR and COND_ADD to ensure the expected behavior.