rust/compiler/rustc_mir/src
bors 0fa3190394 Auto merge of #87916 - nbdd0121:black_box, r=nagisa
Implement `black_box` using intrinsic

Introduce `black_box` intrinsic, as suggested in https://github.com/rust-lang/rust/pull/87590#discussion_r680468700.

This is still codegenned as empty inline assembly for LLVM. For MIR interpretation and cranelift it's treated as identity.

cc `@Amanieu` as this is related to inline assembly
cc `@bjorn3` for rustc_codegen_cranelift changes
cc `@RalfJung` as this affects MIRI

r? `@nagisa` I suppose
2021-08-12 21:04:07 +00:00
..
borrow_check Store the DefId of the currently typechecked item in InferCtxt 2021-08-06 10:39:23 +00:00
const_eval Improve comments about const panic handling 2021-07-28 16:18:38 +02:00
dataflow re-export SwitchIntEdgeEffects 2021-07-04 13:33:22 +02:00
interpret Implement black_box using intrinsic 2021-08-12 16:16:57 +01:00
monomorphize clippy:: append_instead_of_extend 2021-07-25 12:26:02 +02:00
transform Auto merge of #86155 - alexcrichton:abort-on-unwind, r=nikomatsakis 2021-08-04 21:09:53 +00:00
util clippy::useless_format 2021-07-25 12:26:03 +02:00
lib.rs Auto merge of #87408 - kornelski:try_reserve_error, r=yaahc 2021-08-07 01:26:15 +00:00
shim.rs rustc: Fill out remaining parts of C-unwind ABI 2021-08-03 07:06:19 -07:00