mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-25 13:05:04 +00:00
[mlir] Add test to check if standalone dialect is registered
Summary: Add a test to check if the standalone dialect is registered within standalone-opt. Similar to the mlir-opt commandline.mlir test. Reviewers: Kayjukh, stephenneuendorffer Reviewed By: Kayjukh Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, grosul1, frgossen, jurahul, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80764
This commit is contained in:
parent
bce702e5f2
commit
b0b2507717
@ -0,0 +1,3 @@
|
||||
// RUN: standalone-opt --show-dialects | FileCheck %s
|
||||
// CHECK: Registered Dialects:
|
||||
// CHECK: standalone
|
@ -1,4 +1,4 @@
|
||||
# RUN: %cmake %mlir_src_root/examples/standalone -DCMAKE_CXX_COMPILER=%host_cxx -DCMAKE_C_COMPILER=%host_cc -DMLIR_DIR=%llvm_lib_dir/cmake/mlir ; %cmake --build . --target check-standalone | tee %t | FileCheck %s
|
||||
|
||||
# CHECK: Expected Passes: 2
|
||||
# CHECK: Expected Passes: 3
|
||||
# UNSUPPORTED: windows, android
|
||||
|
Loading…
x
Reference in New Issue
Block a user