[clang] [CIR] Upstream ComplexType builtin_complex (PR #144225)
Amr Hesham via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 17 08:57:35 PDT 2025
================
@@ -176,3 +176,27 @@ void foo7() {
// OGCG: store float %[[TMP_A]], ptr %[[C_REAL_PTR]], align 4
// OGCG: store float 2.000000e+00, ptr %[[C_IMAG_PTR]], align 4
+void foo9(double r, double i) {
+ double _Complex c = __builtin_complex(r, i);
----------------
AmrDeveloper wrote:
For arguments with expressions, I can update the tests when implementing new visitors
https://github.com/llvm/llvm-project/pull/144225
More information about the cfe-commits
mailing list