Update clang to treat vector unsigned long long and friends as invalid
for AltiVec without VSX.
Reported in: https://bugs.llvm.org/show_bug.cgi?id=47782
Paths
| Differential D109178
[PowerPC] Disable vector types when not supported by subtarget features ClosedPublic Authored by lei on Sep 2 2021, 11:42 AM.
Details Summary Update clang to treat vector unsigned long long and friends as invalid Reported in: https://bugs.llvm.org/show_bug.cgi?id=47782
Diff Detail
Event TimelineNeHuang added inline comments.
Comment Actions It is not clear what this patch will do with vector [[un]signed] long. This is currently deprecated but still works - and we don't want it to work with no VSX.
This revision is now accepted and ready to land.Sep 28 2021, 6:23 PM Comment Actions Overall LGTM.
This revision was landed with ongoing or failed builds.Oct 4 2021, 12:16 PM Closed by commit rG8b3d944a97cc: [PowerPC] Disable vector types when not supported by subtarget features (authored by lei). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 376990 clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Headers/altivec.h
clang/lib/Sema/DeclSpec.cpp
clang/test/CodeGen/builtins-ppc-int128.c
clang/test/CodeGen/builtins-ppc-vsx.c
clang/test/Parser/altivec-bool-128.c
clang/test/Parser/altivec.c
clang/test/Parser/cxx-altivec-bool-128.cpp
clang/test/Parser/cxx-altivec.cpp
clang/test/Sema/altivec-generic-overload.c
clang/test/Sema/builtins-ppc.c
|
This file is huge and there is a lot of conditional compilation within it. Can you please add comments to terminating endif as to what it is terminating. Presumably this one here terminates __VSX__.