Revisit MIR opt levels
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
Direzione di ricerca
Inizia con la proposta MIR opt-level e esamina le discussioni Zulip collegate e il commento su rust-lang/rust#103657 per il contesto precedente. L’issue è un argomento per una riunione di indirizzo, non un’attività di implementazione; il lavoro è completo quando il team del compilatore raggiunge e registra una decisione sul design di opt-level.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Meeting proposal info
- Title: Revisit MIR opt levels
- Type: technical
Summary
The current system of MIR opt levels 0-4 is suboptimal, in part because there is confusion what the individual levels mean. As we continue to add new MIR optimizations and revise existing ones, we should take the chance to improve the opt level system.
One potential option is to remove the levels entirely and derive what passes and (and to what strength or complexity) from other options the user has provided such as -Copt-level and -Cdebuginfo. If there are additional axis that are important to capture, other flags could be introduced for those.
Another option is to redefine the opt levels. Having four levels is confusing as it doesn't intuitively map to the 0-2 levels provided by -Copt-level (although that flag also has s and z opt levels which are not present in MIR opt levels at all). We could decide to redefine MIR opt levels to be 0-2 based. One challenge here is defining what the levels themselves mean (when does an optimization fall into opt level 1 or opt level 2?).
Prior discussions:
- https://rust-lang.zulipchat.com/#narrow/stream/189540-t-compiler.2Fwg-mir-opt/topic/Revisiting.20MIR.20opt.20levels
- https://rust-lang.zulipchat.com/#narrow/stream/238009-t-compiler.2Fmeetings/topic/.5Bweekly.5D.202022-12-08/near/314703565
- https://rust-lang.zulipchat.com/#narrow/stream/238009-t-compiler.2Fmeetings/topic/.5Bweekly.5D.202022-12-08/near/314706273
- https://github.com/rust-lang/rust/pull/103657#issuecomment-1294199487
About this issue
This issue corresponds to a meeting proposal for the compiler team
steering meeting. It corresponds to a possible topic of
discussion. You can read more about the steering meeting procedure
here.
Comment policy
These issues are meant to be used as an "announcements channel"
regarding the proposal, and not as a place to discuss the technical
details. Feel free to subscribe to updates. We'll post comments when
reviewing the proposal in meetings or making a scheduling decision.
In the meantime, if you have questions or ideas, ping the proposers
on Zulip (or elsewhere).
- Lingua principale
- HTML
- Stelle
- 436
- Fork
- 76
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di rust-lang/compiler-team
-
major-change T-compiler
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
rust-lang/compiler-team#1009 · 1 commento · 3 reazioni ·
-
final-comment-period major-change T-compiler to-announce
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
rust-lang/compiler-team#1051 · 2 commenti · 1 reazione ·
-
final-comment-period major-change T-compiler
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
rust-lang/compiler-team#1050 · 6 commenti · 5 reazioni ·
-
final-comment-period has-concerns major-change T-compiler
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
rust-lang/compiler-team#1049 · 8 commenti ·
-
major-change T-compiler
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
rust-lang/compiler-team#1048 · 1 commento ·
Tutte le issue di rust-lang/compiler-team
Issue simili
-
bug core-lang
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Call-argument syntax diagnostic needs example spacing and removal of confusing trailing sentenceAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
mw00/project-maya#1368 ·
I maintainer di solito rispondono entro 2 giorni
-
test(bind-json): legacy Solidity fixture requires an unavailable solc on Linux ARM64Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
foundry-rs/foundry#18828 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno