[Mlir-commits] [mlir] 56e1c20 - [MLIR][NFC] rename ConvertStandardToLLVM, ConvertLoopToStandard to drop Convert prefix
Uday Bondhugula
llvmlistbot at llvm.org
Sun Mar 22 19:54:58 PDT 2020
Author: Uday Bondhugula
Date: 2020-03-23T08:24:11+05:30
New Revision: 56e1c20bfdfa9c837cd7743a841a32b371890e47
URL: https://github.com/llvm/llvm-project/commit/56e1c20bfdfa9c837cd7743a841a32b371890e47
DIFF: https://github.com/llvm/llvm-project/commit/56e1c20bfdfa9c837cd7743a841a32b371890e47.diff
LOG: [MLIR][NFC] rename ConvertStandardToLLVM, ConvertLoopToStandard to drop Convert prefix
This is in line with the convention agreed on https://llvm.discourse.group/t/rfc-canonical-file-paths-to-dialects/621
Signed-off-by: Uday Bondhugula <uday at polymagelabs.com>
Differential Revision: https://reviews.llvm.org/D76583
Added:
mlir/lib/Conversion/LoopToStandard/LoopToStandard.cpp
mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
Modified:
mlir/lib/Conversion/LoopToStandard/CMakeLists.txt
mlir/lib/Conversion/StandardToLLVM/CMakeLists.txt
Removed:
mlir/lib/Conversion/LoopToStandard/ConvertLoopToStandard.cpp
mlir/lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp
################################################################################
diff --git a/mlir/lib/Conversion/LoopToStandard/CMakeLists.txt b/mlir/lib/Conversion/LoopToStandard/CMakeLists.txt
index 87188dbf3dbd..d0401d80fe93 100644
--- a/mlir/lib/Conversion/LoopToStandard/CMakeLists.txt
+++ b/mlir/lib/Conversion/LoopToStandard/CMakeLists.txt
@@ -1,5 +1,5 @@
add_mlir_conversion_library(MLIRLoopToStandard
- ConvertLoopToStandard.cpp
+ LoopToStandard.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/LoopToStandard
diff --git a/mlir/lib/Conversion/LoopToStandard/ConvertLoopToStandard.cpp b/mlir/lib/Conversion/LoopToStandard/LoopToStandard.cpp
similarity index 99%
rename from mlir/lib/Conversion/LoopToStandard/ConvertLoopToStandard.cpp
rename to mlir/lib/Conversion/LoopToStandard/LoopToStandard.cpp
index 8f7c76c921e1..178759ad67d6 100644
--- a/mlir/lib/Conversion/LoopToStandard/ConvertLoopToStandard.cpp
+++ b/mlir/lib/Conversion/LoopToStandard/LoopToStandard.cpp
@@ -1,4 +1,4 @@
-//===- ConvertLoopToStandard.cpp - ControlFlow to CFG conversion ----------===//
+//===- LoopToStandard.cpp - ControlFlow to CFG conversion -----------------===//
//
// 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/lib/Conversion/StandardToLLVM/CMakeLists.txt b/mlir/lib/Conversion/StandardToLLVM/CMakeLists.txt
index 50081d4d6de7..3a5b2f6ba06c 100644
--- a/mlir/lib/Conversion/StandardToLLVM/CMakeLists.txt
+++ b/mlir/lib/Conversion/StandardToLLVM/CMakeLists.txt
@@ -1,5 +1,5 @@
add_mlir_conversion_library(MLIRStandardToLLVM
- ConvertStandardToLLVM.cpp
+ StandardToLLVM.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/StandardToLLVM
diff --git a/mlir/lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp b/mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
similarity index 99%
rename from mlir/lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp
rename to mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
index 250ff3682653..e353e933a8ae 100644
--- a/mlir/lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp
+++ b/mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
@@ -1,4 +1,4 @@
-//===- ConvertStandardToLLVM.cpp - Standard to LLVM dialect conversion-----===//
+//===- StandardToLLVM.cpp - Standard to LLVM dialect conversion -----------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
More information about the Mlir-commits
mailing list