[Matrix] Add __builtin_matrix_column_store to Clang.
authorFlorian Hahn <flo@fhahn.com>
Thu, 18 Jun 2020 09:49:56 +0000 (10:49 +0100)
committerFlorian Hahn <flo@fhahn.com>
Thu, 18 Jun 2020 10:39:02 +0000 (11:39 +0100)
commitb5e082e7289197bf82c9a28c6336b51d7999b419
tree471c306267f095f0154f2771aa493a7f72ca6e7b
parent4ea8e27a642c6f97ca69cd39bbe44f7366870f6c
[Matrix] Add __builtin_matrix_column_store to Clang.

This patch add __builtin_matrix_column_major_store to Clang,
as described in clang/docs/MatrixTypes.rst. In the initial version,
the stride is not optional yet.

Reviewers: rjmccall, jfb, rsmith, Bigcheese

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D72782
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
clang/test/CodeGenCXX/matrix-type-builtins.cpp
clang/test/CodeGenObjC/matrix-type-builtins.m
clang/test/Sema/matrix-type-builtins.c
clang/test/SemaCXX/matrix-type-builtins.cpp
clang/test/SemaObjC/matrix-type-builtins.m