1 Reply Latest reply on Aug 10, 2011 3:56 PM by MicahVillmow

    emit llvm IR with opencl compiler



      I do some reasearch and I want to emit llvm code with opencl compiler from command line.

      How do I do that.I think I should use clc though I am not sure

      Also I whould like to know where can I see all the options of the compiler thank you.

        • emit llvm IR with opencl compiler
          We don't expose what compile options we use for the compiler at this time. Also, you might be able to get the bitcode by extracting the llvmir section from the OpenCL ELF Binary when using the -fbin-llvmir compile option. Please see section E of the programming guide for more information.