[PATCH] D83500: [PowerPC][Power10] Implement custom codegen for the vec_replace_elt and vec_replace_unaligned builtins.

Amy Kwan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 09:56:34 PDT 2020


amyk updated this revision to Diff 293779.
amyk added a comment.

- Updated the `isEltOfVectorTy()` to the correct semantics; making it take in a vector type and then getting the element type within the function.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83500/new/

https://reviews.llvm.org/D83500

Files:
  clang/include/clang/Basic/BuiltinsPPC.def
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/lib/Headers/altivec.h
  clang/lib/Sema/SemaChecking.cpp
  clang/test/CodeGen/builtins-ppc-p10vector.c
  clang/test/CodeGen/builtins-ppc-vec-ins-error.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83500.293779.patch
Type: text/x-patch
Size: 15815 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200923/a528bb8a/attachment.bin>


More information about the llvm-commits mailing list