about summary refs log tree commit diff
path: root/src/test/codegen/try_identity.rs
AgeCommit message (Collapse)AuthorLines
2021-05-18No matter how trivial the change, tidy always finds a way to complain...Scott McMurray-2/+2
2021-05-18Mention the issue number for the new mir-opt in the FIXMEs scottmcm-1/+1
Thanks for the suggestions, lcnr! Co-authored-by: lcnr <rust@lcnr.de>
2021-05-09PR feedbackScott McMurray-4/+4
2021-05-06mir-opt & codegen test updatesScott McMurray-2/+19
`SimplifyArm` and such are currently in `-Zunsound-mir-opts` and thus weren't running by default, so having something like them for the new desugar shouldn't be necessary for switching.
2021-03-05Bump mir-opt-level from 2 to 3 in testsSantiago Pastorino-1/+1
2021-02-28Use -O in try_identity test that requires storage markersTomasz Miąsko-1/+1
2020-10-01Disable the SimplifyArmIdentity mir-optWesley Wiser-1/+1
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.
2019-11-21Introduce MIR optimizations for simplifying `x?` on `Result`s.Mazdak Farrokhzad-0/+17
This optimization depends on inlining for the identity conversions introduced by the lowering of the `?`. To take advantage of `SimplifyArmIdentity`, `-Z mir-opt-level=2` is required because that triggers the inlining MIR optimization.