llvm-project/clang/test/CodeGen/builtin-nan-legacy.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
341 B
C
Raw Normal View History

// RUN: %clang -target mipsel-unknown-linux -mnan=legacy -emit-llvm -S %s -o - | FileCheck %s
// CHECK: float 0x7FF4000000000000, float 0x7FF8000000000000
// CHECK: double 0x7FF4000000000000, double 0x7FF8000000000000
float f[] = {
__builtin_nan(""),
__builtin_nans(""),
};
double d[] = {
__builtin_nan(""),
__builtin_nans(""),
};