about summary refs log tree commit diff
path: root/tests/ui/structs-enums/tuple-struct-construct.rs
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-02-14 16:26:20 +0100
committerNikita Popov <npopov@redhat.com>2024-02-14 16:26:20 +0100
commit369fff6c0640fe89be9b915adaa83e66a022e00d (patch)
tree21c77418a2121e62eb51d897e3ebe22f77aa4ee1 /tests/ui/structs-enums/tuple-struct-construct.rs
parentcc1c0990ab6f7136d1d54fd008598095b2c53c66 (diff)
downloadrust-369fff6c0640fe89be9b915adaa83e66a022e00d.tar.gz
rust-369fff6c0640fe89be9b915adaa83e66a022e00d.zip
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.
Diffstat (limited to 'tests/ui/structs-enums/tuple-struct-construct.rs')
0 files changed, 0 insertions, 0 deletions