I am new to clang community, I’ve been working close with integration of clang/LLVM with OpenCL project.
One of the think, I am having problem with is the __builtin_overload functions. I am not sure what’s the condition of this overload function, but it seems like at some point it was supported by clang/llvm, or maybe it is still supported but I am not sure how to exploit it.
Compile and Error:
test_1.c:12:13: error: use of unknown builtin ‘__builtin_overload’ [-Wimplicit-function-declaration]
int4 ans = isequal(a, b);
I’ve looked around for ‘__builtin_overload’, and I did saw some work available online.
My Clang version:
clang version 3.6.0 (trunk 218469)
Your help will be very appreciated.