rust/compiler/rustc_codegen_llvm/src
Ralf Jung a422b42159 don't allow ZST in ScalarInt
There are several indications that we should not ZST as a ScalarInt:
- We had two ways to have ZST valtrees, either an empty `Branch` or a `Leaf` with a ZST in it.
  `ValTree::zst()` used the former, but the latter could possibly arise as well.
- Likewise, the interpreter had `Immediate::Uninit` and `Immediate::Scalar(Scalar::ZST)`.
- LLVM codegen already had to special-case ZST ScalarInt.

So instead add new ZST variants to those types that did not have other variants
which could be used for this purpose.
2022-07-09 07:27:29 -04:00
..
back Auto merge of #98098 - bjorn3:archive_refactor, r=michaelwoerister 2022-06-21 16:24:56 +00:00
coverageinfo
debuginfo Implement support for DWARF version 5. 2022-07-08 11:31:08 -07:00
llvm Auto merge of #96862 - oli-obk:enum_cast_mir, r=RalfJung 2022-07-05 09:36:29 +00:00
abi.rs Add support for emitting functions with coldcc in LLVM 2022-05-30 00:19:23 -07:00
allocator.rs
asm.rs Add tmm_reg clobbers 2022-05-16 20:15:06 -04:00
attributes.rs only_local: always check for misuse 2022-05-10 12:07:35 +02:00
base.rs
builder.rs Prefer trace level instrumentation for the new noisy instrument attributes 2022-07-05 09:27:06 +00:00
callee.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
common.rs don't allow ZST in ScalarInt 2022-07-09 07:27:29 -04:00
consts.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
context.rs Avoid unnecessary string interning for const_str 2022-06-28 18:38:36 +00:00
declare.rs
intrinsic.rs rustc_target: Remove some redundant target properties 2022-06-18 01:09:20 +03:00
lib.rs Avoid unnecessary string interning for const_str 2022-06-28 18:38:36 +00:00
llvm_util.rs Avoid creating SmallVecs in global_llvm_features 2022-06-06 18:05:07 +08:00
mono_item.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
type_.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
type_of.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
va_arg.rs
value.rs