[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
This commit is contained in:
Lewuathe 2021-01-09 20:43:43 +00:00 committed by Mehdi Amini
parent 4dbb3f57c6
commit 03d249396d
1 changed files with 27 additions and 14 deletions

View File

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