summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLewuathe <lewuathe@me.com>2021-01-09 20:43:43 +0000
committerMehdi Amini <joker.eph@gmail.com>2021-01-09 20:43:51 +0000
commit03d249396d6b736447d529915e77dfeb84f2eeae (patch)
treea746eb2674636f121cd0b3754dee47aeac8688cd
parent4dbb3f57c6fe581ef525dbe49a401f4bab834eff (diff)
downloadllvm-9eb3e564d3b.tar.gz
[mlir] Enhance mlir-opt show-dialects test case9eb3e564d3b
mlir-opt supports many more test cases. All available dialects supported by latest mlir-opt should be coverted in the test case. Reviewed By: aartbik, stephenneuendorffer, mehdi_amini Differential Revision: https://reviews.llvm.org/D93821
-rw-r--r--mlir/test/mlir-opt/commandline.mlir41
1 files changed, 27 insertions, 14 deletions
diff --git a/mlir/test/mlir-opt/commandline.mlir b/mlir/test/mlir-opt/commandline.mlir
index 4cf6ea9d8a69..94eb94483790 100644
--- a/mlir/test/mlir-opt/commandline.mlir
+++ b/mlir/test/mlir-opt/commandline.mlir
@@ -1,16 +1,29 @@
// RUN: mlir-opt --show-dialects | FileCheck %s
// CHECK: Available Dialects:
-// CHECK: affine
-// CHECK: gpu
-// CHECK: linalg
-// CHECK: llvm
-// CHECK: nvvm
-// CHECK: omp
-// CHECK: quant
-// CHECK: rocdl
-// CHECK: scf
-// CHECK: sdbm
-// CHECK: spv
-// CHECK: std
-// CHECK: test
-// CHECK: vector
+// CHECK-NEXT: acc
+// CHECK-NEXT: affine
+// CHECK-NEXT: arm_neon
+// CHECK-NEXT: arm_sve
+// CHECK-NEXT: async
+// CHECK-NEXT: avx512
+// CHECK-NEXT: gpu
+// CHECK-NEXT: linalg
+// CHECK-NEXT: llvm
+// CHECK-NEXT: llvm_arm_neon
+// CHECK-NEXT: llvm_arm_sve
+// CHECK-NEXT: llvm_avx512
+// CHECK-NEXT: nvvm
+// CHECK-NEXT: omp
+// CHECK-NEXT: pdl
+// CHECK-NEXT: pdl_interp
+// CHECK-NEXT: quant
+// CHECK-NEXT: rocdl
+// CHECK-NEXT: scf
+// CHECK-NEXT: sdbm
+// CHECK-NEXT: shape
+// CHECK-NEXT: spv
+// CHECK-NEXT: std
+// CHECK-NEXT: tensor
+// CHECK-NEXT: test
+// CHECK-NEXT: tosa
+// CHECK-NEXT: vector