LLVM Discussion Forums

Does MLIR supports conditional execution of graph nodes?

Hi All,

Does MLIR supports (or if it has any infrastructure) execute graph nodes conditionally?
What infrastructures does MLIR provide to do conditional execution?



There are multiple depending on the level, e.g., you can see the control flow constructs in TensorFlow, TFlite and XLA, and one can mix different levels too and so use the SCF constructs along with these too (this happens often during lowering too). You mentioned graph, so I’ll omit the other lower level conditional constructs.