[all-commits] [llvm/llvm-project] 6f8a36: [Kaleidoscope] Add mem2reg pass to function pass m...

AidinT via All-commits all-commits at lists.llvm.org
Thu Dec 12 07:25:31 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f8a363a483489687597e29b8bda0975e821f188
      https://github.com/llvm/llvm-project/commit/6f8a363a483489687597e29b8bda0975e821f188
  Author: AidinT <at.aidin at gmail.com>
  Date:   2024-12-12 (Thu, 12 Dec 2024)

  Changed paths:
    M llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl07.rst
    M llvm/examples/Kaleidoscope/Chapter7/toy.cpp

  Log Message:
  -----------
  [Kaleidoscope] Add mem2reg pass to function pass manager (#119707)

Kaleidoscope has switched to new pass manager before (#72324), but both
code and tutorial document have some missing parts.

This pull request fixes the following problems:
1. Adds `PromotePass` to the function pass manager. This pass was
removed during the switch from legacy pass manager to the new pass
manager.
2. Syncs the tutorial with the code.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list