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:
authorManish Goregaokar <manishsmail@gmail.com>2021-08-12 10:04:07 -0700
committerGitHub <noreply@github.com>2021-08-12 10:04:07 -0700
commitdf23264f8043ee82e3f977ee46c38651fb6282fc (patch)
tree1ed846f5e8239540857fbda3563714cf24cd9c92 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent4498e300e41f47c75abe4e49ec91ae949aaeea5f (diff)
parent1fb1643129f9ac6a63bddf04d69e28632615c0df (diff)
downloadrust-df23264f8043ee82e3f977ee46c38651fb6282fc.tar.gz
rust-df23264f8043ee82e3f977ee46c38651fb6282fc.zip
Rollup 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