Skip to content

hughperkins/relooper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

relooper

Reloop llvm IR output, to have fors, ifs, whiles. From https://reviews.llvm.org/D12744

Why?

I'm using this personally for my cuda-on-cl project, to 'reloop' the OpenCL, so it's not full of gotos and labels :-)

This code came originally from From https://reviews.llvm.org/D12744 , ie WebAssembly target for llvm.

I * think* the WebAssembly reloop may have come originally from https://github.com/kripken/Relooper , but I'm unclear on this point at this time.

I havent definitively decided to use this coe or not in cuda-on-cl, but it sounds promising. Probably better than rolling my own...

About

Reloop llvm IR output, to have `for`s, `if`s, `while`s. From https://reviews.llvm.org/D12744

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published