[Mlir-commits] [mlir] [mlir][memref] Rename `MemRef` directories and files (PR #102337)
Angel Zhang
llvmlistbot at llvm.org
Wed Aug 7 10:24:54 PDT 2024
https://github.com/angelz913 created https://github.com/llvm/llvm-project/pull/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.
>From a9acdcfb61d83eb22dee2d8370c57a6855704c17 Mon Sep 17 00:00:00 2001
From: Angel Zhang <angel.zhang at amd.com>
Date: Wed, 7 Aug 2024 17:20:25 +0000
Subject: [PATCH] [mlir][memref] Rename MemRef directories and files
---
mlir/lib/Dialect/GPU/CMakeLists.txt | 2 +-
.../Transforms/{DecomposeMemrefs.cpp => DecomposeMemRefs.cpp} | 2 +-
.../Dialect/{Memref => MemRef}/cast-runtime-verification.mlir | 0
.../Dialect/{Memref => MemRef}/load-runtime-verification.mlir | 0
mlir/test/Integration/Dialect/{Memref => MemRef}/memref_abi.c | 0
.../Integration/Dialect/{Memref => MemRef}/print-memref.mlir | 0
.../reinterpret-cast-runtime-verification.mlir | 0
.../{Memref => MemRef}/subview-runtime-verification.mlir | 0
.../Integration/Dialect/{Memref => MemRef}/verify-memref.mlir | 0
9 files changed, 2 insertions(+), 2 deletions(-)
rename mlir/lib/Dialect/GPU/Transforms/{DecomposeMemrefs.cpp => DecomposeMemRefs.cpp} (99%)
rename mlir/test/Integration/Dialect/{Memref => MemRef}/cast-runtime-verification.mlir (100%)
rename mlir/test/Integration/Dialect/{Memref => MemRef}/load-runtime-verification.mlir (100%)
rename mlir/test/Integration/Dialect/{Memref => MemRef}/memref_abi.c (100%)
rename mlir/test/Integration/Dialect/{Memref => MemRef}/print-memref.mlir (100%)
rename mlir/test/Integration/Dialect/{Memref => MemRef}/reinterpret-cast-runtime-verification.mlir (100%)
rename mlir/test/Integration/Dialect/{Memref => MemRef}/subview-runtime-verification.mlir (100%)
rename mlir/test/Integration/Dialect/{Memref => MemRef}/verify-memref.mlir (100%)
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