mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 01:26:32 +00:00
LLVM uses GlobalISel with -O0 that doesn't support scalable vectors. It normally falls back to SDAG which does support scalable vectors, but there's a bug that means that isn't happening for debuginfo - so temporarily don't emit debuginfo for scalable vector locals when there are no optimisations until that bug is fixed. See <https://github.com/llvm/llvm-project/issues/204585>.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.