[all-commits] [llvm/llvm-project] 7006b9: [flang][NFCI]Use config structure for MLIR to LLVM...

Mats Petersson via All-commits all-commits at lists.llvm.org
Tue Oct 3 06:02:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7006b90a064ca5502c5f55f227f4f90d116dbb7b
      https://github.com/llvm/llvm-project/commit/7006b90a064ca5502c5f55f227f4f90d116dbb7b
  Author: Mats Petersson <mats.petersson at arm.com>
  Date:   2023-10-03 (Tue, 03 Oct 2023)

  Changed paths:
    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][NFCI]Use config structure for MLIR to LLVM pass creation (#67792)

The CreateMLIRToLLVMPassPipeline function has quite a few arguments, all
of which has default values. Create a struct, with a constructor for the
default values, and pass that struct instead.

Re-arrange a few include files to make everything available.

No functional change intended.




More information about the All-commits mailing list