How do I obtain an LLVM-IR file(.ll) from OpenCL Kernel file with clang?
The solution in this link seems working with some files, but for the codes which contains OpenCL vector types such as uchar4, seems not working (emitting type errors).
Is there an easy way to do this or is it not possible to gain LLVM-IR form with clang?