<div dir="ltr"><div><div><div>Hi,<br><br></div>I have a project to rewrite llvm output as OpenCL, <a href="https://github.com/hughperkins/cuda-on-cl">https://github.com/hughperkins/cuda-on-cl</a>  It currently contains lots of conditional branches, whch become /labels / gotos in the output OpenCL.<br><br></div>What options are available to 'reloop' this to contain strictly ifs/fors/switches/breaks/whiles ?<br><br></div>Hugh<br><br><div><div><div><br></div></div></div></div>