[all-commits] [llvm/llvm-project] 81b4e7: [mlir][spirv] Extract more ops from the main imple...

Konstantin Varlamov via All-commits all-commits at lists.llvm.org
Thu Jul 20 14:14:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 81b4e7d2b0e1d222c76637f600cfcb74b631dfca
      https://github.com/llvm/llvm-project/commit/81b4e7d2b0e1d222c76637f600cfcb74b631dfca
  Author: varconst <varconsteq at gmail.com>
  Date:   2023-07-20 (Thu, 20 Jul 2023)

  Changed paths:
    M mlir/lib/Dialect/SPIRV/IR/CMakeLists.txt
    A mlir/lib/Dialect/SPIRV/IR/ControlFlowOps.cpp
    A mlir/lib/Dialect/SPIRV/IR/MemoryOps.cpp
    A mlir/lib/Dialect/SPIRV/IR/SPIRVOpAvailability.cpp
    A mlir/lib/Dialect/SPIRV/IR/SPIRVOpDefinition.cpp
    M mlir/lib/Dialect/SPIRV/IR/SPIRVOpUtils.h
    M mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
    M mlir/lib/Dialect/SPIRV/IR/SPIRVParsingUtils.cpp
    M mlir/lib/Dialect/SPIRV/IR/SPIRVParsingUtils.h

  Log Message:
  -----------
  [mlir][spirv] Extract more ops from the main implementation file. NFC.

Continue to work outlined in D155747 and split the main SPIR-V ops
implementation file into a few smaller and quicker to compile files.

Move control flow and memory ops to their own implementation files.
Create new `.cpp` files for tablegened code.

After this change, the `SPIRVOps.cpp` is 2k LoC-long and takes a
reasonable amount of time to compile.

Reviewed By: antiagainst

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




More information about the All-commits mailing list