1 // RUN: %clang_cc1 -std=c99 %s -emit-llvm -o - | FileCheck %s
3 // CHECK-NOT: call{{ }}
5 _Bool A
, B
, C
, D
, E
, F
;
6 void TestF(float X
, float Y
) {
7 A
= __builtin_isgreater(X
, Y
);
8 B
= __builtin_isgreaterequal(X
, Y
);
9 C
= __builtin_isless(X
, Y
);
10 D
= __builtin_islessequal(X
, Y
);
11 E
= __builtin_islessgreater(X
, Y
);
12 F
= __builtin_isunordered(X
, Y
);
14 void TestD(double X
, double Y
) {
15 A
= __builtin_isgreater(X
, Y
);
16 B
= __builtin_isgreaterequal(X
, Y
);
17 C
= __builtin_isless(X
, Y
);
18 D
= __builtin_islessequal(X
, Y
);
19 E
= __builtin_islessgreater(X
, Y
);
20 F
= __builtin_isunordered(X
, Y
);