[PowerPC] Emit warn_deprecated_lax_vec_conv_all warning only for PPC
authorMaryam Moghadas <maryammo@ca.ibm.com>
Tue, 7 Mar 2023 15:27:02 +0000 (09:27 -0600)
committerMaryam Moghadas <maryammo@ca.ibm.com>
Tue, 21 Mar 2023 13:51:25 +0000 (08:51 -0500)
commit155abd0678ab8c9f7d11ee175a3ce7a33d107c67
treefc7fda75a95cf2b244b25408c4b7293cb02cd06d
parent382eb7c2c71648fe15fe568ba67f93d3b53beb08
[PowerPC] Emit warn_deprecated_lax_vec_conv_all warning only for PPC

This patch is to isolate the lax vector conversions warning only for PPC,
the reason is that SystemZ wants different logic in terms of
vector bool compatibility.

Reviewed By: lei

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