clang/test/CodeGenCXX/aarch64-ms-mangle-mfp8.cpp
raw| 1 | // RUN: %clang_cc1 -triple aarch64-windows-msvc -emit-llvm -o - %s | FileCheck %s |
| 2 | |
| 3 | typedef __mfp8 mf8; |
| 4 | typedef __attribute__((neon_vector_type(8))) __mfp8 mf8x8_t; |
| 5 | typedef __attribute__((neon_vector_type(16))) __mfp8 mf8x16_t; |
| 6 | |
| 7 | // CHECK: "?f@@YAXU__mfp8@__clang@@@Z" |
| 8 | void f(mf8 v) {} |
| 9 | |
| 10 | // CHECK: "?f@@YAXT?$__vector@U__mfp8@__clang@@$07@__clang@@@Z" |
| 11 | void f(mf8x8_t v) {} |
| 12 | |
| 13 | // CHECK: "?f@@YAXT?$__vector@U__mfp8@__clang@@$0BA@@__clang@@@Z" |
| 14 | void f(mf8x16_t v) {} |