aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorZhaoxin Yang <yangzhaoxin@loongson.cn>2024-11-13 16:13:37 +0800
committerGitHub <noreply@github.com>2024-11-13 16:13:37 +0800
commit20b442a25d86c35556cfc1bba4356f8ee75987bd (patch)
tree625ae0208344ba1af7ef8adbd5cd36ca65564eea /clang/unittests/Frontend/CompilerInvocationTest.cpp
parentd56f5171af96501d26723c4daed4d4a3b7c1f94b (diff)
downloadllvm-20b442a25d86c35556cfc1bba4356f8ee75987bd.zip
llvm-20b442a25d86c35556cfc1bba4356f8ee75987bd.tar.gz
llvm-20b442a25d86c35556cfc1bba4356f8ee75987bd.tar.bz2
[Flang][LoongArch] Add support for complex16 params/returns. (#114732)
In LoongArch64, the passing and returning of type `complex16` is similar to that of structure type like `struct {fp128, fp128}`, meaning they are passed and returned by reference. This behavior is similar to clang, so it can implement conveniently `iso_c_binding`. Additionally, this patch fixes the failure in flang test Integration/debug-complex-1.f90: ``` llvm-project/flang/lib/Optimizer/codeGen/Target.cpp:56: not yet implemented: complex for this precision for return type
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions