about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2018-10-20 16:18:17 -0400
committerWesley Wiser <wwiser@gmail.com>2018-10-22 22:45:36 -0400
commit37e1d2975e1002f0718552554055647392e46f0d (patch)
tree325e5684e64e52ea2cef7c01157ed97958e40721 /src/test/incremental/thinlto
parent22cc2ae8057d14e980b7c784e1eb2eee26b59e7d (diff)
downloadrust-37e1d2975e1002f0718552554055647392e46f0d.tar.gz
rust-37e1d2975e1002f0718552554055647392e46f0d.zip
Don't rerun Mir passes when inlining
When inlining a function using the Mir inliner, we shouldn't rerun the
various Mir passes on it because the Mir has already been lowered and
that wil break various early Mir passes.

The issue in #50411 is that we've inlined a function with promotions
whose Mir has already been lowered. The promotions are then copied into
the local function and we begin to run passes on their lowered Mir
which causes the ICE.

Fixes #50411
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions