[all-commits] [llvm/llvm-project] c25b20: [mlir] NFC: Rename LoopOps dialect to SCF (Structu...

ftynse via All-commits all-commits at lists.llvm.org
Mon May 11 06:04:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c25b20c0f6c13d68dbc2e185764082d61ae4a132
      https://github.com/llvm/llvm-project/commit/c25b20c0f6c13d68dbc2e185764082d61ae4a132
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2020-05-11 (Mon, 11 May 2020)

  Changed paths:
    M mlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
    M mlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp
    M mlir/include/mlir/Conversion/LoopsToGPU/LoopsToGPU.h
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/include/mlir/Dialect/CMakeLists.txt
    M mlir/include/mlir/Dialect/GPU/ParallelLoopMapper.h
    M mlir/include/mlir/Dialect/Linalg/EDSC/Builders.h
    M mlir/include/mlir/Dialect/Linalg/Utils/Utils.h
    R mlir/include/mlir/Dialect/LoopOps/CMakeLists.txt
    R mlir/include/mlir/Dialect/LoopOps/EDSC/Builders.h
    R mlir/include/mlir/Dialect/LoopOps/EDSC/Intrinsics.h
    R mlir/include/mlir/Dialect/LoopOps/LoopOps.h
    R mlir/include/mlir/Dialect/LoopOps/LoopOps.td
    R mlir/include/mlir/Dialect/LoopOps/Passes.h
    R mlir/include/mlir/Dialect/LoopOps/Passes.td
    R mlir/include/mlir/Dialect/LoopOps/Transforms.h
    A mlir/include/mlir/Dialect/SCF/CMakeLists.txt
    A mlir/include/mlir/Dialect/SCF/EDSC/Builders.h
    A mlir/include/mlir/Dialect/SCF/EDSC/Intrinsics.h
    A mlir/include/mlir/Dialect/SCF/Passes.h
    A mlir/include/mlir/Dialect/SCF/Passes.td
    A mlir/include/mlir/Dialect/SCF/SCF.h
    A mlir/include/mlir/Dialect/SCF/SCFOps.td
    A mlir/include/mlir/Dialect/SCF/Transforms.h
    M mlir/include/mlir/InitAllDialects.h
    M mlir/include/mlir/InitAllPasses.h
    M mlir/include/mlir/Transforms/LoopUtils.h
    M mlir/lib/Analysis/CMakeLists.txt
    M mlir/lib/Analysis/SliceAnalysis.cpp
    M mlir/lib/Conversion/AffineToStandard/AffineToStandard.cpp
    M mlir/lib/Conversion/AffineToStandard/CMakeLists.txt
    M mlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRV.cpp
    M mlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRVPass.cpp
    M mlir/lib/Conversion/LoopToStandard/CMakeLists.txt
    M mlir/lib/Conversion/LoopToStandard/LoopToStandard.cpp
    M mlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp
    M mlir/lib/Conversion/LoopsToGPU/LoopsToGPUPass.cpp
    M mlir/lib/Conversion/VectorToLoops/ConvertVectorToLoops.cpp
    M mlir/lib/Dialect/CMakeLists.txt
    M mlir/lib/Dialect/GPU/CMakeLists.txt
    M mlir/lib/Dialect/GPU/Transforms/MemoryPromotion.cpp
    M mlir/lib/Dialect/GPU/Transforms/ParallelLoopMapper.cpp
    M mlir/lib/Dialect/Linalg/EDSC/Builders.cpp
    M mlir/lib/Dialect/Linalg/EDSC/CMakeLists.txt
    M mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
    M mlir/lib/Dialect/Linalg/Transforms/Loops.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
    M mlir/lib/Dialect/Linalg/Utils/CMakeLists.txt
    M mlir/lib/Dialect/Linalg/Utils/Utils.cpp
    R mlir/lib/Dialect/LoopOps/CMakeLists.txt
    R mlir/lib/Dialect/LoopOps/EDSC/Builders.cpp
    R mlir/lib/Dialect/LoopOps/LoopOps.cpp
    R mlir/lib/Dialect/LoopOps/Transforms/CMakeLists.txt
    R mlir/lib/Dialect/LoopOps/Transforms/ParallelLoopFusion.cpp
    R mlir/lib/Dialect/LoopOps/Transforms/ParallelLoopSpecialization.cpp
    R mlir/lib/Dialect/LoopOps/Transforms/ParallelLoopTiling.cpp
    R mlir/lib/Dialect/LoopOps/Transforms/PassDetail.h
    A mlir/lib/Dialect/SCF/CMakeLists.txt
    A mlir/lib/Dialect/SCF/EDSC/Builders.cpp
    A mlir/lib/Dialect/SCF/SCF.cpp
    A mlir/lib/Dialect/SCF/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/SCF/Transforms/ParallelLoopFusion.cpp
    A mlir/lib/Dialect/SCF/Transforms/ParallelLoopSpecialization.cpp
    A mlir/lib/Dialect/SCF/Transforms/ParallelLoopTiling.cpp
    A mlir/lib/Dialect/SCF/Transforms/PassDetail.h
    M mlir/lib/Dialect/Vector/CMakeLists.txt
    M mlir/lib/Transforms/CMakeLists.txt
    M mlir/lib/Transforms/LoopCoalescing.cpp
    M mlir/lib/Transforms/ParallelLoopCollapsing.cpp
    M mlir/lib/Transforms/Utils/CMakeLists.txt
    M mlir/lib/Transforms/Utils/LoopUtils.cpp
    R mlir/test/Dialect/Loops/invalid.mlir
    R mlir/test/Dialect/Loops/loop-unroll.mlir
    R mlir/test/Dialect/Loops/ops.mlir
    R mlir/test/Dialect/Loops/parallel-loop-fusion.mlir
    R mlir/test/Dialect/Loops/parallel-loop-specialization.mlir
    R mlir/test/Dialect/Loops/parallel-loop-tiling.mlir
    A mlir/test/Dialect/SCF/invalid.mlir
    A mlir/test/Dialect/SCF/loop-unroll.mlir
    A mlir/test/Dialect/SCF/ops.mlir
    A mlir/test/Dialect/SCF/parallel-loop-fusion.mlir
    A mlir/test/Dialect/SCF/parallel-loop-specialization.mlir
    A mlir/test/Dialect/SCF/parallel-loop-tiling.mlir
    M mlir/test/EDSC/CMakeLists.txt
    M mlir/test/EDSC/builder-api-test.cpp
    M mlir/test/lib/Transforms/CMakeLists.txt
    M mlir/test/lib/Transforms/TestLoopMapping.cpp
    M mlir/test/lib/Transforms/TestLoopParametricTiling.cpp
    M mlir/test/lib/Transforms/TestLoopUnrolling.cpp

  Log Message:
  -----------
  [mlir] NFC: Rename LoopOps dialect to SCF (Structured Control Flow)

This dialect contains various structured control flow operaitons, not only
loops, reflect this in the name. Drop the Ops suffix for consistency with other
dialects.

Note that this only moves the files and changes the C++ namespace from 'loop'
to 'scf'. The visible IR prefix remains the same and will be updated
separately. The conversions will also be updated separately.

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




More information about the All-commits mailing list