[PATCH] D104800: [OpenCL] Do not include default header for preprocessor output as input

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 23 11:25:08 PDT 2021


yaxunl added a comment.

In D104800#2836594 <https://reviews.llvm.org/D104800#2836594>, @yaxunl wrote:

> I am not quite sure about whether "-fdeclare-opencl-builtins" should be kept when input is preprocessor output. Suggestions? Thanks.

The question is that whether those builtins declared through "-fdeclare-opencl-builtins" will be in preprocessor expansion output. It seems not. If so, we still need "-fdeclare-opencl-builtins" when input type is preprocessor expansion output.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104800/new/

https://reviews.llvm.org/D104800



More information about the cfe-commits mailing list