[all-commits] [llvm/llvm-project] eea217: [Doc] update the usage of opt with mem2reg pass in...

youkaichao via All-commits all-commits at lists.llvm.org
Sun Dec 24 04:11:41 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eea217681d01af8935e7db7ff981daaa0541eaee
      https://github.com/llvm/llvm-project/commit/eea217681d01af8935e7db7ff981daaa0541eaee
  Author: youkaichao <youkaichao at gmail.com>
  Date:   2023-12-24 (Sun, 24 Dec 2023)

  Changed paths:
    M llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl07.rst

  Log Message:
  -----------
  [Doc] update the usage of opt with mem2reg pass in tutorial (#76282)

The current command will raise an error:

> The `opt -passname` syntax for the new pass manager is not supported,
please use `opt -passes=<pipeline>` (or the `-p` alias for a more
concise version).

Update the usage now.




More information about the All-commits mailing list