repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
const-unordered-compare.c
blob
6a219822b270b83444473dd75ff06e3fb101e32a
1
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
2
3
// Checks folding of an unordered comparison
4
int
nan_ne_check
(
void
) {
5
// CHECK: ret i32 1
6
return
(
__builtin_nanf
(
""
) !=
__builtin_nanf
(
""
)) ?
1
:
0
;
7
}