mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-06 19:31:13 +00:00
35d929ec52
llvm-svn: 18634
23 lines
521 B
Plaintext
23 lines
521 B
Plaintext
// RUN: %llvmgcc -xc -std=c99 %s -c -o - | llvm-dis | grep -v llvm.isunordered | not grep call
|
|
// XFAIL: sparcv9
|
|
|
|
#include <math.h>
|
|
|
|
_Bool A, B, C, D, E, F;
|
|
void TestF(float X, float Y) {
|
|
A = isgreater(X, Y);
|
|
B = isgreaterequal(X, Y);
|
|
C = isless(X, Y);
|
|
D = islessequal(X, Y);
|
|
E = islessgreater(X, Y);
|
|
F = isunordered(X, Y);
|
|
}
|
|
void TestD(double X, double Y) {
|
|
A = isgreater(X, Y);
|
|
B = isgreaterequal(X, Y);
|
|
C = isless(X, Y);
|
|
D = islessequal(X, Y);
|
|
E = islessgreater(X, Y);
|
|
F = isunordered(X, Y);
|
|
}
|