[all-commits] [llvm/llvm-project] 86ab10: [flang] Added extension point callbacks to default...

Vijay Kandiah via All-commits all-commits at lists.llvm.org
Thu May 2 11:15:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86ab10c4d9722574bafaf79e8d553d46dcdb7372
      https://github.com/llvm/llvm-project/commit/86ab10c4d9722574bafaf79e8d553d46dcdb7372
  Author: Vijay Kandiah <vkandiah at nvidia.com>
  Date:   2024-05-02 (Thu, 02 May 2024)

  Changed paths:
    M flang/docs/FlangDriver.md
    M flang/include/flang/Tools/CLOptions.inc
    M flang/include/flang/Tools/CrossToolHelpers.h
    M flang/lib/Frontend/FrontendActions.cpp
    M flang/tools/bbc/bbc.cpp
    M flang/tools/tco/tco.cpp

  Log Message:
  -----------
  [flang] Added extension point callbacks to default FIR optimizer pipeline. (#90674)

This change inserts a few extension point callbacks in the
DefaultFIROptimizerPassPipeline. As an example usage of callbacks in the
FIR optimizer pipeline, the FIRInlinerCallback is now used to register
the default MLIR inliner pass in flang-new, tco, and bbc compilation
flows. Other compilation flows can use these callbacks to add extra
passes at different points of the pass pipeline.

---------

Co-authored-by: Vijay Kandiah <vkandiah at sky6.pgi.net>



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