Towards irregular computation on regular dataflow