https://github.com/xlauko approved this pull request.
lgtm
https://github.com/llvm/llvm-project/pull/145979
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
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 HEAD~1 HEAD --extensions c,cpp --
clang/lib/StaticAnalyzer/Checkers/CallAndMessageChe
balazs-benics-sonarsource wrote:
Backporting this updated version to clang-19 was not easy but it allowed to
verify this PR.
Unfortunately, there is a bug in this updated version, that I'll explain.
Even after I fixed this bug, however, on a sample it ran about 19.36% slower
under analyzing has
vbvictor wrote:
Please fix formatting issues.
For first-time contributors, build workflows don't run automatically, members
need to start them on each commit manually.
https://github.com/llvm/llvm-project/pull/145066
___
cfe-commits mailing list
cfe-
@@ -368,4 +368,34 @@ def CIR_VisibilityAttr : CIR_Attr<"Visibility",
"visibility"> {
}];
}
+//===--===//
+// ExtraFuncAttributesAttr
+//===---
https://github.com/Karthikdhondi updated
https://github.com/llvm/llvm-project/pull/146032
>From c6bf84fd57c550b1c160c4497b0de2f2db87c31f Mon Sep 17 00:00:00 2001
From: Karthikdhondi
Date: Fri, 27 Jun 2025 11:43:31 +0530
Subject: [PATCH 1/2] Fix: Handle structs exceeding 1EB size limit
---
cla
https://github.com/vbvictor closed
https://github.com/llvm/llvm-project/pull/145719
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Baranov Victor
Date: 2025-06-27T10:33:09+03:00
New Revision: 8a839ea79123175c940a64beea6abd29b8b302fb
URL:
https://github.com/llvm/llvm-project/commit/8a839ea79123175c940a64beea6abd29b8b302fb
DIFF:
https://github.com/llvm/llvm-project/commit/8a839ea79123175c940a64beea6abd29b8b302fb.diff
https://github.com/Xazax-hun approved this pull request.
https://github.com/llvm/llvm-project/pull/145947
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jayfoad wrote:
> Co-authored with @jayfoad
For future reference, please don't do this!
https://discourse.llvm.org/t/forbidding-username-in-commits/86997
You could use a standard git `Co-authored-by:` tag instead or just omit it. I
don't need the credit.
https://github.com/llvm/llvm-project/p
@@ -0,0 +1,40 @@
+; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
+
+target triple = "amdgcn-amd-amdhsa"
+
+define void @valid_amdgpu_waves_per_eu_range() "amdgpu-waves-per-eu"="2,4" {
+ ret void
+}
+
+define void @valid_amdgpu_waves_per_eu_min_only() "amdgpu-waves-per-
@@ -46,7 +46,6 @@ __attribute__((amdgpu_num_sgpr(4294967296))) kernel void
kernel_num_sgpr_L() {}
__attribute__((amdgpu_num_vgpr(4294967296))) kernel void kernel_num_vgpr_L()
{} // expected-error {{integer constant expression evaluates to value
4294967296 that cannot be repres
@@ -2519,6 +2519,29 @@ void Verifier::verifyFunctionAttrs(FunctionType *FT,
AttributeList Attrs,
CheckFailed("invalid value for 'denormal-fp-math-f32' attribute: " + S,
V);
}
+
+ if (TT.isAMDGPU()) {
+if (auto A = Attrs.getFnAttr("amdgpu-waves-pe
@@ -0,0 +1,40 @@
+; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
+
+target triple = "amdgcn-amd-amdhsa"
+
+define void @valid_amdgpu_waves_per_eu_range() "amdgpu-waves-per-eu"="2,4" {
+ ret void
+}
arsenm wrote:
valid cases are tested in test/Assemble
https://github.com/ChuanqiXu9 approved this pull request.
I don't feel there are coroutine specific things, but if you want, I can accept
this.
https://github.com/llvm/llvm-project/pull/141937
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
ht
@@ -2519,6 +2519,29 @@ void Verifier::verifyFunctionAttrs(FunctionType *FT,
AttributeList Attrs,
CheckFailed("invalid value for 'denormal-fp-math-f32' attribute: " + S,
V);
}
+
+ if (TT.isAMDGPU()) {
+if (auto A = Attrs.getFnAttr("amdgpu-waves-pe
=?utf-8?q?Don=C3=A1t?= Nagy ,
=?utf-8?q?Don=C3=A1t?= Nagy ,
=?utf-8?q?Don=C3=A1t?= Nagy ,
=?utf-8?q?Don=C3=A1t?= Nagy
Message-ID:
In-Reply-To:
steakhal wrote:
@NagyDonat Can you look into this reported failure?
https://github.com/llvm/llvm-project/pull/145731
_
@@ -143,6 +143,20 @@
// RUN: | FileCheck %s --check-prefix=CHECK-RTLIB-GCC
// CHECK-RTLIB-GCC: -lgcc
+// RUN: %clang -### --target=arm-none-eabi -nolibc %s 2>&1 \
+// RUN: | FileCheck %s --check-prefix=CHECK-NOLIBC
+// CHECK-NOLIBC-NOT: "-lc"
+// CHECK-NOLIBC-NOT: "-lm"
+/
https://github.com/xlauko ready_for_review
https://github.com/llvm/llvm-project/pull/146044
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
NagyDonat wrote:
@mgorny I was unable to reproduce the failure that you observed -- based on the
error message that you posted, you're in a situation where Z3_INCLUDE_DIR is
not set by the clang build system _but_ these two tests which are marked with
`REQUIRES: z3` are still executed somehow.
@@ -8811,8 +8829,19 @@ class MappableExprsHandler {
++EI;
}
}
-llvm::stable_sort(DeclComponentLists, [](const MapData &LHS,
- const MapData &RHS) {
+llvm::stable_sort(DeclComponentLists, [VD](const MapData &L
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/146044
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
NagyDonat wrote:
I'm still convinced that the solution that returns `UnknownVal`s is
unacceptable from a code readability and maintainability perspective. In my
opinion adding so much complexity would be only acceptable if it was the only
way to fix regularly occurring crash, and enforcing thi
@@ -515,6 +515,10 @@ TARGET_BUILTIN(__builtin_altivec_vctzh, "V8UsV8Us", "",
"power9-vector")
TARGET_BUILTIN(__builtin_altivec_vctzw, "V4UiV4Ui", "", "power9-vector")
TARGET_BUILTIN(__builtin_altivec_vctzd, "V2ULLiV2ULLi", "", "power9-vector")
+//P9 BCD builtins
+TARGET_BUILT
erichkeane wrote:
All fixed up!
I had to make some changes to the dialect, so I'd very much like
@razvanlupusoru to confirm/approve.
https://github.com/llvm/llvm-project/pull/145976
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://li
https://github.com/AaronBallman closed
https://github.com/llvm/llvm-project/pull/146065
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/NagyDonat reopened
https://github.com/llvm/llvm-project/pull/144327
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/NagyDonat closed
https://github.com/llvm/llvm-project/pull/144327
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
NagyDonat wrote:
> I'm still convinced that the solution that returns `UnknownVal`s is
> unacceptable from a code readability and maintainability perspective. In my
> opinion adding so much complexity would be only acceptable if it was the only
> way to fix regularly occurring crash, and enfor
NagyDonat wrote:
Closing this ticket was a misclick, sorry.
https://github.com/llvm/llvm-project/pull/144327
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 edited
https://github.com/llvm/llvm-project/pull/144874
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -85,23 +85,24 @@ RValue
CIRGenFunction::emitCXXMemberOrOperatorMemberCallExpr(
return RValue::get(nullptr);
}
- bool trivialForCodegen =
- md->isTrivial() || (md->isDefaulted() && md->getParent()->isUnion());
- bool trivialAssignment =
- trivialForCodegen
@@ -258,6 +258,30 @@ void CIRGenFunction::emitDelegateCXXConstructorCall(
/*Delegating=*/true, thisAddr, delegateArgs, loc);
}
+void CIRGenFunction::emitImplicitAssignmentOperatorBody(FunctionArgList &args)
{
+ const auto *assignOp = cast(curGD.getDe
https://github.com/philnik777 updated
https://github.com/llvm/llvm-project/pull/116709
>From e0bb550672326e21a556ac727f2e2a6ef65f0469 Mon Sep 17 00:00:00 2001
From: Nikolas Klauser
Date: Tue, 1 Oct 2024 11:08:02 +0200
Subject: [PATCH 01/12] [Clang] Add __builtin_invoke and recognize std::invoke
https://github.com/erichkeane edited
https://github.com/llvm/llvm-project/pull/145166
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2434,9 +2434,12 @@ Sema::PopFunctionScopeInfo(const
AnalysisBasedWarnings::Policy *WP,
OpenMP().popOpenMPFunctionRegion(Scope.get());
// Issue any analysis-based warnings.
- if (WP && D)
+ if (WP && D) {
+if (auto *FD = dyn_cast(D)) {
erichkea
https://github.com/erichkeane commented:
Want 1 more test and a preference on interface, else I'm pretty good here.
https://github.com/llvm/llvm-project/pull/145166
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/
https://github.com/erichkeane updated
https://github.com/llvm/llvm-project/pull/145976
>From b1c4ebc8e9efba38f2cda2696f60cc4a86c3fd89 Mon Sep 17 00:00:00 2001
From: erichkeane
Date: Thu, 26 Jun 2025 09:02:15 -0700
Subject: [PATCH 1/2] [OpenACC][CIR] Implement copyin/copyout/create lowering
for
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/145979
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/145802
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -258,6 +258,30 @@ void CIRGenFunction::emitDelegateCXXConstructorCall(
/*Delegating=*/true, thisAddr, delegateArgs, loc);
}
+void CIRGenFunction::emitImplicitAssignmentOperatorBody(FunctionArgList &args)
{
+ const auto *assignOp = cast(curGD.getDe
Author: Jim Lin
Date: 2025-06-27T16:10:10+08:00
New Revision: c15f4225419f9857d255ca46674ce1af69156bda
URL:
https://github.com/llvm/llvm-project/commit/c15f4225419f9857d255ca46674ce1af69156bda
DIFF:
https://github.com/llvm/llvm-project/commit/c15f4225419f9857d255ca46674ce1af69156bda.diff
LOG:
https://github.com/Michael137 commented:
LGTM (modulo the question about one of the message strings)
I'll let @delcypher comment on whether all his concerns have been addressed
https://github.com/llvm/llvm-project/pull/145967
___
cfe-commits mailing l
NagyDonat wrote:
I created PR https://github.com/llvm/llvm-project/pull/146042 which should
hopefully fix this issue. (Right now I'm rebuilding clang to ensure that it is
indeed working.)
https://github.com/llvm/llvm-project/pull/145731
___
cfe-commi
github-actions[bot] wrote:
:warning: Python code formatter, darker found issues in your code. :warning:
You can test this locally with the following command:
``bash
darker --check --diff -r HEAD~1...HEAD clang/test/lit.cfg.py
``
View the diff from darker here.
`
https://github.com/xlauko created
https://github.com/llvm/llvm-project/pull/146044
- Generalizes CIRFPTypeInterface files to CIRTypeInterfaces for future type
interfaces additions.
- Renames CIRFPTypeInterface to FPTypeInterface.
- Fixes FPTypeInterface tablegen prefix.
This mirrors incubator
xlauko wrote:
* **#146045** https://app.graphite.dev/github/pr/llvm/llvm-project/146045?utm_source=stack-comment-icon";
target="_blank">https://static.graphite.dev/graphite-32x32-black.png"; alt="Graphite"
width="10px" height="10px"/>
* **#146044** https://app.graphite.dev/github/pr/llvm/llvm-p
llvmbot wrote:
@llvm/pr-subscribers-clangir
Author: Henrich Lauko (xlauko)
Changes
- Generalizes CIRFPTypeInterface files to CIRTypeInterfaces for future type
interfaces additions.
- Renames CIRFPTypeInterface to FPTypeInterface.
- Fixes FPTypeInterface tablegen prefix.
This mirrors incu
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Henrich Lauko (xlauko)
Changes
- Generalizes CIRFPTypeInterface files to CIRTypeInterfaces for future type
interfaces additions.
- Renames CIRFPTypeInterface to FPTypeInterface.
- Fixes FPTypeInterface tablegen prefix.
This mirrors incuba
https://github.com/NagyDonat updated
https://github.com/llvm/llvm-project/pull/146042
From b7bfc546397c42b1e26cfd0d10bdf583d0091ff4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Don=C3=A1t=20Nagy?=
Date: Fri, 27 Jun 2025 11:22:29 +0200
Subject: [PATCH 1/2] [analyzer] Fix tests broken by empty %z3_in
https://github.com/philnik777 updated
https://github.com/llvm/llvm-project/pull/116709
>From e0bb550672326e21a556ac727f2e2a6ef65f0469 Mon Sep 17 00:00:00 2001
From: Nikolas Klauser
Date: Tue, 1 Oct 2024 11:08:02 +0200
Subject: [PATCH 01/11] [Clang] Add __builtin_invoke and recognize std::invoke
https://github.com/ukalappa-mips updated
https://github.com/llvm/llvm-project/pull/145647
>From 8a1f98820b280b02f0662c7129a078680d67497f Mon Sep 17 00:00:00 2001
From: Umesh Kalappa
Date: Wed, 25 Jun 2025 06:58:37 +
Subject: [PATCH 1/4] Added prefetch extensions for MIPS RV64 P8700 and enab
@@ -143,6 +143,20 @@
// RUN: | FileCheck %s --check-prefix=CHECK-RTLIB-GCC
// CHECK-RTLIB-GCC: -lgcc
+// RUN: %clang -### --target=arm-none-eabi -nolibc %s 2>&1 \
+// RUN: | FileCheck %s --check-prefix=CHECK-NOLIBC
+// CHECK-NOLIBC-NOT: "-lc"
+// CHECK-NOLIBC-NOT: "-lm"
+/
https://github.com/saturn691 edited
https://github.com/llvm/llvm-project/pull/145700
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mydeveloperday commented:
Looks good, thank you
https://github.com/llvm/llvm-project/pull/145853
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kmclaughlin-arm updated
https://github.com/llvm/llvm-project/pull/145346
>From b2d9f70eb33ebbb26166bea4ba79f05204fc3cc2 Mon Sep 17 00:00:00 2001
From: Kerry McLaughlin
Date: Mon, 23 Jun 2025 13:07:34 +
Subject: [PATCH 1/3] [Clang][AArch64] Add FP8 variants of Neon store
=?utf-8?q?Don=C3=A1t?= Nagy
Message-ID:
In-Reply-To:
https://github.com/steakhal approved this pull request.
https://github.com/llvm/llvm-project/pull/145895
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mail
https://github.com/Tedlion updated
https://github.com/llvm/llvm-project/pull/145066
>From 03004d9a9348e365a2d2d05e69f83fc404ddb605 Mon Sep 17 00:00:00 2001
From: tangwy
Date: Sat, 21 Jun 2025 00:22:10 +0800
Subject: [PATCH 1/4] [clang][analyzer] Fix the false positive
ArgInitializedness warnin
https://github.com/Tedlion updated
https://github.com/llvm/llvm-project/pull/145066
>From 03004d9a9348e365a2d2d05e69f83fc404ddb605 Mon Sep 17 00:00:00 2001
From: tangwy
Date: Sat, 21 Jun 2025 00:22:10 +0800
Subject: [PATCH 1/3] [clang][analyzer] Fix the false positive
ArgInitializedness warnin
https://github.com/Tedlion updated
https://github.com/llvm/llvm-project/pull/145066
>From 03004d9a9348e365a2d2d05e69f83fc404ddb605 Mon Sep 17 00:00:00 2001
From: tangwy
Date: Sat, 21 Jun 2025 00:22:10 +0800
Subject: [PATCH 1/4] [clang][analyzer] Fix the false positive
ArgInitializedness warnin
@@ -292,6 +297,45 @@ inline bool doesKeywordAttributeTakeArgs(tok::TokenKind
Kind) {
}
}
+inline const StreamingDiagnostic &operator<<(const StreamingDiagnostic &DB,
+ const AttributeCommonInfo &CI) {
+ DB.AddTaggedVal(reinterpre
@@ -4694,9 +4695,9 @@ def note_protocol_decl : Note<
"protocol is declared here">;
def note_protocol_decl_undefined : Note<
"protocol %0 has no definition">;
-def err_attribute_preferred_name_arg_invalid : Error<
- "argument %0 to 'preferred_name' attribute is not a typede
https://github.com/vgvassilev updated
https://github.com/llvm/llvm-project/pull/144064
>From 05943c9542cd89ae672ddc0f14514e0c7b1e0bd7 Mon Sep 17 00:00:00 2001
From: SahilPatidar
Date: Tue, 3 Dec 2024 15:07:56 +0530
Subject: [PATCH 1/6] Re-Land: [Clang-Repl] Add support for out-of-process
execu
@@ -292,6 +297,45 @@ inline bool doesKeywordAttributeTakeArgs(tok::TokenKind
Kind) {
}
}
+inline const StreamingDiagnostic &operator<<(const StreamingDiagnostic &DB,
+ const AttributeCommonInfo &CI) {
+ DB.AddTaggedVal(reinterpre
@@ -200,12 +200,10 @@
// CHECK-NO-TARGETLIB-SAME: "-L."
// RUN: mkdir -p %t.dir/myroot/target/lib
-// RUN: touch %t.dir/myroot/target/lib/crti.o
// RUN: env SCE_PROSPERO_SDK_DIR=%t.dir/myroot %clang --target=x64_64-sie-ps5
%s -### -Luser 2>&1 | FileCheck --check-prefixes=CHE
NagyDonat wrote:
I will postpone merging this until the issues with
https://github.com/llvm/llvm-project/commit/40cc4379cda6e0d6efe72c55d1968f9cf427a16a
are fixed (for the unlikely case if that commit ends up being reverted).
https://github.com/llvm/llvm-project/pull/145895
___
NagyDonat wrote:
Thank you, that would be very helpful! I'm not familiar with the cmake
implementation details of the standalone build (until now I didn't even know
about its existence), so finding a solution would've taken lots of time for me.
https://github.com/llvm/llvm-project/pull/145731
https://github.com/jmorse approved this pull request.
LGTM with a question
https://github.com/llvm/llvm-project/pull/145869
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jmorse edited
https://github.com/llvm/llvm-project/pull/145869
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -173,13 +173,16 @@ def have_host_clang_repl_cuda():
config.available_features.add("staticanalyzer")
tools.append("clang-check")
+I_z3_include_dir = ""
if config.clang_staticanalyzer_z3:
config.available_features.add("z3")
-config.substituti
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Alexandros Lamprineas (labrinea)
Changes
Implements option one of the proposal
https://github.com/ARM-software/acle/issues/403
---
Patch is 24.34 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull
https://github.com/labrinea converted_to_draft
https://github.com/llvm/llvm-project/pull/146092
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,26 @@
+// RUN: %clang_cc1 -fsyntax-only -fcxx-exceptions -fexceptions -Wreturn-type
-verify %s
+// expected-no-diagnostics
+
+namespace std {
+ class string {
+ public:
+string(const char*); // constructor for runtime_error
+ };
+ class runtime_error {
+ publi
https://github.com/labrinea created
https://github.com/llvm/llvm-project/pull/146092
Implements option one of the proposal
https://github.com/ARM-software/acle/issues/403
>From c5bd398ad9116a29f363be4f0b9ec54fca0d7016 Mon Sep 17 00:00:00 2001
From: Alexandros Lamprineas
Date: Thu, 26 Jun 2025
asl wrote:
> The fact I'm worried about is whether implicit signing and authentication on
> accesses to `__ptrauth`-qualified fields may introduce signing or
> authentication oracles usable by an attacker, since many values stored to
> these fields are initially non-signed. This is possibly mi
https://github.com/nikic updated
https://github.com/llvm/llvm-project/pull/145474
>From 3d51cf4796fe5f1e1577ce23f2970975bd216157 Mon Sep 17 00:00:00 2001
From: Nikita Popov
Date: Tue, 24 Jun 2025 10:08:40 +0200
Subject: [PATCH 1/4] [EarlyCSE] Add tests for writeonly
---
llvm/test/Transforms/E
llvmbot wrote:
@llvm/pr-subscribers-backend-aarch64
@llvm/pr-subscribers-llvm-transforms
Author: Alexandros Lamprineas (labrinea)
Changes
Implements option one of the proposal
https://github.com/ARM-software/acle/issues/403
---
Patch is 24.34 KiB, truncated to 20.00 KiB below, full vers
@@ -2122,8 +2122,21 @@ SVal
RegionStoreManager::getBindingForField(RegionBindingsConstRef B,
if (const std::optional &V = B.getDirectBinding(R))
return *V;
- // If the containing record was initialized, try to get its constant value.
+ // UnnamedBitField is always Und
@@ -22,3 +29,21 @@ void pointee_uninit(void) {
// checker, as described in the CallAndMessage comments!
// CHECK: issue_hash_content_of_line_in_context
// CHECK-SAME: 97a74322d64dca40aa57303842c745a1
+
+typedef struct {
+ int i :2;
+ int:30; // unnamed bit-field
+} B;
+
@@ -1,12 +1,19 @@
// RUN: %clang_analyze_cc1 %s -verify \
// RUN: -analyzer-checker=core \
// RUN: -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true \
+// RUN: -analyzer-config core.CallAndMessage:ArgInitializedness=false \
// RUN: -analyzer-output=pl
Author: Kazu Hirata
Date: 2025-06-27T08:15:06-07:00
New Revision: a460aa1071c90e849144a5ca2c11b3016e1dc2a0
URL:
https://github.com/llvm/llvm-project/commit/a460aa1071c90e849144a5ca2c11b3016e1dc2a0
DIFF:
https://github.com/llvm/llvm-project/commit/a460aa1071c90e849144a5ca2c11b3016e1dc2a0.diff
L
NagyDonat wrote:
> Let me know if you means something like this when you referred to "you can
> insert one more early return".
Yes, I thought about something like your code example.
> > If you really want to bother with performance improvements that
> > specifically target this 0.05% of the e
nikic wrote:
Skipping memsets for now. I added a PhaseOrdering test in
https://github.com/llvm/llvm-project/commit/ec150a9944b2ce447c94944043fe1b87234e971f.
I think what we're mainly missing is store sinking support in DSE.
https://github.com/llvm/llvm-project/pull/145474
_
https://github.com/ro-i created https://github.com/llvm/llvm-project/pull/146093
Implement parsing and semantic analysis support for the message and severity
clauses that have been added to the parallel directive in OpenMP 6.0, 12.1.
>From b01bdf107f80f0f023270326e4a16b1dcadd69d8 Mon Sep 17 00:
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Robert Imschweiler (ro-i)
Changes
Implement parsing and semantic analysis support for the message and severity
clauses that have been added to the parallel directive in OpenMP 6.0, 12.1.
---
Full diff: https://github.com/llvm/llvm-project
yronglin wrote:
> but why can’t we use InLifetimeExtendingContext flag here?
> Is there a subtle difference I’m missing?
This flag will tiger subroutines to collect `MaterializedTemporaryExpr` and
rebuild default init/arg。 All we need to know here is that `ExtendingDecl` is a
C++ `__range` va
NagyDonat wrote:
:thinking: I agree that it wouldn't be elegant to add
> ```
> + if (isa_and_nonnull(lhs.getAsSymbol()) ||
> + isa_and_nonnull(rhs.getAsSymbol()))
> +return UnknownVal();
> ```
because this way `SymbolOverlyComplex` would become an overcomplicated
intermediate step th
https://github.com/nikic updated
https://github.com/llvm/llvm-project/pull/144720
>From 4a70541ed734969f0db13c6fdf76c79702cc2b6e Mon Sep 17 00:00:00 2001
From: Nikita Popov
Date: Wed, 18 Jun 2025 14:48:19 +0200
Subject: [PATCH] [Clang] Verify data layout consistency
Verify that the alignments
nikic wrote:
Ping :)
https://github.com/llvm/llvm-project/pull/144720
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mgorny wrote:
No problem. I would have submitted a patch earlier but this bisect is literally
taking all my resources.
https://github.com/llvm/llvm-project/pull/145731
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-
@@ -0,0 +1,825 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
UTC_ARGS: --version 5
amilendra wrote:
Done. Moved tests to existing files
1. neon-intrinsics.c
2. neon-ldst-one.c
https://github.com/llvm/llvm-project/pull/145666
NagyDonat wrote:
I'll be on vacation during the weekend and on Monday, so feel free to merge the
fix without me if you have it.
https://github.com/llvm/llvm-project/pull/145731
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm
=?utf-8?q?Donát?= Nagy ,
=?utf-8?q?Donát?= Nagy ,
=?utf-8?q?Donát?= Nagy ,
=?utf-8?q?Donát?= Nagy
Message-ID:
In-Reply-To:
steakhal wrote:
> No problem. I would have submitted a patch earlier but this bisect is
> literally taking all my resources.
I'm pretty sure you have heard of
[manyclan
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `premerge-monolithic-linux`
running on `premerge-linux-1` while building `clang,llvm` at step 7
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/153/builds/36246
He
mgorny wrote:
> @mgorny I'm pretty sure you have heard of
> [manyclangs](https://github.com/elfshaker/manyclangs). If you bisect clang
> builds, that should come handy. Saved me many hours already - and counting.
I haven't but I doubt they'll help me — this issue seems to surface only with
ou
Author: erichkeane
Date: 2025-06-27T08:51:46-07:00
New Revision: b76bc185a4f2ba68b55adffd9b66ff6c8b22b960
URL:
https://github.com/llvm/llvm-project/commit/b76bc185a4f2ba68b55adffd9b66ff6c8b22b960
DIFF:
https://github.com/llvm/llvm-project/commit/b76bc185a4f2ba68b55adffd9b66ff6c8b22b960.diff
LO
@@ -694,7 +705,12 @@
DEFINE_LIBUNWIND_FUNCTION(__libunwind_Registers_arm64_jumpto)
gcspushm x30
Lnogcs:
#endif
+
+#if __has_feature(ptrauth_calls)
+ retab
+#else
atrosinenko wrote:
By the way, if switching to `ptrauth_returns` here, we most probably want t
@@ -681,7 +681,18 @@
DEFINE_LIBUNWIND_FUNCTION(__libunwind_Registers_arm64_jumpto)
// context struct, because it is allocated on the stack, and an exception
// could clobber the de-allocated portion of the stack after sp has been
// restored.
- ldrx16, [x0, #0x0
@@ -129,26 +129,38 @@ struct UnwindInfoSections {
defined(_LIBUNWIND_SUPPORT_COMPACT_UNWIND) ||
\
defined(_LIBUNWIND_USE_DL_ITERATE_PHDR)
// No dso_base for SEH.
- uintptr_t dso_base;
+ uintptr_t
+ __LIBUNWIND_PTRAUTH_RI_PDD(
@@ -807,7 +812,12 @@ DEFINE_LIBUNWIND_FUNCTION(__unw_getcontext)
strd31, [x0, #0x208]
#endif
movx0, #0 // return UNW_ESUCCESS
+
+#if __has_feature(ptrauth_calls)
+ retab
+#else
atrosinenko wrote:
Same comment here (`autibsp`
1 - 100 of 338 matches
Mail list logo