I have no luck compiling the following NVVM IR kernel with libNVVM (Version 1.0, as available for download in devzone). The compilation step fails with:
0. Running pass ‘Function Pass Manager’ on module ‘’.
- Running pass ‘Simplify the CFG’ on function ‘@function’
Segmentation fault (core dumped)
The API calls go along the simple example.
Please find the kernel source code here: https://gist.github.com/fwinter/5525072