Details
Details
- Reviewers
ychen asbirlea - Commits
- rGda036b451470: [Docs][NewPM] Add note about required passes
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
| Time | Test | |
|---|---|---|
| 24,860 ms | linux > LLVM.Bindings/Go::go.test |
Event Timeline
Comment Actions
Thank you for writing this down.
| llvm/docs/WritingAnLLVMNewPMPass.rst | ||
|---|---|---|
| 217 | Personally, I may reorder the structure a little bit: (definition) A pass that defines a static isRequired() method that returns true is a required pass. | |
Personally, I may reorder the structure a little bit:
(definition) A pass that defines a static isRequired() method that returns true is a required pass.
< ... example ...>
(motivation) - meta passes (pass manager, adaptor pass etc) - user passes: AlwaysInlinerPass etc.
(behavior) override all other mechanisms that may skip a pass, like "optnone" etc.