diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-01-15 23:30:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-15 23:30:51 +0100 |
| commit | b7a9d6a51ff548a0ffbef8b537127ced7ad527ef (patch) | |
| tree | 80eefae88b2253d1340a30db94169f8753e0d22c /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | bc39d4d9c514e5fdb40a5782e6ca08924f979c35 (diff) | |
| parent | a0c585713174711b00f56c0f2ffe480ab878e8dc (diff) | |
| download | rust-b7a9d6a51ff548a0ffbef8b537127ced7ad527ef.tar.gz rust-b7a9d6a51ff548a0ffbef8b537127ced7ad527ef.zip | |
Rollup merge of #77693 - bugadani:issue-59352, r=oli-obk
Add test for #59352 Issue #59352 reported an optimization regression with rustc 1.32.0+. That regression could be tracked to a change that caused a function to miss the size limit of llvm's inlining, which results in an unreachable panicing branch being generated. Enabling mir inline solves the issue, but is currently only done for `mir-opt-level>=2`. This PR adds a test that can serve as a regression test for #59352, if/when mir inlining gets mature enough for opt-level 1, or some other optimization can remove the panic.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
