[Mlir-commits] [mlir] [MLIR] SM_90 integratation test of TMA `128x64xf16` and `64x64xf16` with 128b Swizzling (PR #65954)
Mehdi Amini
llvmlistbot at llvm.org
Mon Sep 25 18:08:47 PDT 2023
================
@@ -0,0 +1,247 @@
+// RUN: mlir-opt %s --convert-nvgpu-to-nvvm \
+// RUN: -convert-linalg-to-loops \
+// RUN: -canonicalize -cse \
+// RUN: -gpu-kernel-outlining \
+// RUN: -canonicalize -cse \
+// RUN: -convert-vector-to-scf \
+// RUN: -canonicalize -cse \
+// RUN: -lower-affine \
+// RUN: -canonicalize -cse \
+// RUN: -convert-scf-to-cf \
+// RUN: -canonicalize -cse \
+// RUN: -convert-nvvm-to-llvm \
+// RUN: -canonicalize -cse \
+// RUN: -convert-nvgpu-to-nvvm \
+// RUN: -canonicalize -cse \
+// RUN: -convert-scf-to-cf \
+// RUN: -convert-vector-to-llvm \
+// RUN: -canonicalize -cse \
+// RUN: -convert-math-to-llvm \
+// RUN: -canonicalize -cse \
+// RUN: -lower-affine \
+// RUN: -convert-index-to-llvm=index-bitwidth=32 \
+// RUN: -convert-arith-to-llvm \
+// RUN: -finalize-memref-to-llvm='use-opaque-pointers=1' \
+// RUN: -convert-func-to-llvm \
+// RUN: -canonicalize -cse \
----------------
joker-eph wrote:
This pipeline really seems messy: there seems like a clear abuse of "canonicalize, cse", and the overall ordering isn't clear to me (why is `convert-nvvm-to-llvm` before `convert-nvgpu-to-nvvm`? Why is `convert-scf-to-cf` duplicated?)
Also I would think that the `convert-to-llvm` should cover most of of the LLVM conversion.
, can you please clean this up?
and make this a single `mlir-opt` invocation being a `--pass-pipeline`
https://github.com/llvm/llvm-project/pull/65954
More information about the Mlir-commits
mailing list