[PATCH] D106120: [PowerPC] Implement vector bool/pixel initialization under -faltivec-src-compat=xl

Amy Kwan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 16 09:32:58 PDT 2021


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

Update patch and touched base with Nemanja.

- Removed the scalar vector test files that we already test for.
- Update CHECKs in LIT tests accordingly.
- Remove unnecessary `Sema` parameter in added function.
- Keep two test files for initialization of `vector bool` and `vector pixel` with and without parentheses. The test without parentheses are separated in its own file rather than unified in a single file so we can successfully compile the parenthesized version of the test when we have `faltivec-src-compat=mixed`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106120

Files:
  clang/include/clang/Sema/Sema.h
  clang/lib/Sema/SemaCast.cpp
  clang/lib/Sema/SemaExpr.cpp
  clang/test/CodeGen/vector-bool-pixel-altivec-init-no-parentheses.c
  clang/test/CodeGen/vector-bool-pixel-altivec-init.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106120.359358.patch
Type: text/x-patch
Size: 12748 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210716/ecc52c7d/attachment-0001.bin>


More information about the cfe-commits mailing list