8 lines · c
1// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s2 3// Checks folding of an unordered comparison4int nan_ne_check(void) {5 // CHECK: ret i32 16 return (__builtin_nanf("") != __builtin_nanf("")) ? 1 : 0;7}8 1// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s2 3// Checks folding of an unordered comparison4int nan_ne_check(void) {5 // CHECK: ret i32 16 return (__builtin_nanf("") != __builtin_nanf("")) ? 1 : 0;7}8