blob: b22b645480e739e88e4c8087400ec1c617b07a0a [file] [log] [blame]
// RUN: %clang_cc1 -no-opaque-pointers -triple i386-unknown-linux-gnu -target-feature +avx512fp16 -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK
// Return value should be passed in <2 x half> so the backend will use xmm0
_Complex _Float16 f16(_Complex _Float16 A, _Complex _Float16 B) {
// CHECK-LABEL: define{{.*}}<2 x half> @f16({ half, half }* noundef byval({ half, half }) align 4 %{{.*}}, { half, half }* noundef byval({ half, half }) align 4 %{{.*}})
return A + B;
}