[PATCH] D26546: [PPC] Add vec_insert4b/vec_extract4b to altivec.h

Sean Fertile via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 19 16:07:55 PST 2016


sfertile updated this revision to Diff 82031.
sfertile marked 6 inline comments as done.
sfertile added a comment.

Updated to swap the arguments when generating the intrinsic. Updated a number of the comments, and added some tests with the index out of range.


Repository:
  rL LLVM

https://reviews.llvm.org/D26546

Files:
  include/clang/Basic/BuiltinsPPC.def
  lib/CodeGen/CGBuiltin.cpp
  lib/Headers/altivec.h
  test/CodeGen/builtins-ppc-error.c
  test/CodeGen/builtins-ppc-extractword-error.c
  test/CodeGen/builtins-ppc-insertword-error.c
  test/CodeGen/builtins-ppc-p9vector.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26546.82031.patch
Type: text/x-patch
Size: 11181 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161220/bccbe88f/attachment-0001.bin>


More information about the cfe-commits mailing list