flattening: use SegReplicate in transformation
flattening: use SegReplicate in transformation

HIPERFIT/futhark,diku-dk/futhark,HIPERFIT/futhark,ihc/futhark,diku-dk/futhark,diku-dk/futhark,diku-dk/futhark,ihc/futhark,mrakgr/futhark,diku-dk/futhark,HIPERFIT/futhark,mrakgr/futhark,ihc/futhark,mrakgr/futhark,CulpaBS/wbBach