rust/compiler/rustc_codegen_ssa/src/mir
bors 3824017f8e Auto merge of #86166 - tmiasko:no-alloca-for-zsts, r=nagisa
Do not emit alloca for ZST locals with multiple assignments

This extends 35566bfd7d to additionally stop emitting unnecessary allocas for zero sized locals that are assigned multiple times.

When rebuilding the standard library with `-Zbuild-std` this reduces the number of locals that require an allocation from 62315 to 61767.
2021-06-21 04:03:51 +00:00
..
analyze.rs Do not emit alloca for ZST locals with multiple assignments 2021-06-10 14:53:06 +02:00
block.rs Refactor to make interpreter and codegen backend neutral to vtable internal representation. 2021-06-15 01:59:00 +08:00
constant.rs update const_eval_resolve 2021-03-20 17:22:24 +01:00
coverageinfo.rs coverageinfo query needs to use the same MIR as codegen 2021-05-12 20:27:07 -07:00
debuginfo.rs Fix closed over variables not available in debuginfo for Windows MSVC 2021-04-08 14:08:56 -04:00
intrinsic.rs Switch to changing cp_non_overlap in tform 2021-03-09 16:54:14 +00:00
mod.rs rustc_codegen_ssa: append blocks to functions w/o creating a builder. 2021-05-17 00:04:09 +03:00
operand.rs codegen: assume constants cannot fail to evaluate 2021-01-30 12:29:57 +01:00
place.rs Fix closed over variables not available in debuginfo for Windows MSVC 2021-04-08 14:08:56 -04:00
rvalue.rs entirely remove rustc_args_required_const attribute 2021-05-12 16:15:27 +02:00
statement.rs Make source-based code coverage compatible with MIR inlining 2021-03-15 23:26:03 +01:00