https://github.com/localspook closed
https://github.com/llvm/llvm-project/pull/160023
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/161047
>From 2f94bdcfc4b97c5e495ac438e4a16b8e96f5315f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 28 Sep 2025 07:46:46 +0200
Subject: [PATCH] [clang][Diags] Automatically format AP(S)Int va
https://github.com/cor3ntin approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/161035
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vbvictor wrote:
I think we can merge this now and later take steps on how to avoid similar
issues in the future.
https://github.com/llvm/llvm-project/pull/160023
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/ma
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`ppc64le-lld-multistage-test` running on `ppc64le-lld-multistage-test` while
building `clang` at step 12 "build-stage2-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/168/builds/16379
H
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lldb-aarch64-windows`
running on `linaro-armv8-windows-msvc-05` while building `clang` at step 6
"test".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/141/builds/11859
Here is the relevant piece of
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/161045
This is a follow-up to #156140 and #160979, which deprecated one form of
write and read, respectively.
We have two forms of byte_swap:
template
[[nodiscard]] inline value_type byte_swap(value_type v
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: owenca (owenca)
Changes
Fixes #160775
---
Full diff: https://github.com/llvm/llvm-project/pull/161048.diff
3 Files Affected:
- (modified) clang/lib/Format/FormatToken.h (+1-1)
- (modified) clang/lib/Format/TokenAnnotator.cpp (+2
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/161048
Fixes #160775
>From 4f5986bec1d6bd5961407aea2100872bfcfc7f0f Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Fri, 26 Sep 2025 02:45:53 -0700
Subject: [PATCH] [clang-format] Fix a bug in wrapping { after else
Fixe
https://github.com/tbaederr edited
https://github.com/llvm/llvm-project/pull/161047
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
This adds an operator<< overfload for StreamingDiagnostic that takes an
APInt/APSInt and formats it with default options, including adding separators.
This is still an opt-in mechanism since all callers that
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/161047
This adds an operator<< overfload for StreamingDiagnostic that takes an
APInt/APSInt and formats it with default options, including adding separators.
This is still an opt-in mechanism since all callers that w
kimsh02 wrote:
@tbaederr I'm still working on it. Much appreciated for checking in!
https://github.com/llvm/llvm-project/pull/158703
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
This is a follow-up to #156140 and #160979, which deprecated
one form of
write and read, respectively.
We have two forms of byte_swap:
template
[[nodiscard]] inline value_typ
llvmbot wrote:
@llvm/pr-subscribers-backend-directx
Author: Kazu Hirata (kazutakahirata)
Changes
This is a follow-up to #156140 and #160979, which deprecated
one form of
write and read, respectively.
We have two forms of byte_swap:
template
[[nodiscard]] inline
llvmbot wrote:
@llvm/pr-subscribers-llvm-mc
Author: Kazu Hirata (kazutakahirata)
Changes
This is a follow-up to #156140 and #160979, which deprecated
one form of
write and read, respectively.
We have two forms of byte_swap:
template
[[nodiscard]] inline value_t
eljonny wrote:
Does this fix the same issue with `hicpp-use-nullptr`?
It looks like the code for that check might be separate.
I believe that check is also affected by the same crash.
https://github.com/llvm/llvm-project/pull/160023
___
cfe-commits mai
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/160350
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2025-09-28T07:21:40+02:00
New Revision: c7504872927486bb70c26aa71f795b1331cbbd38
URL:
https://github.com/llvm/llvm-project/commit/c7504872927486bb70c26aa71f795b1331cbbd38
DIFF:
https://github.com/llvm/llvm-project/commit/c7504872927486bb70c26aa71f795b1331cbbd38.diff
L
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-x86_64-linux-android` running on `sanitizer-buildbot-android` while
building `clang` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/186/builds/12752
Here is the relev
https://github.com/RiverDave updated
https://github.com/llvm/llvm-project/pull/161028
>From 91950f77c51b4350b6a5d0ccc2df8a36e3c3d8d8 Mon Sep 17 00:00:00 2001
From: David Rivera
Date: Sat, 27 Sep 2025 19:14:52 -0400
Subject: [PATCH] [CIR] Upstream `AddressSpace` support for `PointerType`
---
.
https://github.com/kimsh02 updated
https://github.com/llvm/llvm-project/pull/158703
>From 1b81bf79bc7e6a2c1df846b27e4a95cf1cb97090 Mon Sep 17 00:00:00 2001
From: kimsh02
Date: Mon, 15 Sep 2025 10:58:34 -0700
Subject: [PATCH 01/14] [Clang] VectorExprEvaluator::VisitCallExpr /
InterpretBuiltin -
https://github.com/RiverDave updated
https://github.com/llvm/llvm-project/pull/161028
>From 42940a5ebddba0ed3030d8b63285f79d21bcfdc1 Mon Sep 17 00:00:00 2001
From: David Rivera
Date: Sat, 27 Sep 2025 19:14:52 -0400
Subject: [PATCH] [CIR] Upstream `AddressSpace` support for `PointerType`
---
.
tbaederr wrote:
Are you still stuck with a problem? I can have a look.
https://github.com/llvm/llvm-project/pull/158703
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jh7370 ready_for_review
https://github.com/llvm/llvm-project/pull/160299
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/owenca updated
https://github.com/llvm/llvm-project/pull/160973
>From ec8aadf1ec05897667e1c9df60ac9845d45f955a Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Fri, 26 Sep 2025 19:42:46 -0700
Subject: [PATCH 1/3] [clang-format] Fix bugs in annotating arrows and square
brackets
Author: owenca
Date: 2025-09-27T21:29:25-07:00
New Revision: 4edda3d78c26b9d928d115b2059d0c719eec237b
URL:
https://github.com/llvm/llvm-project/commit/4edda3d78c26b9d928d115b2059d0c719eec237b
DIFF:
https://github.com/llvm/llvm-project/commit/4edda3d78c26b9d928d115b2059d0c719eec237b.diff
LOG: [
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/160973
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1877,8 +1880,9 @@ struct AdditionalKeywords {
// In Verilog the colon in a default label is optional.
return Tok.is(TT_CaseLabelColon) ||
(Tok.is(tok::kw_default) &&
-!(Next && Next->isOneOf(tok::colon, tok::semi, kw_clocking, kw_iff,
-
Author: Fangrui Song
Date: 2025-09-27T20:38:26-07:00
New Revision: 63f1c03feea17c8236774f3b5dc811d5cb3a2364
URL:
https://github.com/llvm/llvm-project/commit/63f1c03feea17c8236774f3b5dc811d5cb3a2364
DIFF:
https://github.com/llvm/llvm-project/commit/63f1c03feea17c8236774f3b5dc811d5cb3a2364.diff
https://github.com/MaskRay closed
https://github.com/llvm/llvm-project/pull/161032
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/dongjianqiang2 approved this pull request.
LGTM ! Thanks @MaskRay
https://github.com/llvm/llvm-project/pull/161032
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
owenca wrote:
Running `grep` in `clang/lib/Format/` gives the following (likely) missed ones:
```
$ grep -n isOneOf *.cpp | grep \!
ContinuationIndenter.cpp:371: if (!Current.isOneOf(TT_BinaryOperator,
tok::comma) &&
ContinuationIndenter.cpp:448: !Current.isOneOf(tok::r_paren,
tok::r_brac
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin`
running on `doug-worker-5` while building `clang` at step 6
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/190/builds/28297
Here is th
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Younan Zhang (zyn0217)
Changes
We missed calling CheckTemplateArgument when building CTAD deduction guides.
That ensures some InitExprs are correctly initialized, as in the test that
crashed due to incorrect NTTP initialization.
I don't
https://github.com/zyn0217 created
https://github.com/llvm/llvm-project/pull/161035
We missed calling CheckTemplateArgument when building CTAD deduction guides.
That ensures some InitExprs are correctly initialized, as in the test that
crashed due to incorrect NTTP initialization.
I don't use
https://github.com/localspook edited
https://github.com/llvm/llvm-project/pull/160971
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
github-actions[bot] wrote:
@ZhongRuoyu Congratulations on having your first Pull Request (PR) merged into
the LLVM Project!
Your changes will be combined with recent changes from other authors, then
tested by our [build bots](https://lab.llvm.org/buildbot/). If there is a
problem with a bui
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/160731
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ruoyu Zhong
Date: 2025-09-27T20:12:36-07:00
New Revision: 9a01561760a2785fbf6d66f86ba2361d36a648f7
URL:
https://github.com/llvm/llvm-project/commit/9a01561760a2785fbf6d66f86ba2361d36a648f7
DIFF:
https://github.com/llvm/llvm-project/commit/9a01561760a2785fbf6d66f86ba2361d36a648f7.diff
L
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Chuanqi Xu (ChuanqiXu9)
Changes
See https://github.com/llvm/llvm-project/issues/71364 for details.
---
Full diff: https://github.com/llvm/llvm-project/pull/161034.diff
2 Files Affected:
- (modified) clang/lib/Frontend/InitPreprocessor.c
https://github.com/ChuanqiXu9 created
https://github.com/llvm/llvm-project/pull/161034
See https://github.com/llvm/llvm-project/issues/71364 for details.
>From d21c069178610022c0c3ac40ce30ca76268bf0dc Mon Sep 17 00:00:00 2001
From: Chuanqi Xu
Date: Sun, 28 Sep 2025 11:05:44 +0800
Subject: [PAT
https://github.com/owenca approved this pull request.
https://github.com/llvm/llvm-project/pull/160731
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
MaskRay wrote:
While GCC has -finline-functions-called-once, we don't blindly copy every
option it supports. Please provide clear, technical justification. The
description looks AI-generated, making it difficult to assess its value.
https://github.com/llvm/llvm-project/pull/160343
https://github.com/w2yehia updated
https://github.com/llvm/llvm-project/pull/153049
>From c562d407468236c0ee31cd32949e7f6a363a798f Mon Sep 17 00:00:00 2001
From: Wael Yehia
Date: Tue, 9 Sep 2025 19:27:03 +
Subject: [PATCH 01/11] accept ifunc attribute on AIX
---
clang/include/clang/Basic/
@@ -9744,6 +9744,16 @@ static void DiagnoseNarrowingInInitList(Sema &S,
case NK_Constant_Narrowing: {
// A constant value was narrowed.
+
+// Overflow behavior destination types with a 'wrap' kind can elide
JustinStitt wrote:
Without the OBT check i
ojhunt wrote:
> @ojhunt I closed all the threads which are no longer relevant or are
> duplicates.
👍
> ## To be done in scope of this PR
> ### Trivial formatting issues
> These require almost zero effort to apply. Please consider fixing these first
> so we do not need to worry about them any
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-aarch64-linux-bootstrap-asan` running on `sanitizer-buildbot7` while
building `clang` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/24/builds/13097
Here is the relev
https://github.com/MaskRay updated
https://github.com/llvm/llvm-project/pull/161032
>From cc983d941fcdf585b9c1e2d6f4559461558466a1 Mon Sep 17 00:00:00 2001
From: Fangrui Song
Date: Sat, 27 Sep 2025 18:47:23 -0700
Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?=
=?UT
https://github.com/mizvekov closed
https://github.com/llvm/llvm-project/pull/160439
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Ryosuke Niwa (rniwa)
Changes
Generalize the check for recognizing [[Obj alloc] init] to also recognize
[allocObj() init]. We do this by utilizing isAllocInit function in
RetainPtrCtorAdoptChecker.
---
Full diff: https:/
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: None (isuckatcs)
Changes
This check is inspired by a recent
[issue](https://bugs.ruby-lang.org/issues/20908) that happened with Ruby.
Ruby supports native extensions written in C, and the compilation of those
extensions happens on
https://github.com/yicuixi updated
https://github.com/llvm/llvm-project/pull/159981
>From 77fc06c7147e8eec1712f2c8babdb6fd8a48dd94 Mon Sep 17 00:00:00 2001
From: yicuixi
Date: Sun, 21 Sep 2025 22:22:28 +0800
Subject: [PATCH 1/4] [clang] Accept empty enum in MSVC compatible C
Signed-off-by: yic
ojhunt wrote:
Sigh, built wrong repo, basic errors which I'm fixing now
https://github.com/llvm/llvm-project/pull/143230
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-driver
Author: Fangrui Song (MaskRay)
Changes
`clang -fno-slp-vectorize -O2` incorrectly enabled CC1 -vectorize-slp.
Make -fvectorize and -fslp-vectorize properly override -O, following the
convention.
Fix #160633
---
https://github.com/MaskRay created
https://github.com/llvm/llvm-project/pull/161032
`clang -fno-slp-vectorize -O2` incorrectly enabled CC1 -vectorize-slp.
Make -fvectorize and -fslp-vectorize properly override -O, following the
convention.
Fix #160633
>From cc983d941fcdf585b9c1e2d6f4559461558
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/160285
>From b06263d8a458ef3cdfc6197e7fed4c31b387bca7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Tue, 23 Sep 2025 14:39:44 +0200
Subject: [PATCH] [clang][bytecode] Use stack offsets for This/RV
@@ -3679,6 +3679,35 @@ the arguments. Both arguments and the result have the
bitwidth specified
by the name of the builtin. These builtins can be used within constant
expressions.
+``__builtin_stdc_rotate_left`` and ``__builtin_stdc_rotate_right``
+---
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Donát Nagy (NagyDonat)
Changes
The method `ExprEngine::evalCall` handles multiple state transitions and
activates various checker callbacks that take a `CallEvent` parameter (among
other parameters). Unfortunately some of these callbacks
Author: Matheus Izvekov
Date: 2025-09-28T01:30:06Z
New Revision: 078e99ef017cac3899e5dbc2ed917f173c9eedad
URL:
https://github.com/llvm/llvm-project/commit/078e99ef017cac3899e5dbc2ed917f173c9eedad
DIFF:
https://github.com/llvm/llvm-project/commit/078e99ef017cac3899e5dbc2ed917f173c9eedad.diff
LO
https://github.com/mizvekov closed
https://github.com/llvm/llvm-project/pull/161029
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
farzonl wrote:
> I think this approach probably needs some adjustment. HLSL allows
> constructor-like syntax but it behaves the same way the HLSL initializer list
> syntax does, so matrix initialization should be done through SemaHLSL’s
> initialization list handling.
Will look into this than
@@ -0,0 +1,45 @@
+// RUN: %clang_cc1 -E -pedantic-errors %s -verify -std=c++98
+// RUN: %clang_cc1 -E -pedantic-errors %s -verify -std=c++11
+// RUN: %clang_cc1 -E -pedantic-errors %s -verify -std=c++14
+// RUN: %clang_cc1 -E -pedantic-errors %s -verify -std=c++17
+// RUN: %clang_
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: James Henderson (jh7370)
Changes
This allows disabling variable alignment declarations while still having
function alignment. It also distinguishes between class member variables and
other variables (e.g. function local variables).
nikic wrote:
> > Unused loop invariant loads were not sunk from preheader to exit block,
> > increasing live range.
>
> What live range? If the result is unused, how can it contribute to register
> pressure in the loop body?
I believe "unused" here refers to "unused inside the loop, but used
https://github.com/tbaederr approved this pull request.
https://github.com/llvm/llvm-project/pull/160339
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -6246,40 +6246,178 @@ __m512i test_mm512_ternarylogic_epi32(__m512i __A,
__m512i __B, __m512i __C) {
// CHECK: @llvm.x86.avx512.pternlog.d.512({{.*}}, i32 240)
return _mm512_ternarylogic_epi32(__A, __B, __C, _MM_TERNLOG_A);
}
+TEST_CONSTEXPR(match_v16si(
+ _mm512_terna
@@ -2607,3 +2607,19 @@ void test_mm512_mask_cvtusepi16_storeu_epi8 (void * __P,
__mmask32 __M, __m512i
// CHECK: @llvm.x86.avx512.mask.pmovus.wb.mem.512
_mm512_mask_cvtusepi16_storeu_epi8 ( __P, __M, __A);
}
+
+__m512i test_mm512_bslli_epi16(__m512i a) {
+ // CHECK-LABEL: @
https://github.com/RiverDave edited
https://github.com/llvm/llvm-project/pull/161028
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/RiverDave edited
https://github.com/llvm/llvm-project/pull/161028
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/161029
>From 41fb95c59932612bb636b096330c16a83d3a4ab4 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Wed, 24 Sep 2025 17:18:41 -0300
Subject: [PATCH] [clang] fix transformation of subst constant template
parame
https://github.com/mizvekov auto_merge_enabled
https://github.com/llvm/llvm-project/pull/161029
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/161029
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/130603
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Matheus Izvekov
Date: 2025-09-28T00:59:53Z
New Revision: 4a4573a4adeab93111c3d58bff16ad24123ccc5f
URL:
https://github.com/llvm/llvm-project/commit/4a4573a4adeab93111c3d58bff16ad24123ccc5f
DIFF:
https://github.com/llvm/llvm-project/commit/4a4573a4adeab93111c3d58bff16ad24123ccc5f.diff
LO
https://github.com/mizvekov auto_merge_enabled
https://github.com/llvm/llvm-project/pull/160439
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/160439
>From 21fe7eea5c0f7dbfe8b08251a594c23ea2e8980d Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Wed, 24 Sep 2025 00:21:01 -0300
Subject: [PATCH 1/2] [clang] simplify placeholder type deduction for constant
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/160439
>From 30da2b4136d5ebcb726446b18a6d675ea075785b Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Wed, 24 Sep 2025 00:21:01 -0300
Subject: [PATCH] [clang] simplify placeholder type deduction for constant
tem
@@ -680,11 +682,19 @@ int
CompactUnwinder_arm64::stepWithCompactEncodingFrame(
savedRegisterLoc -= 8;
}
- uint64_t fp = registers.getFP();
+ Registers_arm64::reg_t fp = registers.getFP();
// fp points to old fp
registers.setFP(addressSpace.get64(fp));
- // old
@@ -680,11 +682,19 @@ int
CompactUnwinder_arm64::stepWithCompactEncodingFrame(
savedRegisterLoc -= 8;
}
- uint64_t fp = registers.getFP();
+ Registers_arm64::reg_t fp = registers.getFP();
// fp points to old fp
registers.setFP(addressSpace.get64(fp));
- // old
https://github.com/RiverDave created
https://github.com/llvm/llvm-project/pull/161028
None
>From 93d566f42b6259685ad5708a156d1ca2e58ae3e2 Mon Sep 17 00:00:00 2001
From: David Rivera
Date: Sat, 27 Sep 2025 19:14:52 -0400
Subject: [PATCH] [CIR] Upstream `AddressSpaceAttr` support for `PointerTyp
llvmbot wrote:
@llvm/pr-subscribers-clangir
Author: David Rivera (RiverDave)
Changes
Related: #160386
Add support for address spaces in CIR pointer types.
This PR adds support for address spaces in CIR pointer types by:
as specified in the incubator:
1. Introducing a new `AddressSpace` e
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: David Rivera (RiverDave)
Changes
Related: #160386
Add support for address spaces in CIR pointer types.
This PR adds support for address spaces in CIR pointer types by:
as specified in the incubator:
1. Introducing a new `AddressSpace` enu
https://github.com/RiverDave ready_for_review
https://github.com/llvm/llvm-project/pull/161028
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/RiverDave updated
https://github.com/llvm/llvm-project/pull/161028
>From eb5a41d2308c919c9a525f2086822793686b2a03 Mon Sep 17 00:00:00 2001
From: David Rivera
Date: Sat, 27 Sep 2025 19:14:52 -0400
Subject: [PATCH] [CIR] Upstream `AddressSpaceAttr` support for `PointerType`
--
@@ -309,6 +309,10 @@ Changes in existing checks
- ``for`` loops are supported.
+- Improved :doc:`misc-const-correctness
+ ` check to avoid false
+ positives when pointers is tranferred to non-const references.
localspook wrote:
```suggestion
positives
https://github.com/localspook edited
https://github.com/llvm/llvm-project/pull/160971
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/localspook approved this pull request.
Just a nit about the release notes:
https://github.com/llvm/llvm-project/pull/160971
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-c
@@ -118,22 +119,51 @@ _LIBUNWIND_HIDDEN int __unw_set_reg(unw_cursor_t *cursor,
unw_regnum_t regNum,
typedef LocalAddressSpace::pint_t pint_t;
AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor;
if (co->validReg(regNum)) {
-co->setReg(regNum, (pint_t)value);
@@ -9744,6 +9744,16 @@ static void DiagnoseNarrowingInInitList(Sema &S,
case NK_Constant_Narrowing: {
// A constant value was narrowed.
+
+// Overflow behavior destination types with a 'wrap' kind can elide
ojhunt wrote:
Why is that a reasonable ass
https://github.com/RiverDave edited
https://github.com/llvm/llvm-project/pull/161028
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff origin/main HEAD --extensions c,cpp,h --
clang/test/CIR/address-space.c
clang/includ
https://github.com/RiverDave edited
https://github.com/llvm/llvm-project/pull/161028
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
RiverDave wrote:
* **#161028** https://app.graphite.dev/github/pr/llvm/llvm-project/161028?utm_source=stack-comment-icon";
target="_blank">https://static.graphite.dev/graphite-32x32-black.png"; alt="Graphite"
width="10px" height="10px"/> 👈 https://app.graphite.dev/github/pr/llvm/llvm-project/16
ojhunt wrote:
Had to rebase as there was a divergence between my tree and this one - possibly
I accidentally merged main to the PR
https://github.com/llvm/llvm-project/pull/143230
___
cfe-commits mailing list
[email protected]
https://lists.l
@@ -4699,6 +4699,55 @@ TEST_F(FormatTestComments, SplitCommentIntroducers) {
getLLVMStyleWithColumns(10)));
}
+TEST_F(FormatTestComments, LineCommentsOnStartOfFunctionCall) {
+ auto Style = getLLVMStyle();
+
+ EXPECT_TRUE(Style.Cpp11BracedListStyle);
+
+
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff origin/main HEAD --extensions h --
clang/lib/Headers/ptrauth.h
``
:warning:
https://github.com/ojhunt created
https://github.com/llvm/llvm-project/pull/161027
This introduces a number of additional macros to support the use of manual
pointer authentication.
>From d9c3119437fd7433c9283bb9a63d8b629b4532e3 Mon Sep 17 00:00:00 2001
From: Oliver Hunt
Date: Sat, 27 Sep 202
ojhunt wrote:
Style differences a sufficiently minor that I'll take them and deal with future
merge issues when they come up.
https://github.com/llvm/llvm-project/pull/161027
___
cfe-commits mailing list
[email protected]
https://lists.llvm.o
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Shoaib Meenai (smeenai)
Changes
There's build setups where source file names aren't necessarily unique
(e.g. the same source files can be used for multiple targets) but output
paths are. It's theoretically possible to get the build system t
1 - 100 of 231 matches
Mail list logo