[all-commits] [llvm/llvm-project] 8737c7: [PowerPC][MMA] Allow MMA builtin types in pre-P10 ...

Kamau Bridgeman via All-commits all-commits at lists.llvm.org
Tue Oct 5 05:59:44 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8737c74fab3aee833d85b7d235d2c47ebb4eed2e
      https://github.com/llvm/llvm-project/commit/8737c74fab3aee833d85b7d235d2c47ebb4eed2e
  Author: Kamau Bridgeman <kamau.bridgeman at ibm.com>
  Date:   2021-10-05 (Tue, 05 Oct 2021)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/AST/ast-dump-ppc-types.c
    M clang/test/CodeGen/ppc-mma-types.c
    M clang/test/CodeGenCXX/ppc-mangle-mma-types.cpp
    A clang/test/Sema/ppc-mma-builtins.c
    A clang/test/Sema/ppc-paired-vector-builtins.c
    M llvm/test/CodeGen/PowerPC/mma-acc-memops.ll

  Log Message:
  -----------
  [PowerPC][MMA] Allow MMA builtin types in pre-P10 compilation units

This patch allows the use of __vector_quad and __vector_pair, PPC MMA builtin
types, on all PowerPC 64-bit compilation units. When these types are
made available the builtins that use them automatically become available
so semantic checking for mma and pair vector memop __builtins is also
expanded to ensure these builtin function call are only allowed on
Power10 and new architectures. All related test cases are updated to
ensure test coverage.

Reviewed By: #powerpc, nemanjai

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




More information about the All-commits mailing list