[all-commits] [llvm/llvm-project] 8b3d94: [PowerPC] Disable vector types when not supported ...

Lei Huang via All-commits all-commits at lists.llvm.org
Mon Oct 4 12:16:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b3d944a97cc944a24ed1296c801da5654896092
      https://github.com/llvm/llvm-project/commit/8b3d944a97cc944a24ed1296c801da5654896092
  Author: Lei Huang <lei at ca.ibm.com>
  Date:   2021-10-04 (Mon, 04 Oct 2021)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Headers/altivec.h
    M clang/lib/Sema/DeclSpec.cpp
    A clang/test/CodeGen/builtins-ppc-int128.c
    M clang/test/CodeGen/builtins-ppc-vsx.c
    M clang/test/Parser/altivec-bool-128.c
    M clang/test/Parser/altivec.c
    M clang/test/Parser/cxx-altivec-bool-128.cpp
    M clang/test/Parser/cxx-altivec.cpp
    M clang/test/Sema/altivec-generic-overload.c
    M clang/test/Sema/builtins-ppc.c

  Log Message:
  -----------
  [PowerPC] Disable vector types when not supported by subtarget features

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

Reviewed By: nemanjai, amyk

Differential Revision: https://reviews.llvm.org/D109178




More information about the All-commits mailing list