[Matrix] Implement C-style explicit type conversions in CXX for matrix types
authorSaurabh Jha <saurabh.jhaa@gmail.com>
Tue, 4 May 2021 12:44:58 +0000 (13:44 +0100)
committerFlorian Hahn <flo@fhahn.com>
Tue, 4 May 2021 14:27:57 +0000 (15:27 +0100)
commitdb210bc69bb50979fb843b68fcb71a9c905e971b
tree1ae705453015eed89ee20ffa79f1f12720a394c9
parentd7ec48d71bd67118e7996c45e9c7fb1b09d4f59a
[Matrix] Implement C-style explicit type conversions in CXX for matrix types

This patch implements C-style explicit type conversions in CXX for matrix types. It is part of fixing https://bugs.llvm.org/show_bug.cgi?id=47141

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D101696
clang/lib/Sema/SemaCast.cpp
clang/test/CodeGenCXX/matrix-casts.cpp [new file with mode: 0644]
clang/test/SemaCXX/matrix-casts.cpp