diff options
| author | bors <bors@rust-lang.org> | 2020-10-02 10:04:46 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-10-02 10:04:46 +0000 |
| commit | 4dedf5edd51d0e0b1b45a61403842f8406e13b2c (patch) | |
| tree | 84ed50b430dbc1ee7343edd88106b796a8c379af /src/test/codegen | |
| parent | 154f1f544dd68f7b53ff8d9952811e855f4c2d7c (diff) | |
| parent | f9d7720be7805d24f5f9c14e33b22f7ca3c7b964 (diff) | |
| download | rust-4dedf5edd51d0e0b1b45a61403842f8406e13b2c.tar.gz rust-4dedf5edd51d0e0b1b45a61403842f8406e13b2c.zip | |
Auto merge of #77396 - wesleywiser:disable-simplifyarmidentity, r=oli-obk
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. r? `@oli-obk`
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`. |
