rust/compiler/rustc_codegen_ssa/src
Matthias Krüger 3fcc79f04a
Rollup merge of #108364 - Nilstrieb:validity-checks-refactor, r=compiler-errors
Unify validity checks into a single query

Previously, there were two queries to check whether a type allows the 0x01 or zeroed bitpattern.

I am planning on adding a further initness to check in #100423, truly uninit for MaybeUninit, which would make this three queries. This seems overkill for such a small feature, so this PR unifies them into one.

I am not entirely happy with the naming and key type and open for improvements.

r? oli-obk
2023-02-27 06:11:52 +01:00
..
back Rename many interner functions. 2023-02-24 07:32:24 +11:00
coverageinfo Remove in_band_lifetimes from rustc_codegen_ssa 2021-12-15 00:41:41 -05:00
debuginfo s/eval_usize/eval_target_usize/ for clarity 2023-02-14 08:51:19 +00:00
mir Rollup merge of #108364 - Nilstrieb:validity-checks-refactor, r=compiler-errors 2023-02-27 06:11:52 +01:00
traits various: translation resources from cg backend 2023-02-22 09:15:54 +00:00
base.rs Rename many interner functions. 2023-02-24 07:32:24 +11:00
codegen_attrs.rs Add kernel-address sanitizer support for freestanding targets 2023-02-14 20:54:25 -05:00
common.rs DELETE - fn span_invalid_monomorphization_error and localize intrinsics macros 2022-12-27 20:59:22 -05:00
errors.rs errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00
glue.rs Add 0..=isize::MAX range metadata to size loads from vtables 2022-12-08 01:30:07 -05:00
lib.rs errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00
meth.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
mono_item.rs Store a LocalDefId in hir::AnonConst. 2022-11-13 14:06:11 +00:00
target_features.rs Rollup merge of #108086 - alexcrichton:wasm-relaxed-simd-feature, r=eholk 2023-02-17 00:19:36 +01:00