[PATCH] D86979: [docs][NewPM] Add docs for writing NPM passes

Alina Sbirlea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 12:56:38 PDT 2020


asbirlea accepted this revision.
asbirlea added a comment.

Thank you adding this!



================
Comment at: llvm/docs/WritingAnLLVMNewPMPass.rst:77
+First we need to define the pass in a header file. We'll create
+``llvm/include/llvm/Transforms/HelloNew/HelloWorld.h``. The file should
+containing the following boilerplate:
----------------
s/should/should be
or
s/containing/contain


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86979/new/

https://reviews.llvm.org/D86979



More information about the llvm-commits mailing list