[PowerPC] Include vector bool and pixel when emitting lax warning
authorMaryam Moghadas <maryammo@ca.ibm.com>
Thu, 2 Feb 2023 18:31:44 +0000 (18:31 +0000)
committerMaryam Moghadas <maryammo@ca.ibm.com>
Tue, 21 Feb 2023 22:26:18 +0000 (22:26 +0000)
commit02a71b05fc67326d8ea336aa8ef934de0575be39
tree492eb121d1fa753d1ab85bcacf1f312c1a85a69c
parentce3a1c59e18027e7d18a2a0a99e4bc81ccc03491
[PowerPC] Include vector bool and pixel when emitting lax warning

This patch is to fix some missing lax-vector-conversion warnings including
cases that involve vector bool and vector pixel, also to fix the vector
compatibility check for the warnings.

Differential Revision: https://reviews.llvm.org/D143210
clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaExpr.cpp
clang/lib/Sema/SemaOverload.cpp
clang/test/CodeGen/SystemZ/zvector.c
clang/test/CodeGen/SystemZ/zvector2.c