[PATCH] D26160: Implement remaining vector comparison builtins

Tony Jiang via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 1 12:39:39 PDT 2016


jtony updated this revision to Diff 76617.
jtony added a comment.

Fix some existing problems in the original source (not introduced by this patch).  Calling vec_cmpeq function with two different type parameters will cause ambiguous errors. Have to explicitly convert the type of one parameter to the type of another parameter. Make the two input parameters consistent so the compiler knows exactly which overloads to invoke.


https://reviews.llvm.org/D26160

Files:
  lib/Headers/altivec.h
  test/CodeGen/builtins-ppc-altivec.c
  test/CodeGen/builtins-ppc-p8vector.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26160.76617.patch
Type: text/x-patch
Size: 9213 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161101/4a3a2277/attachment.bin>


More information about the llvm-commits mailing list