AaronBallman wrote:
> > I looked at the OpenCL spec for C standard library support and was
> > surprised that 1) it's only talking about C99 so it's unclear what happens
> > for C11 (clause 6 says "This document describes the modifications and
> > restrictions to C99 and C11 in OpenCL C" but
vikramRH wrote:
> I looked at the OpenCL spec for C standard library support and was surprised
> that 1) it's only talking about C99 so it's unclear what happens for C11
> (clause 6 says "This document describes the modifications and restrictions to
> C99 and C11 in OpenCL C" but 6.11 only
AaronBallman wrote:
> Thanks for the comments @AaronBallman. The core issue here is that the
> current builtin handling design does not allow multiple overloads for the
> same identifier to coexist (ref.
>
>
vikramRH wrote:
Thanks for the comments @AaronBallman. The core issue here is that the current
builtin handling design does not allow multiple overloads for the same
identifier to coexist (ref.
https://github.com/AaronBallman commented:
I'm not keen on reimplementing the checking logic manually; I worry this is
going to be a slippery slope where we start with `printf` today, but then need
to do the same thing for the rest of the family at some point in the future.
Would it make
https://github.com/Endilll commented:
`Sema.h` changes look good to me.
https://github.com/llvm/llvm-project/pull/86801
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Vikram Hegde (vikramRH)
Changes
The motivation for this change comes from an ongoing PR (#72556 ) ,
which enables hostcall based printf lowering for AMDGPU target and OpenCL
inputs. The OpenCL printf has a different signature than the C
https://github.com/vikramRH ready_for_review
https://github.com/llvm/llvm-project/pull/86801
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vikramRH created
https://github.com/llvm/llvm-project/pull/86801
The motivation for this change comes from an ongoing PR (#72556 ) , which
enables hostcall based printf lowering for AMDGPU target and OpenCL inputs. The
OpenCL printf has a different signature than the C