[cfe-users] How to 'reloop' llvm code into ifs, whiles, fors?

Hugh Perkins via cfe-users cfe-users at lists.llvm.org
Sun Nov 6 01:17:37 PDT 2016


I have a project to rewrite llvm output as OpenCL,
https://github.com/hughperkins/cuda-on-cl  It currently contains lots of
conditional branches, whch become /labels / gotos in the output OpenCL.

What options are available to 'reloop' this to contain strictly
ifs/fors/switches/breaks/whiles ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20161106/0ba487b5/attachment.html>

More information about the cfe-users mailing list