https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/75590
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/75590
>From 93d58a2aaeaae142723c844a2f19d4bec7c6bdf1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Fri, 15 Dec 2023 13:11:16 +0100
Subject: [PATCH] [clang][Interp] Implement integral->complex cast
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/75590
>From 2823e9e9e32aeb2efe08e1b8b64b0fc7e8c408a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Fri, 15 Dec 2023 13:11:16 +0100
Subject: [PATCH] [clang][Interp] Implement integral->complex cast
@@ -283,6 +283,28 @@ bool ByteCodeExprGen::VisitCastExpr(const
CastExpr *CE) {
case CK_ToVoid:
return discard(SubExpr);
+ case CK_IntegralRealToComplex:
+ case CK_FloatingRealToComplex: {
+// We're creating a complex value here, so we need to
+// allocate stor
https://github.com/AaronBallman edited
https://github.com/llvm/llvm-project/pull/75590
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AaronBallman approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/75590
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tbaederr wrote:
Ping @shafik
https://github.com/llvm/llvm-project/pull/75590
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tbaederr wrote:
Ping
https://github.com/llvm/llvm-project/pull/75590
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tbaederr wrote:
Ping
https://github.com/llvm/llvm-project/pull/75590
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -283,6 +283,28 @@ bool ByteCodeExprGen::VisitCastExpr(const
CastExpr *CE) {
case CK_ToVoid:
return discard(SubExpr);
+ case CK_IntegralRealToComplex:
+ case CK_FloatingRealToComplex: {
+// We're creating a complex value here, so we need to
+// allocate stor
https://github.com/tbaederr edited
https://github.com/llvm/llvm-project/pull/75590
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -283,6 +283,28 @@ bool ByteCodeExprGen::VisitCastExpr(const
CastExpr *CE) {
case CK_ToVoid:
return discard(SubExpr);
+ case CK_IntegralRealToComplex:
+ case CK_FloatingRealToComplex: {
+// We're creating a complex value here, so we need to
+// allocate stor
@@ -283,6 +283,28 @@ bool ByteCodeExprGen::VisitCastExpr(const
CastExpr *CE) {
case CK_ToVoid:
return discard(SubExpr);
+ case CK_IntegralRealToComplex:
+ case CK_FloatingRealToComplex: {
+// We're creating a complex value here, so we need to
+// allocate stor
shafik wrote:
Can we please have a more detailed summary for this PR? We rely on more
detailed summaries in git logs.
https://github.com/llvm/llvm-project/pull/75590
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bi
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/75590
>From 09d552b3e700ee8281a55fd63a5c4bc75a94251c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Fri, 15 Dec 2023 13:11:16 +0100
Subject: [PATCH] [clang][Interp] Implement integral->complex cast
@@ -283,6 +283,28 @@ bool ByteCodeExprGen::VisitCastExpr(const
CastExpr *CE) {
case CK_ToVoid:
return discard(SubExpr);
+ case CK_IntegralRealToComplex:
+ case CK_FloatingRealToComplex: {
+// We're creating a complex value here, so need to
cor3nti
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/75590
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/75590
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/75590.diff
2 Files Affected:
- (modified) clang/lib/AST/Interp/ByteCodeExprGen.cpp (+26)
- (modified) clang/test/AST/Interp/complex.cpp (+4-5)
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/75590
None
>From 8166141def296995ed48272f457a412625a483cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Fri, 15 Dec 2023 13:11:16 +0100
Subject: [PATCH] [clang][Interp] Implement integral->comple
20 matches
Mail list logo