summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-01-09 11:59:51 +0000
committerbors <bors@rust-lang.org>2023-01-09 11:59:51 +0000
commit89e0576bd3aec2f1acf935b353900bd75742860b (patch)
tree832426029cb2ca75232215aa44aba6a40a479954 /tests/rustdoc-js-std/parser-errors.js
parentc54c8cbac882e149e04a9e1f2d146fd548ae30ae (diff)
parent82f0973dd52d113666304802e9213b089e3211c6 (diff)
downloadrust-89e0576bd3aec2f1acf935b353900bd75742860b.tar.gz
Auto merge of #106340 - saethlin:propagate-operands, r=oli-obk
Always permit ConstProp to exploit arithmetic identities Fixes https://github.com/rust-lang/rust/issues/72751 Initially, I thought I would need to enable operand propagation then do something else, but actually https://github.com/rust-lang/rust/pull/74491 already has the fix for the issue in question! It looks like this optimization was put under MIR opt level 3 due to possible soundness/stability implications, then demoted further to MIR opt level 4 when MIR opt level 2 became associated with `--release`. Perhaps in the past we were doing CTFE on optimized MIR? We aren't anymore, so this optimization has no stability implications. r? `@oli-obk`
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions