[PATCH] D53417: [Clang][Sema][PowerPC] Choose a better candidate in overload function call if there is a compatible vector conversion instead of ambiguous call error
Hubert Tong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 12 19:51:05 PST 2018
hubert.reinterpretcast added inline comments.
================
Comment at: clang/test/CodeGen/altivec-generic-overload.c:74
+ convert1(gv1);
+ // CHECK: call void @_Z8convert1Dv16_a(<16 x i8> %{{[0-9]+}})
+ convert1(gv2);
----------------
Checking that the call is to the expected target in terms of overload resolution can be achieved by having a distinct return types for each member of the overload set.
https://reviews.llvm.org/D53417
More information about the cfe-commits
mailing list