| Issue |
163892
|
| Summary |
[CIR] Upstream handling of fpclass builtins
|
| Labels |
ClangIR
|
| Assignees |
|
| Reporter |
andykaylor
|
### Overview
Upstream handling for the various builtin functions that test whether a value belongs to a given floating-point class (isinf, isfinite, iszero, isnormal, issubnormal, isnan, issignaling, etc.), including implemetation and lowering of the `cir.is_fp_class` operation.
### Suggested minimal test case
```
int test_inf(float f) {
return __builtin_isinf(f);
}
```
### Existing incubator tests
clang/test/CIR/CodeGen/builtin-isfpclass.c
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs