about summary refs log tree commit diff
path: root/tests/ui/structs-enums/tuple-struct-construct.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-02-15 14:33:01 +0100
committerGitHub <noreply@github.com>2024-02-15 14:33:01 +0100
commit7d6c99dd066f3c84f694fc00c4865758d6ecd772 (patch)
tree867b999891b0339a9f83479dd1442adbd4368014 /tests/ui/structs-enums/tuple-struct-construct.rs
parentbf323ba3ac28bf22fed5213695b63d58d1022361 (diff)
parent369fff6c0640fe89be9b915adaa83e66a022e00d (diff)
downloadrust-7d6c99dd066f3c84f694fc00c4865758d6ecd772.tar.gz
rust-7d6c99dd066f3c84f694fc00c4865758d6ecd772.zip
Rollup merge of #121088 - nikic:evex512, r=Amanieu
Implicitly enable evex512 if avx512 is enabled

LLVM 18 requires the evex512 feature to allow use of zmm registers. LLVM automatically sets it when using a generic CPU, but not when `-C target-cpu` is specified. This will result either in backend legalization crashes, or code unexpectedly using ymm instead of zmm registers.

For now, make sure that `avx512*` features imply `evex512`. Long term we'll probably have to deal with the AVX10 mess somehow.

Fixes https://github.com/rust-lang/rust/issues/121081.

r? `@Amanieu`
Diffstat (limited to 'tests/ui/structs-enums/tuple-struct-construct.rs')
0 files changed, 0 insertions, 0 deletions