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

2016-11-07 Thread Larry Evans via cfe-users
On 11/07/2016 02:37 PM, Philipp Klaus Krause via cfe-users wrote: On 06.11.2016 09:17, Hugh Perkins via cfe-users wrote: Hi, 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 /

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

2016-11-07 Thread Philipp Klaus Krause via cfe-users
On 06.11.2016 09:17, Hugh Perkins via cfe-users wrote: > Hi, > > 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 t