[Matrix] Add __builtin_matrix_transpose to Clang.
authorFlorian Hahn <flo@fhahn.com>
Tue, 9 Jun 2020 08:56:14 +0000 (09:56 +0100)
committerFlorian Hahn <flo@fhahn.com>
Tue, 9 Jun 2020 09:14:37 +0000 (10:14 +0100)
commit3323a628ec821b8b75d3b60bf1510931f97d3883
treedc9d55134f95ae86b6fe5f4033e5305b0dda6d50
parent91855483f3895ced7c821363707c9887dfa69a0e
[Matrix] Add __builtin_matrix_transpose to Clang.

This patch add __builtin_matrix_transpose to Clang, as described in
clang/docs/MatrixTypes.rst.

Reviewers: rjmccall, jfb, rsmith, Bigcheese

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D72778
clang/include/clang/Basic/Builtins.def
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Sema/Sema.h
clang/lib/CodeGen/CGBuiltin.cpp
clang/lib/Sema/SemaChecking.cpp
clang/test/CodeGen/matrix-type-builtins.c [new file with mode: 0644]
clang/test/CodeGenCXX/matrix-type-builtins.cpp [new file with mode: 0644]
clang/test/CodeGenObjC/matrix-type-builtins.m [new file with mode: 0644]
clang/test/Sema/matrix-type-builtins.c [new file with mode: 0644]
clang/test/SemaCXX/matrix-type-builtins.cpp [new file with mode: 0644]
clang/test/SemaObjC/matrix-type-builtins.m [new file with mode: 0644]