Issue 163889
Summary [CIR] Upstream handling of __builtin_constant_p
Labels ClangIR
Assignees
Reporter andykaylor
    ### Overview
Upstream handling for the `__builtin_constant_p` function, including implemetation and lowering of the `cir.is_constant` operation.

### Suggested minimal test case
```
int a = 0;
int f() {
 return __builtin_constant_p(a);
}
```

### Existing incubator tests
clang/test/CIR/CodeGen/builtin-constant-p.c

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to