metagraph-dev / mlir-graphblas

MLIR tools and dialect for GraphBLAS
https://mlir-graphblas.readthedocs.io/en/latest/
Apache License 2.0
15 stars 6 forks source link

SSSP and MSSSP currently use MLIRFunctionBuilder.add_statement to add scf.while loops #245

Open paul-tqh-nguyen opened 2 years ago

paul-tqh-nguyen commented 2 years ago

MLIRFunctionBuilder currently has support for while loops. Ideally, we'd use that functionality instead of MLIRFunctionBuilder.add_statement calls to add scf.while statements in order to get cleaner code. This might also point out extra tests we'll need for https://github.com/metagraph-dev/mlir-graphblas/issues/244.