[PATCH] D100980: [OpenCL] Allow use of double type without extension pragma

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 27 04:55:56 PDT 2021


Anastasia added a comment.

In D100980#2719196 <https://reviews.llvm.org/D100980#2719196>, @azabaznov wrote:

>> When the pragma is parsed we can't know why it is in the code to be able to issue any warning.
>
> I mean diagnose once when, for example in your particular case, double type is parsed.  Does it require much effort? I think this warning might be useful for developers who already rely on pragma usage in their kernels.

I am not sure I understand your suggestion. Could you show an example perhaps?


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

https://reviews.llvm.org/D100980



More information about the cfe-commits mailing list