rust/compiler/rustc_codegen_ssa
Nikita Popov 30331828cb Use poison instead of undef
In cases where it is legal, we should prefer poison values over
undef values.

This replaces undef with poison for aggregate construction and
for uninhabited types. There are more places where we can likely
use poison, but I wanted to stay conservative to start with.

In particular the aggregate case is important for newer LLVM
versions, which are not able to handle an undef base value during
early optimization due to poison-propagation concerns.
2023-03-16 15:07:04 +01:00
..
src Use poison instead of undef 2023-03-16 15:07:04 +01:00
Cargo.toml remove unused imports 2023-02-06 17:40:18 +03:00
messages.ftl Simplify message paths 2023-03-11 22:51:57 +01:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.