diff options
author | Losy001 <64610343+Losy001@users.noreply.github.com> | 2025-04-26 18:04:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-26 09:04:12 -0700 |
commit | f5a30f111dc4ad6422863722eb708059a68a9d5c (patch) | |
tree | 20ab2ec0e1ec3205ab6379c89201188436f408e6 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 7afbffb5c2e40edd6c2b3164f1dc4faf90d7d332 (diff) | |
download | llvm-f5a30f111dc4ad6422863722eb708059a68a9d5c.zip llvm-f5a30f111dc4ad6422863722eb708059a68a9d5c.tar.gz llvm-f5a30f111dc4ad6422863722eb708059a68a9d5c.tar.bz2 |
[Clang][MicrosoftMangle] Implement mangling for ConstantMatrixType (#134930)
This pull request implements mangling for ConstantMatrixType, allowing
matrices to be used on Windows.
Related issues: #53158, #127127
This example code:
```cpp
#include <typeinfo>
#include <stdio.h>
typedef float Matrix4 __attribute__((matrix_type(4, 4)));
int main()
{
printf("%s\n", typeid(Matrix4).name());
}
```
Outputs this:
```
struct __clang::__matrix<float,4,4>
```
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions