[llvm-branch-commits] [mlir] 03d2493 - [mlir] Enhance mlir-opt show-dialects test case

Mehdi Amini via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Jan 9 12:48:17 PST 2021


Author: Lewuathe
Date: 2021-01-09T20:43:51Z
New Revision: 03d249396d6b736447d529915e77dfeb84f2eeae

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

LOG: [mlir] Enhance mlir-opt show-dialects test case

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

Added: 
    

Modified: 
    mlir/test/mlir-opt/commandline.mlir

Removed: 
    


################################################################################
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


        


More information about the llvm-branch-commits mailing list