diff options
| author | Wesley Wiser <wwiser@gmail.com> | 2020-09-30 20:04:19 -0400 |
|---|---|---|
| committer | Wesley Wiser <wwiser@gmail.com> | 2020-10-01 20:29:53 -0400 |
| commit | f9d7720be7805d24f5f9c14e33b22f7ca3c7b964 (patch) | |
| tree | 2cb87218d4ee00d1d771075aae3461cdc3c34f0b /src/test/codegen | |
| parent | 9cba260df0f1c67ea3690035cd5611a7465a1560 (diff) | |
| download | rust-f9d7720be7805d24f5f9c14e33b22f7ca3c7b964.tar.gz rust-f9d7720be7805d24f5f9c14e33b22f7ca3c7b964.zip | |
Disable the SimplifyArmIdentity mir-opt
The optimization still has some bugs that need to be worked out such as #77359. We can try re-enabling this again after the known issues are resolved.
Diffstat (limited to 'src/test/codegen')
| -rw-r--r-- | src/test/codegen/try_identity.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/codegen/try_identity.rs b/src/test/codegen/try_identity.rs index 30e7adfddf7..d30b706eafc 100644 --- a/src/test/codegen/try_identity.rs +++ b/src/test/codegen/try_identity.rs @@ -1,4 +1,4 @@ -// compile-flags: -C no-prepopulate-passes -Z mir-opt-level=2 +// compile-flags: -C no-prepopulate-passes -Z mir-opt-level=2 -Zunsound-mir-opts // Ensure that `x?` has no overhead on `Result<T, E>` due to identity `match`es in lowering. // This requires inlining to trigger the MIR optimizations in `SimplifyArmIdentity`. |
