https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/132254
None
>From d64d8d99a96d85b6048eff9130b29e5126ca9607 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 20 Mar 2025 18:10:00 +0100
Subject: [PATCH] [clang][bytecode] Implement __builtin_wme
@@ -7385,8 +7385,13 @@ class APValueToBufferConverter {
for (size_t I = 0, E = CXXRD->getNumBases(); I != E; ++I) {
const CXXBaseSpecifier &BS = CXXRD->bases_begin()[I];
CXXRecordDecl *BaseDecl = BS.getType()->getAsCXXRecordDecl();
+const APValue &
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/132782
We can't pass the AtomicType along to ASTContext::getFloatTypeSemantics.
>From 88ce8a55d9e8fea57ff71989f6a5cd2fe9b505ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Mon, 24 Mar 2025 18:13
https://github.com/tbaederr edited
https://github.com/llvm/llvm-project/pull/132775
___
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/132523
___
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/132527
As pointed out by @shafik, this confuses static analysis and most probably
humans as well. Add an assertion to ensure the given array has at least one
element.
>From ed5dd8936d615c19f7b6d7d3ec607374f28ebf47 M
@@ -964,6 +964,13 @@ def IsConstantEvaluated : LangBuiltin<"CXX_LANG"> {
let Prototype = "bool()";
}
+def IsLValue : Builtin {
+ let Spellings = ["__builtin_is_modifiable_lvalue"];
+ let Attributes = [NoThrow, CustomTypeChecking, UnevaluatedArguments,
+
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/132544
___
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/132557
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tbaederr wrote:
> > It looks like this is similar to `__builtin_constant_p` - what is the
> > proposed behavior wrt. side effects in the evaluated expression? gcc and
> > clang disagree about this a lot currently: https://godbolt.org/z/rbneznT9z
>
> IIUC this intrinsic shouldn't be similar to
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/132557
Add PreInc and PreDec ops for this purpose and ignore the overflow if
UnaryOperator::canOverflow() returns false.
>From 06a6ab84ce28373731bd3750b876f951f849b129 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/132550
___
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/132775
See the attached test case.
>From f6be93ee0f3c9bfed4de7e1add7c2df9015ef12a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Mon, 24 Mar 2025 17:40:42 +0100
Subject: [PATCH] [clang][bytecode]
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/132762
Make sure we run each configuration once with the bytecode interpreter and once
with the current one. Add a triple to the one that was previously without.
>From 0c741db6a105d5ca85cb336d921e5b1c4fb277ec Mon Sep
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/132762
>From a63d77380e9168a3637167aed365e4f8790aaa08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Mon, 24 Mar 2025 16:46:22 +0100
Subject: [PATCH] [clang][bytecode] Redo RUN lines in the builtin
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/132762
>From 9aaf6643cb37ab1ebf0049b0ee4129b2c1daf6dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Mon, 24 Mar 2025 16:46:22 +0100
Subject: [PATCH] [clang][bytecode] Redo RUN lines in the builtin
tbaederr wrote:
I saw, I hope https://github.com/llvm/llvm-project/pull/132762 fixes the builder
https://github.com/llvm/llvm-project/pull/132723
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cf
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/132762
>From 6d483b380bb0c7ffad8afee172dc251372a679e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Mon, 24 Mar 2025 16:46:22 +0100
Subject: [PATCH] [clang][bytecode] Redo RUN lines in the builtin
tbaederr wrote:
If the target is the problem it should still work though, right? If all RUN
lines have a triple set, the native triple doesn't matter, e.g.
https://github.com/llvm/llvm-project/blob/main/clang/test/AST/ByteCode/builtin-bit-cast-bitfields.cpp
does the same thing
https://github.
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/132762
___
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/132914
___
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/132775
___
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/132909
The missing descriptor should only happen if the pointer is null pointer.
>From ac98de068f55909a1b8bdd3070de561cd5d913e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Tue, 25 Mar 2025 11:1
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/132909
___
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/132782
___
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/128732
>From cb69ae95a6134964744580da3ea751387ca9e659 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Tue, 25 Feb 2025 17:14:36 +0100
Subject: [PATCH] [clang][bytecode] Check dtor instance pointers
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/131730
>From 44b5dcaf35e3a0d4ea6ebdc8eacd530658b799d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Tue, 18 Mar 2025 05:50:57 +0100
Subject: [PATCH] [clang][bytecode] Compile most recent function
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/131730
___
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/131730
We used to always do this because all calls went through the code path that
calls getMostRecentDecl(). Do it now, too.
>From eee0c1cb26452fa0ba96fa842eb7b343751d5baf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ti
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/131596
Create the Function* handles for all functions we see, but delay the actual
compilation until we really call the function. This speeds up compile times
with the new interpreter a bit.
>From e4d74e0e82092e4c46
https://github.com/tbaederr approved this pull request.
https://github.com/llvm/llvm-project/pull/131594
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -7141,7 +7141,13 @@ Sema::BuildCompoundLiteralExpr(SourceLocation LParenLoc,
TypeSourceInfo *TInfo,
return ExprError();
LiteralExpr = Result.get();
- bool isFileScope = !CurContext->isFunctionOrMethod();
+ // We treat the compound literal as being at file scope if
https://github.com/tbaederr approved this pull request.
https://github.com/llvm/llvm-project/pull/132141
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1484,6 +1484,18 @@ def ElementwiseSubSat : Builtin {
let Prototype = "void(...)";
}
+def ElementwiseClz : Builtin {
+ let Spellings = ["__builtin_elementwise_clz"];
+ let Attributes = [NoThrow, Const, CustomTypeChecking, Constexpr];
+ let Prototype = "void(...)";
+}
+
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/131983
We need to recurse once more here and move the array case into the bigger if
chain.
>From 7fa354a81378172ce3cd5488b457f129da883698 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Wed, 19 Ma
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/131983
___
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/122099
___
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/132723
___
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/132238
Don't call CheckActive for copy/move operators. They will activate the union
member.
>From 5729d5f04578ea5628f22bfb3cc71826bdacb9e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 20 M
tbaederr wrote:
Let's merge this so we can check if the broken builders are fixed.
https://github.com/llvm/llvm-project/pull/132762
___
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/132963
…723)"
This reverts commit 1e2ad6793ac205607e7c809283cf69e1cc36a69a.
Fix the previous commit on big-endian hosts by _not_ falling through to the
`uint8_t` code path.
>From 0e0e60b041eea2e2561c072d62c5160ff
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/133062
___
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/133064
___
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/132963
___
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/133062
None
>From 7a6c4284aa576e29e83b50a121ba2df4e8909079 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Wed, 26 Mar 2025 10:49:02 +0100
Subject: [PATCH] [clang][bytecode] Print more info in Bloc
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/133064
When revisiting a variable, we do that by simply calling visitDecl() for it,
which means it will end up with the same EvalID as the rest of the evaluation -
but this way we end up allowing reads from mutable v
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/134628
___
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/134982
___
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/135026
The Pointer class already has the capability to be a function pointer, but we
still classifed function pointers as PT_FnPtr/FunctionPointer. This means when
converting from a Pointer to a FunctionPointer, we l
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/134983
___
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/135026
>From bdfb4c607d2bf7f5f8b83d35de9340be80274d34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Wed, 9 Apr 2025 15:31:53 +0200
Subject: [PATCH] [clang][bytecode] Classify function pointers as
@@ -12071,6 +12071,37 @@ NamespaceDecl *Sema::getOrCreateStdNamespace() {
return getStdNamespace();
}
+/// Check that the template-head of this class template is acceptable for
+/// a declaration of 'std::initializer_list', and optionally diagnose if
+/// it is not.
+/// \re
@@ -12071,6 +12071,37 @@ NamespaceDecl *Sema::getOrCreateStdNamespace() {
return getStdNamespace();
}
+/// Check that the template-head of this class template is acceptable for
+/// a declaration of 'std::initializer_list', and optionally diagnose if
+/// it is not.
+/// \re
@@ -12071,6 +12071,37 @@ NamespaceDecl *Sema::getOrCreateStdNamespace() {
return getStdNamespace();
}
+/// Check that the template-head of this class template is acceptable for
+/// a declaration of 'std::initializer_list', and optionally diagnose if
+/// it is not.
+/// \re
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/133852
Union members get the same address, so we can't just use
`Pointer::getByteOffset()`.
>From fa0d8971671cb28df72d9a4712f6be951a367145 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Tue, 1 Ap
tbaederr wrote:
It sounds a little weird to allow the vector+int version only in codegen and
not in constant evaluation. If we reject it, we should do that in Sema I think.
git blame for `Sema::BuiltinShuffleVector` is all over the place, so pinging
@AaronBallman @cor3ntin to see if this goes
Timm =?utf-8?q?B=C3=A4der?=
Message-ID:
In-Reply-To:
tbaederr wrote:
Ping
https://github.com/llvm/llvm-project/pull/128732
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tbaederr wrote:
Closing this since https://github.com/llvm/llvm-project/pull/93046 has been
merged.
https://github.com/llvm/llvm-project/pull/89449
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/131633
None
>From 72ace33d6a7035f193728607095493d1a5d575ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Mon, 17 Mar 2025 17:01:38 +0100
Subject: [PATCH] [clang][bytecode] Fix builtin_memchr with
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/128732
>From 12b39425cf4eea776835e786de8e6a6975798d5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Tue, 25 Feb 2025 17:14:36 +0100
Subject: [PATCH] [clang][bytecode] Check dtor instance pointers
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/131596
>From b6bb99087ad88f50e18610f92f4fb891e0b48d7a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 16 Mar 2025 09:17:39 +0100
Subject: [PATCH] [clang][bytecode] Compile functions lazily
Cre
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/134628
>From fff8b1346f0ad80db78be7abb7fa1bca151fc33b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 6 Apr 2025 13:15:43 +0200
Subject: [PATCH] [clang][bytecode] Fix various issues with multid
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/134628
>From 150ff13e9336aaeffa38804037ac99ea8ba71e3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 6 Apr 2025 13:15:43 +0200
Subject: [PATCH] [clang][bytecode] Fix various issues with multid
https://github.com/tbaederr edited
https://github.com/llvm/llvm-project/pull/134628
___
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/134628
This issue is very convoluted, but in essence, in the new version:
For a Pointer P that points to the root of a multidimensional, primitive array:
`P.narrow()` does nothing.
`P.atIndex(0)` points `P[0]`
`P.atI
https://github.com/tbaederr edited
https://github.com/llvm/llvm-project/pull/134628
___
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/134665
___
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/134982
When copying unions, we need to only copy the active field of the source union,
which we were already doing. However, we also need to zero out the (now)
inactive fields, so we don't end up with dangling pointe
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/134983
See discussion in https://github.com/llvm/llvm-project/pull/134672
>From 365ca307b79b524e26ff91165617d23d46f075d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Wed, 9 Apr 2025 11:43:25 +02
tbaederr wrote:
I don't think we can test `DynamicAllocLValue` like this, since we can't save
it in the `APValue` for an initialized global. You'll have to add a call to
`dump()` e.g. like:
```diff
diff --git i/clang/lib/AST/ExprConstant.cpp w/clang/lib/AST/ExprConstant.cpp
index d1cc722fb794..
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/134672
Desc->getNumElems() returning 0 made us underflow here.
>From 276b187e1d988b26d357052cce239e7eccd0cb4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Mon, 7 Apr 2025 17:25:06 +0200
Subject:
https://github.com/tbaederr approved this pull request.
https://github.com/llvm/llvm-project/pull/134616
___
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/134665
This might happen if the referenced declaration is invalid and thus gets a
dummy descriptor. We ran into an assertion later on.
>From 9143c1118815f3b4a232a8d8029215ecbd2a3955 Mon Sep 17 00:00:00 2001
From: =?U
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/135929
Add the appropriate diagnostic and fix the d-d case.
>From 685749dcf6fbbb4905922ce002180217947ca8f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Wed, 16 Apr 2025 08:37:23 +0200
Subject: [
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/136279
None
>From 7cfafd2b9ee2bb357a6e2ff0f9cacde6f1c1725b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Fri, 18 Apr 2025 10:23:40 +0200
Subject: [PATCH] [clang][bytecode] Reject constexpr-unknow
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/136279
___
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/135530
When emitting the jump for e.g. a for loop condition, we used to jump out of
the CondScope, leaving the scope initialized, because we skipped the
corresponding Destroy opcode. If that loop was in a loop itself
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/135530
___
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/135548
We used to accept c++ as a known value here, causing wrong codegen.
>From a64e39a20719b89dd946f404e83d32026f8db377 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 13 Apr 2025 16:25:28 +
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/135548
>From d26fc41fbfcb7c6c3159e3a7314d84c2ce2785b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 13 Apr 2025 16:25:28 +0200
Subject: [PATCH] [clang][bytecode] Reject constexpr-unknown poin
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/135482
___
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/135178
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tbaederr wrote:
Can you merge this or do you need to someone else to do it for you?
https://github.com/llvm/llvm-project/pull/135178
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -5238,6 +5238,14 @@ inline bool IsEnumDeclScoped(EnumDecl *ED) {
return ED->isScoped();
}
+/// Return the integer type corresponding to the given decl.
+///
+/// We use this function to break a cycle between the inline definitions in
+/// Type.h and Decl.h.
+inline QualTy
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/136482
___
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/117671
___
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/136141
This is only permitted in a std::allocator::deallocate frame.
>From 4774ba70d70a33cde681ab8daba7f7429e131ac7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 17 Apr 2025 15:44:49 +0200
S
Timm =?utf-8?q?B=C3=A4der?=
Message-ID:
In-Reply-To:
tbaederr wrote:
Ping
https://github.com/llvm/llvm-project/pull/117671
___
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/136141
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -8623,6 +8624,13 @@ inline bool Type::isIntegralOrEnumerationType() const {
inline bool Type::isBooleanType() const {
if (const auto *BT = dyn_cast(CanonicalType))
return BT->getKind() == BuiltinType::Bool;
+ if (const EnumType *ET = dyn_cast(CanonicalType)) {
---
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/136478
>From 8327fc0f0d06c39386b285b16902838b2dc0af0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sat, 19 Apr 2025 17:29:16 +0200
Subject: [PATCH] [clang][bytecode] Start implementing
__builtin
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/136478
___
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/136482
Compute the offset from the record layout.
Unfortunately, not all the test cases from the current interpreter work.
>From b12d6d5ca1bbea0f674b2bd136c1261cb15b6e75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=2
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/136478
None
>From 7cb63cec52f7404c93cc578069cf7065d318248c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sat, 19 Apr 2025 17:29:16 +0200
Subject: [PATCH] [clang][bytecode] Start implementing
__b
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/136407
Return Invalid() here instead of just false to match the diagnostic output of
the current interpreter.
>From 1446ab0c9e4c6b32d330777221b2f5ebc63beb02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/136692
___
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/136714
___
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/136692
None
>From dfd494236fd57172cfddfd0db6789321e1662ccb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Tue, 22 Apr 2025 14:17:42 +0200
Subject: [PATCH] [clang][bytecode] Allow reinterpret casts
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/137587
___
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/137642
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
2201 - 2300 of 2820 matches
Mail list logo