1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -w -o - -emit-llvm %s | FileCheck %s
2 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -w -o - -emit-llvm -fmath-errno %s | FileCheck %s
4 _Complex
float conjf(_Complex
float);
5 _Complex
double conj(_Complex
double);
6 _Complex
long double conjl(_Complex
long double);
8 float _Complex
test_conjf(float _Complex x
) {
9 // CHECK-LABEL: @test_conjf(
10 // CHECK: fneg float %x.imag
14 double _Complex
test_conj(double _Complex x
) {
15 // CHECK-LABEL: @test_conj(
16 // CHECK: fneg double %x.imag
20 long double _Complex
test_conjl(long double _Complex x
) {
21 // CHECK-LABEL: @test_conjl(
22 // CHECK: fneg x86_fp80 %x.imag