[all-commits] [llvm/llvm-project] daa127: [PowerPC] Add MMA builtin decoding and definitions

bsaleil via All-commits all-commits at lists.llvm.org
Tue Nov 3 13:09:24 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: daa127d77eab2547b1b7754939aa3f91fa8b1801
      https://github.com/llvm/llvm-project/commit/daa127d77eab2547b1b7754939aa3f91fa8b1801
  Author: Baptiste Saleil <baptiste.saleil at ibm.com>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/Basic/BuiltinsPPC.def
    M clang/include/clang/Sema/Sema.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Sema/SemaChecking.cpp
    A clang/test/CodeGen/builtins-ppc-mma.c

  Log Message:
  -----------
  [PowerPC] Add MMA builtin decoding and definitions

Add MMA builtin decoding. These builtins use the new PowerPC-specific types __vector_pair and __vector_quad.
So to avoid pervasive changes, we use custom type descriptors and custom decoding for these builtins.
We also use custom code generation to expand builtin calls with pointers to simpler intrinsic calls with non-pointer types.

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




More information about the All-commits mailing list