No auto-vectorization in such case since 1.54.0 #92193
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
I-slow
Issue: Problems and improvements with respect to performance of generated code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
With
rustc 1.53.0-nightly
run
RUSTFLAGS="--emit=asm -C target-feature=+avx2" cargo build --release
rustc can generate vectorized asm.
But with 1.54.0 or higher, rustc can not make optimization.
It can be verified in godbolt.org as well.
Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: