Michael Toguchi
Michael Toguchi
> So the `-fsycl-link` arguments cannot be used without `-fintelfpga`? Use of `-fsycl-link` with `-fintelfpga` will generate either `aoco` or `aocx` based archives. Use of `-fsycl-link` with `-fsycl-targets=spir64_fpga` will generate...
Modifying the compilation to use the footer as the main file and including the source file as an `-include` is do-able in the compiler driver. It is unclear to me...
There is work in progress to improve this behavior. It is to use a new '-include-footer' option to alleviate the temporary file generation for the footer. https://github.com/intel/llvm/pull/14402
@psalz, we have discovered additional changes that are needed to address the addition of the internal header/footer files (referenced in the generated preprocessed file). This is expected to be fixed...
@psalz, The additional work as mentioned has been performed: https://github.com/intel/llvm/pull/15634, could you verify?
@dm-vodopyanov, can you provide details of your reproducer, I'm trying latest internal build for icx (20240710) and am unable to reproduce.
@dm-vodopyanov, using the example, we need exception handling enabled - please try with adding `/EHsc` to the command line.
In regards to /EHsc, the driver doesn't have any information from the source files to determine if any diagnostic should be emitted or not. FWIW, this behavior is not restricted...
As `/Qsave-temps` works appropriately (with the /EHsc requirement for enabling exception handling) I'm closing this issue. If there is a desire to try and improve information given by the compiler...
overall - looks OK to me. Given there are still some changes needed to improve the testing area, I'll have @hchilama take another look when the bits are ready as...