diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-11-14 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-11-14 00:00:00 +0000 |
| commit | 69032733392c57e02d6d7167c76006d46c748b5f (patch) | |
| tree | 5fa47242481799be8244b34a16130119d664ed73 /compiler/rustc_codegen_llvm/src | |
| parent | 30e49a9ead550551e879af64ba91a0316da1c422 (diff) | |
| download | rust-69032733392c57e02d6d7167c76006d46c748b5f.tar.gz rust-69032733392c57e02d6d7167c76006d46c748b5f.zip | |
Lower intrinsics calls: forget, size_of, unreachable, wrapping_*
This allows constant propagation to evaluate `size_of` and `wrapping_*`, and unreachable propagation to propagate a call to `unreachable`. The lowering is performed as a MIR optimization, rather than during MIR building to preserve the special status of intrinsics with respect to unsafety checks and promotion.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
