Subject: [cfe-users] Emit LLVM IR from OpenCL
From: cfe-users@lists.llvm.org
Hi,
Could anybody give me an example of emitting LLVM IR from OpenCL code?
I tried this for the backprop benchmark from the rodinia benchmark suite:
clang -x cl backprop_kernel.cl -emit-llvm -S -o backprop_kernel.ll
and the
Hi,
Could anybody give me an example of emitting LLVM IR from OpenCL code?
I tried this for the backprop benchmark from the rodinia benchmark suite:
clang -x cl backprop_kernel.cl -emit-llvm -S -o backprop_kernel.ll
and the the following warning:
backprop_kernel.cl:24:13: warning: implicit de