[all-commits] [llvm/llvm-project] fdcdc3: [flang][CodeGen][NFC] Reduce boilerplatre for Exte...

Tom Eccles via All-commits all-commits at lists.llvm.org
Thu Jun 6 02:10:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fdcdc3d759224f0ec0a3e472f7940d4b0f3a1b79
      https://github.com/llvm/llvm-project/commit/fdcdc3d759224f0ec0a3e472f7940d4b0f3a1b79
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-06-06 (Thu, 06 Jun 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Transforms/Passes.h
    M flang/include/flang/Optimizer/Transforms/Passes.td
    M flang/include/flang/Tools/CLOptions.inc
    M flang/lib/Optimizer/Transforms/ExternalNameConversion.cpp

  Log Message:
  -----------
  [flang][CodeGen][NFC] Reduce boilerplatre for ExternalNameConversion (#94474)

Use tablegen to generate the pass constructor.

I removed the duplicated pass option handling. I don't understand why
the manual instantiation of the pass needs its own duplicate of the pass
options in the (automatically generated) base class (even with the
option to ignore the pass options in the base class).

This pass doesn't need changes to support other top level operations.



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