[Mlir-commits] [mlir] d20249f - [MLIR] NFC. Rename test cases in test/mlir-cpu-runner per convention

Uday Bondhugula llvmlistbot at llvm.org
Fri Dec 3 17:24:47 PST 2021


Author: Uday Bondhugula
Date: 2021-12-04T06:53:39+05:30
New Revision: d20249fde649a3a490618232bb48a1c701d35f03

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

LOG: [MLIR] NFC. Rename test cases in test/mlir-cpu-runner per convention

Test case files at most places in MLIR uses hyphens and not underscores.
A counter-pattern was somehow started to use underscores in some places.
Rename test cases in test/mlir-cpu-runner to use hyphens so that it's
consistent at least within its directory.

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

Added: 
    mlir/test/mlir-cpu-runner/X86Vector/math-polynomial-approx-avx2.mlir
    mlir/test/mlir-cpu-runner/bare-ptr-call-conv.mlir
    mlir/test/mlir-cpu-runner/global-memref.mlir
    mlir/test/mlir-cpu-runner/math-polynomial-approx.mlir
    mlir/test/mlir-cpu-runner/memref-reinterpret-cast.mlir
    mlir/test/mlir-cpu-runner/memref-reshape.mlir
    mlir/test/mlir-cpu-runner/sgemm-naive-codegen.mlir
    mlir/test/mlir-cpu-runner/unranked-memref.mlir

Modified: 
    

Removed: 
    mlir/test/mlir-cpu-runner/X86Vector/math_polynomial_approx_avx2.mlir
    mlir/test/mlir-cpu-runner/bare_ptr_call_conv.mlir
    mlir/test/mlir-cpu-runner/global_memref.mlir
    mlir/test/mlir-cpu-runner/math_polynomial_approx.mlir
    mlir/test/mlir-cpu-runner/memref_reinterpret_cast.mlir
    mlir/test/mlir-cpu-runner/memref_reshape.mlir
    mlir/test/mlir-cpu-runner/sgemm_naive_codegen.mlir
    mlir/test/mlir-cpu-runner/unranked_memref.mlir


################################################################################
diff  --git a/mlir/test/mlir-cpu-runner/X86Vector/math_polynomial_approx_avx2.mlir b/mlir/test/mlir-cpu-runner/X86Vector/math-polynomial-approx-avx2.mlir
similarity index 100%
rename from mlir/test/mlir-cpu-runner/X86Vector/math_polynomial_approx_avx2.mlir
rename to mlir/test/mlir-cpu-runner/X86Vector/math-polynomial-approx-avx2.mlir

diff  --git a/mlir/test/mlir-cpu-runner/bare_ptr_call_conv.mlir b/mlir/test/mlir-cpu-runner/bare-ptr-call-conv.mlir
similarity index 100%
rename from mlir/test/mlir-cpu-runner/bare_ptr_call_conv.mlir
rename to mlir/test/mlir-cpu-runner/bare-ptr-call-conv.mlir

diff  --git a/mlir/test/mlir-cpu-runner/global_memref.mlir b/mlir/test/mlir-cpu-runner/global-memref.mlir
similarity index 100%
rename from mlir/test/mlir-cpu-runner/global_memref.mlir
rename to mlir/test/mlir-cpu-runner/global-memref.mlir

diff  --git a/mlir/test/mlir-cpu-runner/math_polynomial_approx.mlir b/mlir/test/mlir-cpu-runner/math-polynomial-approx.mlir
similarity index 100%
rename from mlir/test/mlir-cpu-runner/math_polynomial_approx.mlir
rename to mlir/test/mlir-cpu-runner/math-polynomial-approx.mlir

diff  --git a/mlir/test/mlir-cpu-runner/memref_reinterpret_cast.mlir b/mlir/test/mlir-cpu-runner/memref-reinterpret-cast.mlir
similarity index 100%
rename from mlir/test/mlir-cpu-runner/memref_reinterpret_cast.mlir
rename to mlir/test/mlir-cpu-runner/memref-reinterpret-cast.mlir

diff  --git a/mlir/test/mlir-cpu-runner/memref_reshape.mlir b/mlir/test/mlir-cpu-runner/memref-reshape.mlir
similarity index 100%
rename from mlir/test/mlir-cpu-runner/memref_reshape.mlir
rename to mlir/test/mlir-cpu-runner/memref-reshape.mlir

diff  --git a/mlir/test/mlir-cpu-runner/sgemm_naive_codegen.mlir b/mlir/test/mlir-cpu-runner/sgemm-naive-codegen.mlir
similarity index 100%
rename from mlir/test/mlir-cpu-runner/sgemm_naive_codegen.mlir
rename to mlir/test/mlir-cpu-runner/sgemm-naive-codegen.mlir

diff  --git a/mlir/test/mlir-cpu-runner/unranked_memref.mlir b/mlir/test/mlir-cpu-runner/unranked-memref.mlir
similarity index 100%
rename from mlir/test/mlir-cpu-runner/unranked_memref.mlir
rename to mlir/test/mlir-cpu-runner/unranked-memref.mlir


        


More information about the Mlir-commits mailing list