https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/146829
Before this patch, we emitted a bunch of irrelevant (to this test) warnings:
```
../clang/test/SemaCXX/discrim-union.cpp:49:24: warning: 'constexpr'
non-static member function will not be implicitly 'const' i
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/147160
Since the result should not be an array element.
>From 231e1c5de7aef91d176da018fc44735bb62d76c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sat, 5 Jul 2025 20:27:19 +0200
Subject: [PATCH
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/146824
>From e84fcfaecf9ed2352bb18592d47e57e53ab3729f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sat, 5 Jul 2025 18:10:38 +0200
Subject: [PATC
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/146824
>From 26b5446d582e1dade9aea0091be36cf813effb4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 3 Jul 2025 09:07:08 +0200
Subject: [PATCH] [clang][bytecode] Misc union fixes
First, don't
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/146824
>From df7c4f770e726efacf3a70328b31936add017eea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sat, 5 Jul 2025 18:10:38 +0200
Subject: [PATC
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/147160
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/146285
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/147189
___
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/147188
>From 62b8ba3e78eaeb1b3d68778443a8ae21a0f6769b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 6 Jul 2025 15:07:47 +0200
Subject: [PATCH] [clang][bytecode] Fix visiting for-range loop va
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/146824
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/147188
Make sure we're properly registering DecompositionDecls.
>From 30dc7c787428bb601c6740d969e16ff8ea345d43 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 6 Jul 2025 15:07:47 +0200
Subject
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/147189
Only initialize pointers that can be initialized.
>From 3a2009eb23c0ffab62103c0097a9cb273d315efe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 6 Jul 2025 15:19:09 +0200
Subject: [PATC
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/147188
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/147207
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1662,9 +1662,11 @@ namespace NullptrCast {
constexpr A *na = nullptr;
constexpr B *nb = nullptr;
constexpr A &ra = *nb; // both-error {{constant expression}} \
- // both-note {{cannot access base class of null
pointer}}
+
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/146552
So we get the proper type for a heap-allocated value.
>From e8209bfa48669fc77e38ed9d20fd15d7795fdd35 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Tue, 1 Jul 2025 17:37:10 +0200
Subject: [
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/146552
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/146589
This was only accidentally dropped, so add it back.
>From 6cf4ca471adacf319acf1fb73e60f664540ac88e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Tue, 1 Jul 2025 20:46:18 +0200
Subject: [PA
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/146338
I'm not attaching a test case because I wasn't able to reproduce. The backtrace
looks as follows:
```
frame #10: 0x7fffdedf0b0d
libclang-cpp.so.21.0git`clang::interp::Context::evaluateAsInitializer(th
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/146338
>From d43486a8380dfc1d7287df405b01087a71ae1cdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Mon, 30 Jun 2025 13:43:30 +0200
Subject: [PATCH] [clang][bytecode] Classify varible initializer,
@@ -17575,7 +17576,21 @@ static bool ConvertAPValueToString(const APValue &V,
QualType T,
break;
}
}
- V.getInt().toString(Str);
+
+ llvm::APSInt vInt = V.getInt();
+ if (llvm::APSInt::compareValues(
+ vInt, llvm::APSInt::get
https://github.com/tbaederr edited
https://github.com/llvm/llvm-project/pull/146338
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/146338
>From d43486a8380dfc1d7287df405b01087a71ae1cdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Mon, 30 Jun 2025 13:43:30 +0200
Subject: [PAT
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/146589
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/146471
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr edited
https://github.com/llvm/llvm-project/pull/146338
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Timm =?utf-8?q?Bäder?= ,
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/146338
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailma
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/146286
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Timm =?utf-8?q?Bäder?= ,
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/146338
>From d43486a8380dfc1d7287df405b01087a71ae1cdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Mon, 30 Jun 2025 13:
https://github.com/tbaederr approved this pull request.
https://github.com/llvm/llvm-project/pull/146474
___
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/146285
>From 58df80ee9d5882739e4a6c30833c28ab3f22ca8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 29 Jun 2025 06:58:21 +0200
Subject: [PATCH] asdf
---
clang/lib/AST/ByteCode/Interp.h
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/146509
None
>From 781729955642e65bf245bf36ec7b9de3a406397a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Tue, 1 Jul 2025 13:37:09 +0200
Subject: [PATCH] [clang][bytecode] Remove unused InRange fu
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/146509
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tbaederr wrote:
What are the times with the full `__BITINT_MAXWIDTH__` without the right-shift?
https://github.com/llvm/llvm-project/pull/145053
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/146287
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -17,7 +18,7 @@ struct fake_tuple {
int arr[4] = {1, 2, 3, 6};
template
- int get() {
+ constexpr int& get() {
tbaederr wrote:
Were these two functions never called in a constant context before?
https://github.com/llvm/llvm-project/pull/146474
_
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/149031
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/149050
We need to compare to the end() interator.
>From 361077f6389b7764f1b9ea3084a6caeb51d4cd52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Wed, 16 Jul 2025 11:40:07 +0200
Subject: [PATCH] [cl
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/149050
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/148835
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/149050
>From 361077f6389b7764f1b9ea3084a6caeb51d4cd52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Wed, 16 Jul 2025 11:40:07 +0200
Subject: [PAT
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
@@ -575,7 +575,8 @@ bool CheckConst(InterpState &S, CodePtr OpPC, const Pointer
&Ptr) {
// The This pointer is writable in constructors and destructors,
// even if isConst() returns true.
- if (llvm::find(S.InitializingB
https://github.com/tbaederr approved this pull request.
https://github.com/llvm/llvm-project/pull/146127
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1979,6 +1979,13 @@ void clang::inferNoReturnAttr(Sema &S, const Decl *D) {
if (!FD->hasAttr() && !FD->hasAttr() &&
isKnownToAlwaysThrow(FD)) {
NonConstFD->addAttr(InferredNoReturnAttr::CreateImplicit(S.Context));
+
+// Conditionally, emit the suggestion warn
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/146287
None
>From 7812277876bfa5ac75c110d582dea98924339858 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 29 Jun 2025 21:19:22 +0200
Subject: [PATCH] [clang][bytecode][NFC] Remove some dead c
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/146286
>From a034db206e38bc4473bb47e152a7078e7348649a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Wed, 25 Jun 2025 10:27:56 +0200
Subject: [PAT
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/146285
In the attached test case, one pointer points to the `Derived` class and one to
`Base`, but they should compare equal. They didn't because those two bases are
saved at different offsets in the block. Use `comp
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/146286
We sometimes used to have a long list of
```
GetLocalPtr
PopPtr
[...]
```
ops at the end of scopes, because we first got a pointer to a local variable
and only then did we figure out that we didn't ac
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/149286
For mutable and const fields, we have two bits in InlineDescriptor, which both
get inherited down the hierarchy. When a field is both const and mutable, we
CAN read from it if it is a mutable-in-const field, b
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/149286
>From 3ff796f7b6f09143de36746ea3e024a2903e26f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 17 Jul 2025 12:31:01 +0200
Subject: [PATCH] [clang][bytecode] Fix const-in-mutable fields
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/149320
None
>From 896c606f240e302f12a891aa9ddabba70f2e6364 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 17 Jul 2025 16:28:15 +0200
Subject: [PATCH] [clang][bytecode] Report mutable reads wh
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/149286
>From 34201c4031f90a09f4e4d8295f7fb4a261bbb864 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 17 Jul 2025 12:31:01 +0200
Subject: [PAT
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/149286
>From 34201c4031f90a09f4e4d8295f7fb4a261bbb864 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 17 Jul 2025 12:31:01 +0200
Subject: [PATCH] [clang][bytecode] Fix const-in-mutable fields
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/149330
None
>From ccea1fcbd2a848e679bca4d75a67b51795b468c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 17 Jul 2025 17:04:18 +0200
Subject: [PATCH] [clang][bytecode] Diagnose dereferencing
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/149462
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/149330
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/149677
None
>From 9db49be1f605ec039b984bd7df3e29c127df1866 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sat, 19 Jul 2025 23:02:13 +0200
Subject
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/149693
As a way of writing atIndex(I).deref(), which creates an intermediate
Pointer, which in turn adds (and removes) that pointer from the pointer list of
the Block. This way we can avoid that.
>From 6b0f913b9f7ef
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/149693
>From 52e71459ab39407590ebf92f48e150a0e0f21a5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 20 Jul 2025 08:45:47 +0200
Subject: [PATCH] [clang][bytecode] Reintroduce Pointer::elem()
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/149693
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr edited
https://github.com/llvm/llvm-project/pull/149677
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/149677
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -9346,9 +9346,12 @@ bool LValueExprEvaluator::VisitUnaryDeref(const
UnaryOperator *E) {
// [C++26][expr.unary.op]
// If the operand points to an object or function, the result
// denotes that object or function; otherwise, the behavior is undefined.
- return Success
https://github.com/tbaederr approved this pull request.
Other than the small nit, LGTM
https://github.com/llvm/llvm-project/pull/149648
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/149330
>From 452950ede23a7a21ca88db3600297d67935ddf51 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 17 Jul 2025 17:04:18 +0200
Subject: [PAT
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/147050
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/147050
Nothing to do in that case.
>From bf0977ba63cee20938dccb1d39e9c53891180a18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Fri, 4 Jul 2025 15:13:20 +0200
Subject: [PATCH] [clang][bytecode] F
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/147590
These were added in https://github.com/llvm/llvm-project/pull/147303, but the
-fexperimental-new-constant-interpreter was missing.
>From d37db46dd55d3948cd6c7d002c9e9dd5edc2568c Mon Sep 17 00:00:00 2001
From:
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/147590
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/147303
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/147550
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/147660
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/147207
We need to ignore the lvalue path, just like we do for lvalue reference types.
>From aaa42f44c12a10070c1ad94965e2f63574600b1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 6 Jul 2025
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/147303
So we run the destructor.
>From c567da7e6be38496e428015af6fb2a5daf60b450 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Mon, 7 Jul 2025 15:48:14 +0200
Subject: [PATCH] [clang][bytecode] Cre
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/147338
When activating the new pointer, we need to de-activate pointers of all parent
unions, not just the topmost one.
>From 2e4627dbde65aecbde9080c0edff5805d2c60890 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/147338
>From 8b42dbd7659ce5e424fb107a0d375f449a8d44a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Mon, 7 Jul 2025 18:06:04 +0200
Subject: [PATCH] [clang][bytecode] Fix activating nested unions
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/147480
None
>From e064acdb14edeb4e70463ccdb1726317e81a1a18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Tue, 8 Jul 2025 09:32:37 +0200
Subject: [PATCH] [clang][bytecode] Fix __builtin_is_within_
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/147685
When compiliung compiling a ctor or dtor, we need to devirtualize the virtual
function calls so we always call the implementation of the current class.
>From f90b3cc2aecf0d882b3a93719ad05ddfceadc513 Mon Sep 17
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/147732
This fixes a mismatch in diagnostic output with the current intepreter.
>From 5d9464124dc09bde2b697d7bfc0f224b030a0bab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Wed, 9 Jul 2025 15:17:2
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/147685
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/147533
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/147480
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/147550
Instead, return the new Pointer. This was weird before because some callers had
to get the value from the stack again to perform further operations.
>From e0dc4095477f345470a37e3b826385822448078e Mon Sep 17 00
tbaederr wrote:
Ping
https://github.com/llvm/llvm-project/pull/146829
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2208,15 +2208,27 @@ static bool
interp__builtin_is_within_lifetime(InterpState &S, CodePtr OpPC,
if (Ptr.isOnePastEnd())
return Error(1);
- bool Result = true;
+ bool Result = Ptr.getLifetime() != Lifetime::Ended;
if (!Ptr.isActive()) {
Result = false;
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/147480
>From 65064c550da607bc4550c5764932d0160d53c3ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Tue, 8 Jul 2025 09:32:37 +0200
Subject: [PATCH] [clang][bytecode] Fix __builtin_is_within_lifeti
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/147533
Not attaching a test since I've only seen this when compiling a large c++26
test case as c++17.
>From fe3d8b287ddeff8730ee3c235aaa7f237703faaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date
@@ -3,6 +3,11 @@
// RUN: %clang_cc1 -std=c++2a -verify=expected,cxx20 %s "-DNEW=::operator new"
"-DDELETE=::operator delete"
// RUN: %clang_cc1 -std=c++2c -verify=expected,cxx26 %s "-DNEW=::operator new"
"-DDELETE=::operator delete"
+// RUN: %clang_cc1 -std=c++2a -verify=exp
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/147892
___
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/147909
>From b23c75ff781875da10baa9e6f033ed5358c0cf02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 10 Jul 2025 09:21:57 +0200
Subject: [PATCH] [clang][bytecode] Allocate Record Fields and ba
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/147942
This is easier to read in debuggers and more common.
>From c2f5d0eb65d0f6b291ccfa41603f9800fda6a756 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 10 Jul 2025 13:52:10 +0200
Subject: [
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/148130
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/147892
None
>From 8cfa60433b285accc0fb58531ad9ee5c74fe46d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 10 Jul 2025 07:25:15 +0200
Subject: [PATCH] [clang][bytecode] Implement missing eleme
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/147892
>From 8cfa60433b285accc0fb58531ad9ee5c74fe46d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 10 Jul 2025 07:25:15 +0200
Subject: [PAT
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/147732
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/147909
Records have Program-lifetime, but we used to allocate their fields, bases and
virtual bases using llvm::SmallVector. However, after creating a Record, it
doesn't change and we know all the number of elements
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/147942
>From 86d5da314fd23bd135549773badc9893b5aee85a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 10 Jul 2025 13:52:10 +0200
Subject: [PATCH] [clang][bytecode][NFC] Move Pointer::StorageKin
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/147942
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/148120
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr edited
https://github.com/llvm/llvm-project/pull/147909
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
2701 - 2800 of 2823 matches
Mail list logo