Compile-time regression with mir-opt-level=2 #73717
Labels
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
A-mir-opt
Area: MIR optimizations
C-bug
Category: This is a bug.
I-slow
Issue: Problems and improvements with respect to performance of generated code.
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The following rustc floating point test case used to work just fine with
-Zmir-opt-level=3
, but now even just callingrustc -Zmir-opt-level=2
on it diverges:Found through the Miri test suite. Unfortunately we have barely any test coverage on the rustc side for mir-opt-level 2 and higher.
Cc @rust-lang/wg-mir-opt
The text was updated successfully, but these errors were encountered: