[all-commits] [llvm/llvm-project] a89035: Revert "[MLIR] Create memref dialect and move seve...

Alexander Belyaev via All-commits all-commits at lists.llvm.org
Thu Feb 18 03:51:23 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a89035d750c6f3f07ceab2c22eedb86afd386bc7
      https://github.com/llvm/llvm-project/commit/a89035d750c6f3f07ceab2c22eedb86afd386bc7
  Author: Alexander Belyaev <pifon at google.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    M mlir/docs/BufferDeallocationInternals.md
    M mlir/docs/Dialects/Linalg.md
    M mlir/docs/Traits.md
    M mlir/examples/toy/Ch5/mlir/LowerToAffineLoops.cpp
    M mlir/examples/toy/Ch6/mlir/LowerToAffineLoops.cpp
    M mlir/examples/toy/Ch7/mlir/LowerToAffineLoops.cpp
    M mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVMPass.h
    M mlir/include/mlir/Dialect/CMakeLists.txt
    M mlir/include/mlir/Dialect/GPU/GPUOps.td
    M mlir/include/mlir/Dialect/Linalg/EDSC/FoldedIntrinsics.h
    M mlir/include/mlir/Dialect/Linalg/Passes.h
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    R mlir/include/mlir/Dialect/MemRef/CMakeLists.txt
    R mlir/include/mlir/Dialect/MemRef/IR/CMakeLists.txt
    R mlir/include/mlir/Dialect/MemRef/IR/MemRef.h
    R mlir/include/mlir/Dialect/MemRef/IR/MemRefBase.td
    R mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
    M mlir/include/mlir/Dialect/StandardOps/EDSC/Intrinsics.h
    M mlir/include/mlir/Dialect/StandardOps/IR/Ops.h
    M mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
    M mlir/include/mlir/Dialect/StandardOps/Transforms/Passes.td
    M mlir/include/mlir/Dialect/Vector/VectorTransforms.h
    M mlir/include/mlir/IR/OpDefinition.h
    M mlir/include/mlir/InitAllDialects.h
    M mlir/include/mlir/Transforms/Passes.td
    M mlir/include/mlir/Transforms/Utils.h
    M mlir/lib/Conversion/AffineToStandard/AffineToStandard.cpp
    M mlir/lib/Conversion/LinalgToStandard/LinalgToStandard.cpp
    M mlir/lib/Conversion/SCFToGPU/SCFToGPU.cpp
    M mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
    M mlir/lib/Conversion/StandardToSPIRV/LegalizeStandardForSPIRV.cpp
    M mlir/lib/Conversion/StandardToSPIRV/StandardToSPIRV.cpp
    M mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/lib/Dialect/CMakeLists.txt
    M mlir/lib/Dialect/GPU/Transforms/AllReduceLowering.cpp
    M mlir/lib/Dialect/Linalg/IR/CMakeLists.txt
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Hoisting.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Sparsification.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    R mlir/lib/Dialect/MemRef/CMakeLists.txt
    R mlir/lib/Dialect/MemRef/IR/CMakeLists.txt
    R mlir/lib/Dialect/MemRef/IR/MemRefDialect.cpp
    R mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/lib/Dialect/SCF/Transforms/ParallelLoopFusion.cpp
    M mlir/lib/Dialect/StandardOps/IR/Ops.cpp
    M mlir/lib/Dialect/StandardOps/Transforms/TensorConstantBufferize.cpp
    M mlir/lib/Dialect/Tensor/Transforms/Bufferize.cpp
    M mlir/lib/Dialect/Vector/VectorOps.cpp
    M mlir/lib/Dialect/Vector/VectorTransforms.cpp
    M mlir/lib/Transforms/BufferDeallocation.cpp
    M mlir/lib/Transforms/BufferOptimizations.cpp
    M mlir/lib/Transforms/BufferResultsToOutParams.cpp
    M mlir/lib/Transforms/LoopFusion.cpp
    M mlir/lib/Transforms/MemRefDataFlowOpt.cpp
    M mlir/lib/Transforms/NormalizeMemRefs.cpp
    M mlir/lib/Transforms/PipelineDataTransfer.cpp
    M mlir/lib/Transforms/Utils/LoopUtils.cpp
    M mlir/lib/Transforms/Utils/Utils.cpp
    M mlir/test/Analysis/test-alias-analysis.mlir
    M mlir/test/Analysis/test-liveness.mlir
    M mlir/test/CAPI/ir.c
    M mlir/test/Conversion/AffineToStandard/lower-affine-to-vector.mlir
    M mlir/test/Conversion/AffineToStandard/lower-affine.mlir
    M mlir/test/Conversion/AsyncToLLVM/convert-to-llvm.mlir
    M mlir/test/Conversion/GPUCommon/memory-attrbution.mlir
    M mlir/test/Conversion/GPUToSPIRV/load-store.mlir
    M mlir/test/Conversion/GPUToVulkan/lower-gpu-launch-vulkan-launch.mlir
    M mlir/test/Conversion/LinalgToVector/linalg-to-vector.mlir
    M mlir/test/Conversion/SCFToGPU/no_blocks_no_threads.mlir
    M mlir/test/Conversion/SCFToGPU/parallel_loop.mlir
    M mlir/test/Conversion/SCFToGPU/step_one.mlir
    M mlir/test/Conversion/SCFToGPU/step_positive.mlir
    M mlir/test/Conversion/SCFToSPIRV/for.mlir
    M mlir/test/Conversion/SCFToSPIRV/if.mlir
    M mlir/test/Conversion/SPIRVToLLVM/lower-host-to-llvm-calls.mlir
    M mlir/test/Conversion/StandardToLLVM/calling-convention.mlir
    M mlir/test/Conversion/StandardToLLVM/convert-dynamic-memref-ops.mlir
    M mlir/test/Conversion/StandardToLLVM/convert-static-memref-ops.mlir
    M mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
    M mlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir
    M mlir/test/Conversion/StandardToSPIRV/alloc.mlir
    M mlir/test/Conversion/StandardToSPIRV/legalization.mlir
    M mlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir
    M mlir/test/Conversion/StandardToSPIRV/subview-to-spirv.mlir
    M mlir/test/Conversion/VectorToSCF/vector-to-loops.mlir
    M mlir/test/Dialect/Affine/SuperVectorize/vector_utils.mlir
    M mlir/test/Dialect/Affine/SuperVectorize/vectorize_1d.mlir
    M mlir/test/Dialect/Affine/SuperVectorize/vectorize_2d.mlir
    M mlir/test/Dialect/Affine/affine-data-copy.mlir
    M mlir/test/Dialect/Affine/affine-loop-invariant-code-motion.mlir
    M mlir/test/Dialect/Affine/affine-loop-normalize.mlir
    M mlir/test/Dialect/Affine/canonicalize.mlir
    M mlir/test/Dialect/Affine/dma-generate.mlir
    M mlir/test/Dialect/Affine/dma.mlir
    M mlir/test/Dialect/Affine/invalid.mlir
    M mlir/test/Dialect/Affine/load-store-invalid.mlir
    M mlir/test/Dialect/Affine/load-store.mlir
    M mlir/test/Dialect/Affine/loop-tiling-validity.mlir
    M mlir/test/Dialect/Affine/memref-stride-calculation.mlir
    M mlir/test/Dialect/Affine/ops.mlir
    M mlir/test/Dialect/Affine/parallelize.mlir
    M mlir/test/Dialect/Affine/slicing-utils.mlir
    M mlir/test/Dialect/Affine/unroll.mlir
    M mlir/test/Dialect/Async/async-parallel-for.mlir
    M mlir/test/Dialect/Async/async-to-async-runtime.mlir
    M mlir/test/Dialect/GPU/multiple-all-reduce.mlir
    M mlir/test/Dialect/Linalg/affine.mlir
    M mlir/test/Dialect/Linalg/bufferize.mlir
    M mlir/test/Dialect/Linalg/canonicalize.mlir
    M mlir/test/Dialect/Linalg/fold-affine-min-scf.mlir
    M mlir/test/Dialect/Linalg/forward-vector-transfers.mlir
    M mlir/test/Dialect/Linalg/fusion-pattern.mlir
    M mlir/test/Dialect/Linalg/fusion-sequence.mlir
    M mlir/test/Dialect/Linalg/fusion.mlir
    M mlir/test/Dialect/Linalg/hoisting.mlir
    M mlir/test/Dialect/Linalg/invalid.mlir
    M mlir/test/Dialect/Linalg/loops.mlir
    M mlir/test/Dialect/Linalg/promote.mlir
    M mlir/test/Dialect/Linalg/promotion_options.mlir
    M mlir/test/Dialect/Linalg/roundtrip.mlir
    M mlir/test/Dialect/Linalg/sparse_1d.mlir
    M mlir/test/Dialect/Linalg/sparse_2d.mlir
    M mlir/test/Dialect/Linalg/sparse_3d.mlir
    M mlir/test/Dialect/Linalg/sparse_lower.mlir
    M mlir/test/Dialect/Linalg/sparse_nd.mlir
    M mlir/test/Dialect/Linalg/standard.mlir
    M mlir/test/Dialect/Linalg/transform-patterns.mlir
    M mlir/test/Dialect/OpenACC/invalid.mlir
    M mlir/test/Dialect/OpenACC/ops.mlir
    M mlir/test/Dialect/SCF/canonicalize.mlir
    M mlir/test/Dialect/SCF/for-loop-specialization.mlir
    M mlir/test/Dialect/SCF/loop-unroll.mlir
    M mlir/test/Dialect/SCF/parallel-loop-fusion.mlir
    M mlir/test/Dialect/SCF/parallel-loop-specialization.mlir
    M mlir/test/Dialect/SCF/parallel-loop-tiling.mlir
    M mlir/test/Dialect/Standard/canonicalize.mlir
    M mlir/test/Dialect/Standard/invalid.mlir
    M mlir/test/Dialect/Standard/ops.mlir
    M mlir/test/Dialect/Tensor/bufferize.mlir
    M mlir/test/Dialect/Tensor/canonicalize.mlir
    M mlir/test/Dialect/Vector/canonicalize.mlir
    M mlir/test/Dialect/Vector/vector-contract-matvec-transforms.mlir
    M mlir/test/Dialect/Vector/vector-transfer-full-partial-split.mlir
    M mlir/test/Dialect/Vector/vector-transforms.mlir
    M mlir/test/Examples/Toy/Ch5/affine-lowering.mlir
    M mlir/test/Examples/Toy/Ch6/affine-lowering.mlir
    M mlir/test/Examples/Toy/Ch7/affine-lowering.mlir
    M mlir/test/IR/core-ops.mlir
    M mlir/test/IR/invalid-ops.mlir
    M mlir/test/IR/memory-ops.mlir
    M mlir/test/IR/parser.mlir
    M mlir/test/IR/slice.mlir
    M mlir/test/Transforms/buffer-deallocation.mlir
    M mlir/test/Transforms/buffer-hoisting.mlir
    M mlir/test/Transforms/buffer-loop-hoisting.mlir
    M mlir/test/Transforms/buffer-results-to-out-params.mlir
    M mlir/test/Transforms/canonicalize-block-merge.mlir
    M mlir/test/Transforms/canonicalize.mlir
    M mlir/test/Transforms/constant-fold.mlir
    M mlir/test/Transforms/copy-removal.mlir
    M mlir/test/Transforms/cse.mlir
    M mlir/test/Transforms/loop-fusion-dependence-check.mlir
    M mlir/test/Transforms/loop-fusion-slice-computation.mlir
    M mlir/test/Transforms/loop-fusion-transformation.mlir
    M mlir/test/Transforms/loop-fusion.mlir
    M mlir/test/Transforms/loop-invariant-code-motion.mlir
    M mlir/test/Transforms/memref-bound-check.mlir
    M mlir/test/Transforms/memref-dataflow-opt.mlir
    M mlir/test/Transforms/memref-dependence-check.mlir
    M mlir/test/Transforms/normalize-memrefs-ops.mlir
    M mlir/test/Transforms/normalize-memrefs.mlir
    M mlir/test/Transforms/pipeline-data-transfer.mlir
    M mlir/test/Transforms/promote-buffers-to-stack.mlir
    M mlir/test/lib/Transforms/TestLinalgTransforms.cpp
    M mlir/test/lib/Transforms/TestMemRefStrideCalculation.cpp
    M mlir/test/lib/Transforms/TestVectorTransforms.cpp
    M mlir/test/mlir-cpu-runner/async-value.mlir
    M mlir/test/mlir-cpu-runner/async.mlir
    M mlir/test/mlir-cpu-runner/bare_ptr_call_conv.mlir
    M mlir/test/mlir-cpu-runner/global_memref.mlir
    M mlir/test/mlir-cpu-runner/memref_reinterpret_cast.mlir
    M mlir/test/mlir-cpu-runner/memref_reshape.mlir
    M mlir/test/mlir-cpu-runner/sgemm_naive_codegen.mlir
    M mlir/test/mlir-cpu-runner/unranked_memref.mlir
    M mlir/test/mlir-cpu-runner/utils.mlir
    M mlir/test/mlir-opt/commandline.mlir
    M mlir/test/mlir-reduce/multiple-function.mlir
    M mlir/test/mlir-reduce/simple-test.mlir
    M mlir/unittests/ExecutionEngine/Invoke.cpp

  Log Message:
  -----------
  Revert "[MLIR] Create memref dialect and move several dialect-specific ops from std."

This commit introduced a cyclic dependency:
Memref dialect depends on Standard because it used ConstantIndexOp.
Std depends on the MemRef dialect in its EDSC/Intrinsics.h

Working on a fix.

This reverts commit 8aa6c3765b924d86f623d452777eb76b83bf2787.




More information about the All-commits mailing list