about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-08-12 21:04:07 +0000
committerbors <bors@rust-lang.org>2021-08-12 21:04:07 +0000
commit0fa3190394475a84360b34e074e719d519bc40f1 (patch)
tree1ed846f5e8239540857fbda3563714cf24cd9c92 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent4498e300e41f47c75abe4e49ec91ae949aaeea5f (diff)
parent1fb1643129f9ac6a63bddf04d69e28632615c0df (diff)
downloadrust-0fa3190394475a84360b34e074e719d519bc40f1.tar.gz
rust-0fa3190394475a84360b34e074e719d519bc40f1.zip
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
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions