[RISCV] Fix the code alignment for GroupFloatVectors. NFC
[llvm-project.git] / mlir / test / python / dialects / sparse_tensor / passes.py
blobf3510c5ce8169176634dad4e34bdfe6989c94fbf
1 # RUN: %PYTHON %s | FileCheck %s
3 from mlir.ir import *
4 from mlir.passmanager import *
6 from mlir.dialects import sparse_tensor as st
9 def run(f):
10 print('\nTEST:', f.__name__)
11 f()
12 return f
15 # CHECK-LABEL: TEST: testSparseTensorPass
16 @run
17 def testSparseTensorPass():
18 with Context() as context:
19 PassManager.parse('sparsification')
20 PassManager.parse('sparse-tensor-conversion')
21 # CHECK: SUCCESS
22 print('SUCCESS')