Fix missing symbol pocl_llvm_free_llvm_irs
@@ -616,9 +616,7 @@ int
pocl_basic_free_program (cl_device_id device, cl_program program,
unsigned dev_i)
{
-#ifdef ENABLE_LLVM
- pocl_llvm_free_llvm_irs (program, dev_i);
-#endif
+ pocl_driver_free_program (device, program, dev_i);
program->global_var_total_size[dev_i] = 0;
POCL_MEM_FREE (program->gvar_storage[dev_i]);
return 0;
