rust/compiler/rustc_mir/src/dataflow
Dylan DPC b81c6cdb57
Rollup merge of #83916 - Amanieu:asm_anonconst, r=petrochenkov
Use AnonConst for asm! constants

This replaces the old system which used explicit promotion. See #83169 for more background.

The syntax for `const` operands is still the same as before: `const <expr>`.

Fixes #83169

Because the implementation is heavily based on inline consts, we suffer from the same issues:
- We lose the ability to use expressions derived from generics. See the deleted tests in `src/test/ui/asm/const.rs`.
- We are hitting the same ICEs as inline consts, for example #78174. It is unlikely that we will be able to stabilize this before inline consts are stabilized.
2021-04-07 13:07:14 +02:00
..
framework Remove (lots of) dead code 2021-03-27 22:16:33 -04:00
impls Use iter::zip in compiler/ 2021-03-26 09:32:31 -07:00
move_paths Rollup merge of #83916 - Amanieu:asm_anonconst, r=petrochenkov 2021-04-07 13:07:14 +02:00
drop_flag_effects.rs compiler: fold by value 2020-11-16 22:34:57 +01:00
mod.rs Extend dataflow framework to support arbitrary lattices 2020-08-30 11:15:24 -07:00