[PATCH] D157656: [Docs] Cleanup pass documentation
Aiden Grossman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 10 14:47:22 PDT 2023
aidengrossman added reviewers: aeubanks, fhahn, nikic.
aidengrossman added a comment.
Herald added a subscriber: StephenFan.
To look for dead passes I went through all the pass names and looked in the PassRegistry, grepped for the pass name at the time of conversion to restructured text, and at the current tip of tree. If it was in the pass registry, I kept it. If it was only in passes.rst at the time of conversion, I dropped it, and if it was more present I grepped the current tip of tree. If it was only present in passes.rst, I again dropped it, but otherwise kept it for the most part. Some of the functions that I've kept probably need to at least be updated as they either don't support the new pass manager/aren't registered in the pass registry currently, etc.
Some passes have been changed around to new ones (like `loop-unswitch` to `simple-loop-unswitch`) and eventually documentation needs to be written up on them, but I'll leave that to a future patch for now.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157656/new/
https://reviews.llvm.org/D157656
More information about the llvm-commits
mailing list