Skip to content

Commit

Permalink
Use -O in try_identity test that requires storage markers
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiasko committed Feb 28, 2021
1 parent 7076050 commit 57de468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/codegen/try_identity.rs
@@ -1,4 +1,4 @@
// compile-flags: -C no-prepopulate-passes -Z mir-opt-level=2 -Zunsound-mir-opts
// compile-flags: -C no-prepopulate-passes -O -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`.
Expand Down

0 comments on commit 57de468

Please sign in to comment.