[PATCH] D24113: Allow implicit conversions between incompatible pointer types in overload resolution in C.
Jan Vesely via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 6 11:42:02 PDT 2016
jvesely added a subscriber: jvesely.
jvesely added a comment.
This change breaks OpenCL(libclc). CLC expects signed/unsigned overloads to be non-ambiguous.
atomic_max(global int *p, int val);
atomic_max(global unsigned int *p, unsigned int val);
need to work and be unambiguous (they are implemented using different instructions different instructions).
More information about the cfe-commits