[all-commits] [llvm/llvm-project] 9eaff4: [mlir][NFC] Move Parser.h to Parser/

River Riddle via All-commits all-commits at lists.llvm.org
Mon Mar 7 01:06:21 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9eaff42360f4430e2baba28dd8d119137caae486
      https://github.com/llvm/llvm-project/commit/9eaff42360f4430e2baba28dd8d119137caae486
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-03-07 (Mon, 07 Mar 2022)

  Changed paths:
    M flang/tools/bbc/bbc.cpp
    M flang/tools/tco/tco.cpp
    M mlir/examples/toy/Ch2/toyc.cpp
    M mlir/examples/toy/Ch3/toyc.cpp
    M mlir/examples/toy/Ch4/toyc.cpp
    M mlir/examples/toy/Ch5/toyc.cpp
    M mlir/examples/toy/Ch6/toyc.cpp
    M mlir/examples/toy/Ch7/toyc.cpp
    R mlir/include/mlir/Parser.h
    A mlir/include/mlir/Parser/Parser.h
    M mlir/lib/CAPI/IR/IR.cpp
    M mlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
    M mlir/lib/Dialect/Linalg/IR/LinalgDialect.cpp
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/Dialect/SPIRV/IR/SPIRVDialect.cpp
    M mlir/lib/ExecutionEngine/JitRunner.cpp
    M mlir/lib/Parser/Lexer.h
    M mlir/lib/Parser/Parser.cpp
    M mlir/lib/Support/MlirOptMain.cpp
    M mlir/lib/Target/SPIRV/TranslateRegistration.cpp
    M mlir/lib/Tools/PDLL/CodeGen/MLIRGen.cpp
    M mlir/lib/Tools/mlir-lsp-server/MLIRServer.cpp
    M mlir/lib/Tools/mlir-reduce/MlirReduceMain.cpp
    M mlir/lib/Translation/Translation.cpp
    M mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp
    M mlir/unittests/Dialect/Affine/Analysis/AffineStructuresParser.cpp
    M mlir/unittests/ExecutionEngine/Invoke.cpp
    M mlir/unittests/Interfaces/ControlFlowInterfacesTest.cpp
    M mlir/unittests/Interfaces/DataLayoutInterfacesTest.cpp
    M mlir/unittests/Interfaces/InferTypeOpInterfaceTest.cpp
    M mlir/unittests/Transforms/Canonicalizer.cpp

  Log Message:
  -----------
  [mlir][NFC] Move Parser.h to Parser/

There is no reason for this file to be at the top-level, and
its current placement predates the Parser/ folder's existence.

Differential Revision: https://reviews.llvm.org/D121024


  Commit: 6b7d211a1b80957619a0ca81f4d2b832bf7e593b
      https://github.com/llvm/llvm-project/commit/6b7d211a1b80957619a0ca81f4d2b832bf7e593b
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-03-07 (Mon, 07 Mar 2022)

  Changed paths:
    M flang/tools/fir-opt/fir-opt.cpp
    M mlir/examples/standalone/standalone-opt/standalone-opt.cpp
    R mlir/include/mlir/Support/MlirOptMain.h
    A mlir/include/mlir/Tools/mlir-opt/MlirOptMain.h
    M mlir/lib/Support/CMakeLists.txt
    R mlir/lib/Support/MlirOptMain.cpp
    M mlir/lib/Tools/CMakeLists.txt
    A mlir/lib/Tools/mlir-opt/CMakeLists.txt
    A mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
    M mlir/tools/mlir-opt/mlir-opt.cpp

  Log Message:
  -----------
  [mlir][NFC] Move MlirOptMain to the Tools/ directory

MlirOptMain is currently awkwardly shoved into mlir/Support. This commit
moves it to the Tools/ directory, which is intended for libraries used to
implement tools.

Differential Revision: https://reviews.llvm.org/D121025


  Commit: ee1d447e5fff7941f9c5cdb4abadc77830277efd
      https://github.com/llvm/llvm-project/commit/ee1d447e5fff7941f9c5cdb4abadc77830277efd
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-03-07 (Mon, 07 Mar 2022)

  Changed paths:
    M mlir/examples/standalone/standalone-translate/CMakeLists.txt
    M mlir/examples/standalone/standalone-translate/standalone-translate.cpp
    A mlir/include/mlir/Tools/mlir-translate/MlirTranslateMain.h
    A mlir/include/mlir/Tools/mlir-translate/Translation.h
    R mlir/include/mlir/Translation.h
    M mlir/lib/CMakeLists.txt
    M mlir/lib/Conversion/GPUToVulkan/CMakeLists.txt
    M mlir/lib/Target/Cpp/CMakeLists.txt
    M mlir/lib/Target/Cpp/TranslateRegistration.cpp
    M mlir/lib/Target/LLVMIR/CMakeLists.txt
    M mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
    M mlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp
    M mlir/lib/Target/SPIRV/CMakeLists.txt
    M mlir/lib/Target/SPIRV/Deserialization/CMakeLists.txt
    M mlir/lib/Target/SPIRV/Serialization/CMakeLists.txt
    M mlir/lib/Target/SPIRV/TranslateRegistration.cpp
    M mlir/lib/Tools/CMakeLists.txt
    A mlir/lib/Tools/mlir-translate/CMakeLists.txt
    A mlir/lib/Tools/mlir-translate/MlirTranslateMain.cpp
    A mlir/lib/Tools/mlir-translate/Translation.cpp
    R mlir/lib/Translation/CMakeLists.txt
    R mlir/lib/Translation/Translation.cpp
    M mlir/tools/mlir-spirv-cpu-runner/CMakeLists.txt
    M mlir/tools/mlir-translate/CMakeLists.txt
    M mlir/tools/mlir-translate/mlir-translate.cpp
    M mlir/tools/mlir-vulkan-runner/CMakeLists.txt

  Log Message:
  -----------
  [mlir][NFC] Move Translation.h to a Tools/mlir-translate directory

Translation.h is currently awkwardly shoved into the top-level mlir, even though it is
specific to the mlir-translate tool. This commit moves it to a new Tools/mlir-translate
directory, which is intended for libraries used to implement tools. It also splits the
translate registry from the main entry point, to more closely mirror what mlir-opt
does.

Differential Revision: https://reviews.llvm.org/D121026


Compare: https://github.com/llvm/llvm-project/compare/542c335159d4...ee1d447e5fff


More information about the All-commits mailing list