[PATCH] D109710: [PowerPC] Add range checks for P10 Vector Builtins

Quinn Pham via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 21 11:59:02 PDT 2021


quinnp updated this revision to Diff 374000.
quinnp added a comment.

Adding a testcase where the second parameter of vec_splati_ins is out of the range 0,1.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109710

Files:
  clang/lib/Headers/altivec.h
  clang/lib/Sema/SemaChecking.cpp
  clang/test/CodeGen/builtins-ppc-p10vector-error.c
  clang/test/CodeGen/builtins-ppc-p10vector.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109710.374000.patch
Type: text/x-patch
Size: 7713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210921/082af5b8/attachment.bin>


More information about the cfe-commits mailing list