Files
rust/compiler/rustc_codegen_llvm/src
Wesley Wiser 01aec8d185 [mir-opt] Allow debuginfo to be generated for a constant or a Place
Prior to this commit, debuginfo was always generated by mapping a name
to a Place. This has the side-effect that `SimplifyLocals` cannot remove
locals that are only used for debuginfo because their other uses have
been const-propagated.

To allow these locals to be removed, we now allow debuginfo to point to
a constant value. The `ConstProp` pass detects when debuginfo points to
a local with a known constant value and replaces it with the value. This
allows the later `SimplifyLocals` pass to remove the local.
2020-12-06 20:48:25 -05:00
..
2020-11-11 19:18:06 +01:00
2020-11-20 00:00:00 +00:00
2020-10-30 10:13:39 -04:00
2020-11-04 10:11:31 +00:00
2020-09-20 15:13:11 +02:00
2020-11-16 22:34:57 +01:00
…