annotate clang/test/CodeGen/sparcv8-abi.c @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
children c4bab56944e8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -triple sparc-unknown-unknown -emit-llvm %s -o - | FileCheck %s
anatofuz
parents:
diff changeset
2
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
3 // CHECK-LABEL: define{{.*}} { float, float } @p({ float, float }* byval({ float, float }) align 4 %a, { float, float }* byval({ float, float }) align 4 %b) #0 {
150
anatofuz
parents:
diff changeset
4 float __complex__
anatofuz
parents:
diff changeset
5 p (float __complex__ a, float __complex__ b)
anatofuz
parents:
diff changeset
6 {
anatofuz
parents:
diff changeset
7 }
anatofuz
parents:
diff changeset
8
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
9 // CHECK-LABEL: define{{.*}} { double, double } @q({ double, double }* byval({ double, double }) align 8 %a, { double, double }* byval({ double, double }) align 8 %b) #0 {
150
anatofuz
parents:
diff changeset
10 double __complex__
anatofuz
parents:
diff changeset
11 q (double __complex__ a, double __complex__ b)
anatofuz
parents:
diff changeset
12 {
anatofuz
parents:
diff changeset
13 }
anatofuz
parents:
diff changeset
14
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
15 // CHECK-LABEL: define{{.*}} { i64, i64 } @r({ i64, i64 }* byval({ i64, i64 }) align 8 %a, { i64, i64 }* byval({ i64, i64 }) align 8 %b) #0 {
150
anatofuz
parents:
diff changeset
16 long long __complex__
anatofuz
parents:
diff changeset
17 r (long long __complex__ a, long long __complex__ b)
anatofuz
parents:
diff changeset
18 {
anatofuz
parents:
diff changeset
19 }