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