[Mlir-commits] [mlir] 863a2ed - [mlir][memref] Rename `MemRef` directories and files. NFC. (#102337)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Aug 7 12:41:44 PDT 2024


Author: Angel Zhang
Date: 2024-08-07T15:41:40-04:00
New Revision: 863a2ed440bbeaade37a01c9480eaf9cfbd0a6d2

URL: https://github.com/llvm/llvm-project/commit/863a2ed440bbeaade37a01c9480eaf9cfbd0a6d2
DIFF: https://github.com/llvm/llvm-project/commit/863a2ed440bbeaade37a01c9480eaf9cfbd0a6d2.diff

LOG: [mlir][memref] Rename `MemRef` directories and files. NFC. (#102337)

This PR renames the `MemRef` integration test directory for and the
`DecomposeMemref.s.cpp` so that they can be found when doing a
case-sensitive search on file paths.

Added: 
    mlir/lib/Dialect/GPU/Transforms/DecomposeMemRefs.cpp
    mlir/test/Integration/Dialect/MemRef/cast-runtime-verification.mlir
    mlir/test/Integration/Dialect/MemRef/load-runtime-verification.mlir
    mlir/test/Integration/Dialect/MemRef/memref_abi.c
    mlir/test/Integration/Dialect/MemRef/print-memref.mlir
    mlir/test/Integration/Dialect/MemRef/reinterpret-cast-runtime-verification.mlir
    mlir/test/Integration/Dialect/MemRef/subview-runtime-verification.mlir
    mlir/test/Integration/Dialect/MemRef/verify-memref.mlir

Modified: 
    mlir/lib/Dialect/GPU/CMakeLists.txt

Removed: 
    mlir/lib/Dialect/GPU/Transforms/DecomposeMemrefs.cpp
    mlir/test/Integration/Dialect/Memref/cast-runtime-verification.mlir
    mlir/test/Integration/Dialect/Memref/load-runtime-verification.mlir
    mlir/test/Integration/Dialect/Memref/memref_abi.c
    mlir/test/Integration/Dialect/Memref/print-memref.mlir
    mlir/test/Integration/Dialect/Memref/reinterpret-cast-runtime-verification.mlir
    mlir/test/Integration/Dialect/Memref/subview-runtime-verification.mlir
    mlir/test/Integration/Dialect/Memref/verify-memref.mlir


################################################################################
diff  --git a/mlir/lib/Dialect/GPU/CMakeLists.txt b/mlir/lib/Dialect/GPU/CMakeLists.txt
index 8e4cef5af7e374..a59645480aba21 100644
--- a/mlir/lib/Dialect/GPU/CMakeLists.txt
+++ b/mlir/lib/Dialect/GPU/CMakeLists.txt
@@ -28,7 +28,7 @@ add_mlir_dialect_library(MLIRGPUTransforms
   Transforms/AllReduceLowering.cpp
   Transforms/AsyncRegionRewriter.cpp
   Transforms/BufferDeallocationOpInterfaceImpl.cpp
-  Transforms/DecomposeMemrefs.cpp
+  Transforms/DecomposeMemRefs.cpp
   Transforms/EliminateBarriers.cpp
   Transforms/GlobalIdRewriter.cpp
   Transforms/KernelOutlining.cpp

diff  --git a/mlir/lib/Dialect/GPU/Transforms/DecomposeMemrefs.cpp b/mlir/lib/Dialect/GPU/Transforms/DecomposeMemRefs.cpp
similarity index 99%
rename from mlir/lib/Dialect/GPU/Transforms/DecomposeMemrefs.cpp
rename to mlir/lib/Dialect/GPU/Transforms/DecomposeMemRefs.cpp
index 1e4c1fbc58948d..2b2d10a7733ece 100644
--- a/mlir/lib/Dialect/GPU/Transforms/DecomposeMemrefs.cpp
+++ b/mlir/lib/Dialect/GPU/Transforms/DecomposeMemRefs.cpp
@@ -1,4 +1,4 @@
-//===- DecomposeMemrefs.cpp - Decompose memrefs pass implementation -------===//
+//===- DecomposeMemRefs.cpp - Decompose memrefs pass implementation -------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/mlir/test/Integration/Dialect/Memref/cast-runtime-verification.mlir b/mlir/test/Integration/Dialect/MemRef/cast-runtime-verification.mlir
similarity index 100%
rename from mlir/test/Integration/Dialect/Memref/cast-runtime-verification.mlir
rename to mlir/test/Integration/Dialect/MemRef/cast-runtime-verification.mlir

diff  --git a/mlir/test/Integration/Dialect/Memref/load-runtime-verification.mlir b/mlir/test/Integration/Dialect/MemRef/load-runtime-verification.mlir
similarity index 100%
rename from mlir/test/Integration/Dialect/Memref/load-runtime-verification.mlir
rename to mlir/test/Integration/Dialect/MemRef/load-runtime-verification.mlir

diff  --git a/mlir/test/Integration/Dialect/Memref/memref_abi.c b/mlir/test/Integration/Dialect/MemRef/memref_abi.c
similarity index 100%
rename from mlir/test/Integration/Dialect/Memref/memref_abi.c
rename to mlir/test/Integration/Dialect/MemRef/memref_abi.c

diff  --git a/mlir/test/Integration/Dialect/Memref/print-memref.mlir b/mlir/test/Integration/Dialect/MemRef/print-memref.mlir
similarity index 100%
rename from mlir/test/Integration/Dialect/Memref/print-memref.mlir
rename to mlir/test/Integration/Dialect/MemRef/print-memref.mlir

diff  --git a/mlir/test/Integration/Dialect/Memref/reinterpret-cast-runtime-verification.mlir b/mlir/test/Integration/Dialect/MemRef/reinterpret-cast-runtime-verification.mlir
similarity index 100%
rename from mlir/test/Integration/Dialect/Memref/reinterpret-cast-runtime-verification.mlir
rename to mlir/test/Integration/Dialect/MemRef/reinterpret-cast-runtime-verification.mlir

diff  --git a/mlir/test/Integration/Dialect/Memref/subview-runtime-verification.mlir b/mlir/test/Integration/Dialect/MemRef/subview-runtime-verification.mlir
similarity index 100%
rename from mlir/test/Integration/Dialect/Memref/subview-runtime-verification.mlir
rename to mlir/test/Integration/Dialect/MemRef/subview-runtime-verification.mlir

diff  --git a/mlir/test/Integration/Dialect/Memref/verify-memref.mlir b/mlir/test/Integration/Dialect/MemRef/verify-memref.mlir
similarity index 100%
rename from mlir/test/Integration/Dialect/Memref/verify-memref.mlir
rename to mlir/test/Integration/Dialect/MemRef/verify-memref.mlir


        


More information about the Mlir-commits mailing list