Dear all,
I am trying to use a command like the following one to convert an OpenCL file into a bytecode:
clang -x cl -cl-std=CL2.0 -emit-llvm -target spir64 -Xclang -finclude-default-header -cl-single-precision-constant INPUT.cl -o INPUT.bc
This command gives me a .llc file as output instead of a .bc. Which is the error? I cannot use the flag “-emit-llvm-bc” without using the frontend.
I attach the compilation link: