[clang] [Driver][HIP] Do not pass -dependency-file flag for HIP Device offloading (PR #125646)

2025-02-10 Thread LLVM Continuous Integration via cfe-commits
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/14368 Here is th

[clang] [Driver][HIP] Do not pass -dependency-file flag for HIP Device offloading (PR #125646)

2025-02-10 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-aarch64-quick` running on `linaro-clang-aarch64-quick` while building `clang` at step 5 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/65/builds/12013 Here is the relevant pie

[clang] [Driver][HIP] Do not pass -dependency-file flag for HIP Device offloading (PR #125646)

2025-02-10 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` running on `sie-win-worker` while building `clang` at step 7 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/46/builds/11838 Here is th

[clang] [Driver][HIP] Do not pass -dependency-file flag for HIP Device offloading (PR #125646)

2025-02-10 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-armv8-quick` running on `linaro-clang-armv8-quick` while building `clang` at step 5 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/154/builds/11613 Here is the relevant piece o

[clang] [lldb] [llvm] Attach pre work (PR #126484)

2025-02-10 Thread via cfe-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it

[clang] [TableGen] Avoid repeated hash lookups (NFC) (PR #126464)

2025-02-10 Thread Nikita Popov via cfe-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/126464 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [AST] Avoid repeated hash lookups (NFC) (PR #126461)

2025-02-10 Thread Nikita Popov via cfe-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/126461 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Lex] Avoid repeated hash lookups (NFC) (PR #126462)

2025-02-10 Thread Nikita Popov via cfe-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/126462 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [lldb] [llvm] Attach pre work (PR #126484)

2025-02-10 Thread Hemang Gadhavi via cfe-commits
https://github.com/HemangGadhavi converted_to_draft https://github.com/llvm/llvm-project/pull/126484 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [llvm:ir] Add support for constant data exceeding 4GiB (PR #126481)

2025-02-10 Thread via cfe-commits
https://github.com/pzzp updated https://github.com/llvm/llvm-project/pull/126481 >From 8e18416e111d2acd813efdabf5dd1ad3e34435f6 Mon Sep 17 00:00:00 2001 From: zhoupeng12 Date: Mon, 30 Oct 2023 18:13:07 +0800 Subject: [PATCH] [llvm:ir] Add support for constant data exceeding 4GiB --- clang/lib/

[clang] d9cdf27 - [Driver][HIP] Do not pass -dependency-file flag for HIP Device offloading (#125646)

2025-02-10 Thread via cfe-commits
Author: Aniket Lal Date: 2025-02-10T13:57:52+05:30 New Revision: d9cdf27834de94a7c6f5b66b28c0e6667fec5418 URL: https://github.com/llvm/llvm-project/commit/d9cdf27834de94a7c6f5b66b28c0e6667fec5418 DIFF: https://github.com/llvm/llvm-project/commit/d9cdf27834de94a7c6f5b66b28c0e6667fec5418.diff LO

[clang] [Driver][HIP] Do not pass -dependency-file flag for HIP Device offloading (PR #125646)

2025-02-10 Thread via cfe-commits
github-actions[bot] wrote: @lalaniket8 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

[clang] [Driver][HIP] Do not pass -dependency-file flag for HIP Device offloading (PR #125646)

2025-02-10 Thread Aniket Lal via cfe-commits
https://github.com/lalaniket8 closed https://github.com/llvm/llvm-project/pull/125646 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver][HIP] Do not pass -dependency-file flag for HIP Device offloading (PR #125646)

2025-02-10 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `clang` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/17735

[clang] [Clang][Driver][HIP] Do not specify explicit target cpu in host compilation run line (PR #126488)

2025-02-10 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Aniket Lal (lalaniket8) Changes This PR fixes the post merge check fails from PR https://github.com/llvm/llvm-project/pull/125646 --- Full diff: https://github.com/llvm/llvm-project/pull/126488.diff 1 Files Affected: - (modified

[clang] [TBAA] Refine pointer-tbaa for void pointers by pointer depth (PR #126047)

2025-02-10 Thread Bruno De Fraine via cfe-commits
@@ -256,7 +277,7 @@ llvm::MDNode *CodeGenTBAA::getTypeInfoHelper(const Type *Ty) { // similar-types rule. const auto *RT = Ty->getAs(); if (!RT) -return AnyPtr; +return getAnyPtr(); brunodf-snps wrote: Yes, I agree this shoul

[clang] [Clang][Driver][HIP] Do not specify explicit target cpu in host compilation run line (PR #126488)

2025-02-10 Thread Aniket Lal via cfe-commits
https://github.com/lalaniket8 created https://github.com/llvm/llvm-project/pull/126488 This PR fixes the post merge check fails from PR https://github.com/llvm/llvm-project/pull/125646 >From 37565e60b3325324c9396ce236cb005a958f157e Mon Sep 17 00:00:00 2001 From: anikelal Date: Mon, 10 Feb 202

[clang] [llvm] [CaptureTracking][FunctionAttrs] Add support for CaptureInfo (PR #125880)

2025-02-10 Thread Nikita Popov via cfe-commits
https://github.com/nikic edited https://github.com/llvm/llvm-project/pull/125880 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [TBAA] Refine pointer-tbaa for void pointers by pointer depth (PR #126047)

2025-02-10 Thread Bruno De Fraine via cfe-commits
https://github.com/brunodf-snps updated https://github.com/llvm/llvm-project/pull/126047 >From f516639a2bfe5cad76ac82684877f46ac6260077 Mon Sep 17 00:00:00 2001 From: Bruno De Fraine Date: Thu, 6 Feb 2025 11:50:44 +0100 Subject: [PATCH 1/3] [TBAA] Refine pointer-tbaa for void pointers by pointe

[clang] [Clang][Driver][HIP] Do not specify explicit target cpu in host compilation run line (PR #126488)

2025-02-10 Thread Vikram Hegde via cfe-commits
https://github.com/vikramRH approved this pull request. https://github.com/llvm/llvm-project/pull/126488 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [llvm:ir] Add support for constant data exceeding 4GiB (PR #126481)

2025-02-10 Thread via cfe-commits
https://github.com/pzzp created https://github.com/llvm/llvm-project/pull/126481 The test file is over 4GiB, which is too big, so I didn’t submit it. 😄 >From 0395fd9680a348c6afc52a165453222c02a3cd48 Mon Sep 17 00:00:00 2001 From: zhoupeng12 Date: Mon, 30 Oct 2023 18:13:07 +0800 Subject: [PATCH]

[clang] [llvm] [llvm:ir] Add support for constant data exceeding 4GiB (PR #126481)

2025-02-10 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen @llvm/pr-subscribers-clang Author: None (pzzp) Changes The test file is over 4GiB, which is too big, so I didn’t submit it. 😄 --- Full diff: https://github.com/llvm/llvm-project/pull/126481.diff 5 Files Affected: - (modified) clang/lib/

[clang] [llvm] [llvm:ir] Add support for constant data exceeding 4GiB (PR #126481)

2025-02-10 Thread via cfe-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it

[clang] [LinkerWrapper] Clean up options after proper forwarding (PR #126297)

2025-02-10 Thread Jan Patrick Lehr via cfe-commits
jplehr wrote: This broke our flang-enabled buildbot https://lab.llvm.org/staging/#/builders/105/builds/15554 Looking at it currently https://github.com/llvm/llvm-project/pull/126297 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists

[clang] [lldb] [llvm] Attach pre work (PR #126484)

2025-02-10 Thread Hemang Gadhavi via cfe-commits
https://github.com/HemangGadhavi closed https://github.com/llvm/llvm-project/pull/126484 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver][HIP] Do not pass -dependency-file flag for HIP Device offloading test (PR #126471)

2025-02-10 Thread Aniket Lal via cfe-commits
https://github.com/lalaniket8 closed https://github.com/llvm/llvm-project/pull/126471 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][Sema] Add diagnostic note for reference of function-like macros requiring without parentheses (PR #123495)

2025-02-10 Thread via cfe-commits
Sirraide wrote: > Merging main into your branch tends to do that. I’m not sure if this is the case, but my theory is that it’s specifically creating a new commit on merge that does that. After resolving conflicts, you have to run `git merge --continue` instead of committing manually. I always

[clang] [clang][Sema] Add diagnostic note for reference of function-like macros requiring without parentheses (PR #123495)

2025-02-10 Thread via cfe-commits
Sirraide wrote: > Also, i see the typo correction is unpredictable as I addressed above, is > that a expected behaviour? Hmm, I don’t know too much about typo correction so I’m probably not the best person to look into that. https://github.com/llvm/llvm-project/pull/123495 ___

[clang] [FreeBSD] Support -stdlib=libstdc++ (PR #126302)

2025-02-10 Thread Brad Smith via cfe-commits
brad0 wrote: It's not missing as in like someone forgot. It is intentional. Same goes for FreeBSD and OpenBSD's Drivers. The base OS uses libc++ and anything else is not supported. https://github.com/llvm/llvm-project/pull/126302 ___ cfe-commits mail

[clang] [clang][docs] Fix example in likely/unlikely attr documentation (PR #126372)

2025-02-10 Thread via cfe-commits
https://github.com/Sirraide commented: Hmm, I think what this section is trying to demonstrate is that ‘*According to the standard*, this is in the path of execution and therefore *supposed* to be considered unlikely, but we don’t do that’, so maybe it’d be better to reword/expand the comment

[clang-tools-extra] [clang-tidy] add new check: modernize-use-scoped-lock (PR #126434)

2025-02-10 Thread Baranov Victor via cfe-commits
https://github.com/vbvictor updated https://github.com/llvm/llvm-project/pull/126434 >From 92588a7eb3f87e74887e94f88d3402ec25c6ee53 Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Sun, 9 Feb 2025 22:34:26 +0300 Subject: [PATCH 1/2] [clang-tidy] add modernize-use-scoped-lock check --- .../

[clang] [flang] [lld] [Flang] Rename libFortranRuntime.a to libflang_rt.runtime.a (PR #122341)

2025-02-10 Thread David Truby via cfe-commits
DavidTruby wrote: At a quick glance it looks like we're still trying to link FortranDecimal somewhere so this might be #121997 instead.. https://github.com/llvm/llvm-project/pull/122341 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://l

[clang] [flang] [lld] [Flang] Rename libFortranRuntime.a to libflang_rt.runtime.a (PR #122341)

2025-02-10 Thread David Truby via cfe-commits
DavidTruby wrote: Sorry, I managed to have a better look at our CI and this seems to be a downstream build system issue. I assumed because the upstream CI was also broken that it was an issue in both but that seems to be unrelated. No need to revert, sorry for the noise! https://github.com/ll

[clang] [compiler-rt] [rtsan] Enable RealtimeSanitizer for FreeBSD (PR #125389)

2025-02-10 Thread via cfe-commits
@@ -864,11 +864,18 @@ INTERCEPTOR(void *, pvalloc, size_t size) { #define RTSAN_MAYBE_INTERCEPT_PVALLOC #endif +#if !SANITIZER_FREEBSD +// enabling this interception on freebsd leads to infinite recursion +// on pthread lib initialization davidtrevelyan wrote:

[clang] [analyzer] Remove some false negatives in StackAddrEscapeChecker (PR #125638)

2025-02-10 Thread Gábor Horváth via cfe-commits
@@ -247,45 +240,134 @@ void StackAddrEscapeChecker::checkPreCall(const CallEvent &Call, } } -void StackAddrEscapeChecker::checkPreStmt(const ReturnStmt *RS, - CheckerContext &C) const { - if (!ChecksEnabled[CK_StackAddrEscapeChecker

[clang] [compiler-rt] [rtsan] Enable RealtimeSanitizer for FreeBSD (PR #125389)

2025-02-10 Thread David CARLIER via cfe-commits
@@ -864,11 +864,18 @@ INTERCEPTOR(void *, pvalloc, size_t size) { #define RTSAN_MAYBE_INTERCEPT_PVALLOC #endif +#if !SANITIZER_FREEBSD +// enabling this interception on freebsd leads to infinite recursion +// on pthread lib initialization devnexen wrote: oh y

[clang] [libc] [libcxx] [lldb] [llvm] [doc] Add Discord invite link alongside channel links (PR #126352)

2025-02-10 Thread David Spickett via cfe-commits
https://github.com/DavidSpickett approved this pull request. https://github.com/llvm/llvm-project/pull/126352 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libclc] 4dec390 - [libclc] Have all targets build all CLC functions (#124779)

2025-02-10 Thread via cfe-commits
Author: Fraser Cormack Date: 2025-02-10T10:19:22Z New Revision: 4dec3909e93c23ef1545c934f9715f9be2d7c49b URL: https://github.com/llvm/llvm-project/commit/4dec3909e93c23ef1545c934f9715f9be2d7c49b DIFF: https://github.com/llvm/llvm-project/commit/4dec3909e93c23ef1545c934f9715f9be2d7c49b.diff LOG

[libclc] [libclc] Have all targets build all CLC functions (PR #124779)

2025-02-10 Thread Fraser Cormack via cfe-commits
https://github.com/frasercrmck closed https://github.com/llvm/llvm-project/pull/124779 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] cab893a - [Clang][Driver][HIP] Do not specify explicit target cpu in host compilation run line (#126488)

2025-02-10 Thread via cfe-commits
Author: Aniket Lal Date: 2025-02-10T10:24:13Z New Revision: cab893ab8ebdcf63cfc63666009122d9c0e31bdf URL: https://github.com/llvm/llvm-project/commit/cab893ab8ebdcf63cfc63666009122d9c0e31bdf DIFF: https://github.com/llvm/llvm-project/commit/cab893ab8ebdcf63cfc63666009122d9c0e31bdf.diff LOG: [C

[clang] [Clang][Driver][HIP] Do not specify explicit target cpu in host compilation run line (PR #126488)

2025-02-10 Thread David Spickett via cfe-commits
https://github.com/DavidSpickett closed https://github.com/llvm/llvm-project/pull/126488 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [BoundsSafety][doc] Fix a typo (PR #126247)

2025-02-10 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-aarch64-sve-vla-2stage` running on `linaro-g3-01` while building `clang` at step 12 "ninja check 2". Full details are available at: https://lab.llvm.org/buildbot/#/builders/41/builds/4907 Here is the relevant piece of

[clang] [clang][bytecode] Support partial initializers for CXXNewExprs (PR #126494)

2025-02-10 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes For `new A[N]{1,2,3}`, we need to allocate N elements of type A, and initialize the first three with the given InitListExpr elements. However, if N is larger than 3, we need to initialize the remaining eleme

[clang] [clang][bytecode] Support partial initializers for CXXNewExprs (PR #126494)

2025-02-10 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/126494 For `new A[N]{1,2,3}`, we need to allocate N elements of type A, and initialize the first three with the given InitListExpr elements. However, if N is larger than 3, we need to initialize the remaining element

[clang] [llvm] [mlir] [clang][lldb][mlir] Fix some identical sub-expressions warnings (NFC) (PR #95715)

2025-02-10 Thread Shivam Gupta via cfe-commits
xgupta wrote: Probably need a fresh start. https://github.com/llvm/llvm-project/pull/95715 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [mlir] [clang][lldb][mlir] Fix some identical sub-expressions warnings (NFC) (PR #95715)

2025-02-10 Thread Shivam Gupta via cfe-commits
https://github.com/xgupta closed https://github.com/llvm/llvm-project/pull/95715 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "[LinkerWrapper] Clean up options after proper forwarding" (PR #126495)

2025-02-10 Thread Jan Patrick Lehr via cfe-commits
https://github.com/jplehr created https://github.com/llvm/llvm-project/pull/126495 Reverts llvm/llvm-project#126297 Broken buildbots https://lab.llvm.org/staging/#/builders/105/builds/15554 https://lab.llvm.org/buildbot/#/builders/30/builds/15490 Error is ``` # .---command stderr #

[clang] Revert "[LinkerWrapper] Clean up options after proper forwarding" (PR #126495)

2025-02-10 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Jan Patrick Lehr (jplehr) Changes Reverts llvm/llvm-project#126297 Broken buildbots https://lab.llvm.org/staging/#/builders/105/builds/15554 https://lab.llvm.org/buildbot/#/builders/30/builds/15490 Error is ``` # .---command stderr---

[clang] [clang][Sema] Handle pointer and reference type more robustly in HeuristicResolver::resolveMemberExpr() (PR #124451)

2025-02-10 Thread kadir çetinkaya via cfe-commits
kadircet wrote: FWIW, i bisected a performance regression (and possibly an infinite loop) in clangd to this PR. trying to get a reproducer now. https://github.com/llvm/llvm-project/pull/124451 ___ cfe-commits mailing list cfe-commits@lists.llvm.org ht

[clang] [Hexagon][Docs] document the change in the default target (PR #125584)

2025-02-10 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building `clang` at step 7 "Add check check-offload". Full details are available at: https://lab.llvm.org/buildbot/#/builders/73/builds/12953 Here is the r

[clang] [Clang][Driver][HIP] Do not specify explicit target cpu in host compilation run line (PR #126488)

2025-02-10 Thread David Spickett via cfe-commits
https://github.com/DavidSpickett approved this pull request. Just looking at this on Linaro's bots, thanks for the fix! https://github.com/llvm/llvm-project/pull/126488 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-

[clang] Revert "[LinkerWrapper] Clean up options after proper forwarding" (PR #126495)

2025-02-10 Thread Saiyedul Islam via cfe-commits
https://github.com/saiislam approved this pull request. https://github.com/llvm/llvm-project/pull/126495 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 6fd99de - Revert "[LinkerWrapper] Clean up options after proper forwarding" (#126495)

2025-02-10 Thread via cfe-commits
Author: Jan Patrick Lehr Date: 2025-02-10T10:58:56+01:00 New Revision: 6fd99de31864a5ef84ae8613b3a9034e05293461 URL: https://github.com/llvm/llvm-project/commit/6fd99de31864a5ef84ae8613b3a9034e05293461 DIFF: https://github.com/llvm/llvm-project/commit/6fd99de31864a5ef84ae8613b3a9034e05293461.di

[clang] Revert "[LinkerWrapper] Clean up options after proper forwarding" (PR #126495)

2025-02-10 Thread Jan Patrick Lehr via cfe-commits
https://github.com/jplehr closed https://github.com/llvm/llvm-project/pull/126495 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libc] [libcxx] [lldb] [llvm] [doc] Add Discord invite link alongside channel links (PR #126352)

2025-02-10 Thread David Spickett via cfe-commits
DavidSpickett wrote: I also looked at this but got into a rabbit hole finding out whether you could have channel specific invites. I think you can, but I don't think it actually helps us. As the other problem we have had is invites expiring, so the fewer unique invite links the better. https:

[clang] [flang] [lld] [Flang] Rename libFortranRuntime.a to libflang_rt.runtime.a (PR #122341)

2025-02-10 Thread David Truby via cfe-commits
DavidTruby wrote: This has broken Windows builds but I'm not fully sure why and I can't investigate as I'm on holiday. Can we revert until we can work out why Windows builds are broken? https://github.com/llvm/llvm-project/pull/122341 ___ cfe-commits

[clang] [analyzer] Remove some false negatives in StackAddrEscapeChecker (PR #125638)

2025-02-10 Thread Gábor Horváth via cfe-commits
https://github.com/Xazax-hun edited https://github.com/llvm/llvm-project/pull/125638 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [analyzer] Remove some false negatives in StackAddrEscapeChecker (PR #125638)

2025-02-10 Thread Gábor Horváth via cfe-commits
https://github.com/Xazax-hun approved this pull request. Thanks a lot for the change and persisting. Sorry for the stupid questions :) Looks good to me. https://github.com/llvm/llvm-project/pull/125638 ___ cfe-commits mailing list cfe-commits@lists.l

[clang] [analyzer] Remove some false negatives in StackAddrEscapeChecker (PR #125638)

2025-02-10 Thread Gábor Horváth via cfe-commits
@@ -247,45 +240,128 @@ void StackAddrEscapeChecker::checkPreCall(const CallEvent &Call, } } -void StackAddrEscapeChecker::checkPreStmt(const ReturnStmt *RS, - CheckerContext &C) const { - if (!ChecksEnabled[CK_StackAddrEscapeChecker

[clang] [llvm] [Clang] [OpenMP] Add support for '#pragma omp stripe'. (PR #119891)

2025-02-10 Thread Zahira Ammarguellat via cfe-commits
zahiraam wrote: @alexey-bataev I haven't gotten any response from @Meinersbur , can I merge this in? Thanks. https://github.com/llvm/llvm-project/pull/119891 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailma

[clang] [llvm] Generate `DW_AT_RUST_short_backtrace` attributes for `DISubprogram` nodes (PR #123683)

2025-02-10 Thread via cfe-commits
jyn514 wrote: The conversation there seems stalled. What can I do to move this forward? https://github.com/llvm/llvm-project/pull/123683 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] [flang] Add -f[no-]vectorize flags (PR #119718)

2025-02-10 Thread via cfe-commits
jeanPerier wrote: > A rebase to main head and force push helped in another instance of > "Processing updates" I had that twice on my PRs last week. The "Processing updates" was still stuck after a day. A rebase and force push also "solved" the issue. I do not recall facing that before, maybe

[clang] [Driver][HIP] Do not pass -dependency-file flag for HIP Device offloading (PR #125646)

2025-02-10 Thread Rainer Orth via cfe-commits
rorth wrote: This patch still breaks the [Solaris/sparcv9 buildbot](https://lab.llvm.org/buildbot/#/builders/13/builds/5233). https://github.com/llvm/llvm-project/pull/125646 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm

[clang] [llvm] [analyzer][NFC] Remove "V2" from ArrayBoundCheckerV2.cpp (PR #126094)

2025-02-10 Thread LLVM Continuous Integration via cfe-commits
=?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy Message-ID: In-Reply-To: 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 a

[clang] 199c791 - [clang][bytecode] Support partial initializers for CXXNewExprs (#126494)

2025-02-10 Thread via cfe-commits
Author: Timm Baeder Date: 2025-02-10T14:28:40+01:00 New Revision: 199c791a1dbf417fdb08fbbb054d51ed398f285a URL: https://github.com/llvm/llvm-project/commit/199c791a1dbf417fdb08fbbb054d51ed398f285a DIFF: https://github.com/llvm/llvm-project/commit/199c791a1dbf417fdb08fbbb054d51ed398f285a.diff L

[clang] [clang][bytecode] Support partial initializers for CXXNewExprs (PR #126494)

2025-02-10 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr closed https://github.com/llvm/llvm-project/pull/126494 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver][ROCm][OpenMP] Fix default ockl linking for OpenMP. (PR #126186)

2025-02-10 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 approved this pull request. https://github.com/llvm/llvm-project/pull/126186 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][bytecode][NFC] Discard all CastExprs uniformly (PR #126511)

2025-02-10 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr closed https://github.com/llvm/llvm-project/pull/126511 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [analyzer][docs] Document how to use perf and uftrace to debug performance issues (PR #126520)

2025-02-10 Thread Balazs Benics via cfe-commits
steakhal wrote: @necto https://github.com/llvm/llvm-project/pull/126520 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy][clangd] Fixed removeFunctionArgs don't remove comma for use-ranges check (PR #118568)

2025-02-10 Thread Richard Li via cfe-commits
chomosuke wrote: Ping~~~ https://github.com/llvm/llvm-project/pull/118568 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy][clangd] Fixed removeFunctionArgs don't remove comma for use-ranges check (PR #118568)

2025-02-10 Thread Richard Li via cfe-commits
https://github.com/chomosuke updated https://github.com/llvm/llvm-project/pull/118568 >From b43a2602025bdacea06ced5171904fb5d765de9f Mon Sep 17 00:00:00 2001 From: chomosuke Date: Tue, 3 Dec 2024 07:10:33 + Subject: [PATCH 1/5] fixed removeFunctionArgs don't remove comma --- .../clang-tid

[clang] [clang] CTAD alias: Respect explicit deduction guides defined after the first use of the alias template. (PR #125478)

2025-02-10 Thread Haojian Wu via cfe-commits
https://github.com/hokein closed https://github.com/llvm/llvm-project/pull/125478 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [llvm][fatlto] Add FatLTOCleanup pass (PR #125911)

2025-02-10 Thread Nikita Popov via cfe-commits
@@ -0,0 +1,156 @@ +//===- FatLtoCleanup.cpp - clean up IR for the FatLTO pipeline --*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[clang] [llvm] [llvm][fatlto] Add FatLTOCleanup pass (PR #125911)

2025-02-10 Thread Nikita Popov via cfe-commits
https://github.com/nikic commented: Looks reasonable to me. https://github.com/llvm/llvm-project/pull/125911 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [llvm][fatlto] Add FatLTOCleanup pass (PR #125911)

2025-02-10 Thread Nikita Popov via cfe-commits
@@ -0,0 +1,156 @@ +//===- FatLtoCleanup.cpp - clean up IR for the FatLTO pipeline --*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[clang] [llvm] [llvm][fatlto] Add FatLTOCleanup pass (PR #125911)

2025-02-10 Thread Nikita Popov via cfe-commits
@@ -0,0 +1,46 @@ + +; RUN: opt -passes="fatlto-cleanup" -mtriple=x86_64-unknown-fuchsia < %s -S | FileCheck %s nikic wrote: Use UTC please. Also, is the triple here really needed? https://github.com/llvm/llvm-project/pull/125911

[clang] [llvm] [llvm][fatlto] Add FatLTOCleanup pass (PR #125911)

2025-02-10 Thread Nikita Popov via cfe-commits
@@ -0,0 +1,35 @@ +//===- FatLtoCleanup.h - clean up IR for the FatLTO pipeline *- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[clang] [llvm] [llvm][fatlto] Add FatLTOCleanup pass (PR #125911)

2025-02-10 Thread Nikita Popov via cfe-commits
@@ -1,21 +1,24 @@ // REQUIRES: x86-registered-target +// RUN: rm -rf %t && split-file %s %t // RUN: %clang_cc1 -triple x86_64-unknown-fuchsia -O2 -flto -ffat-lto-objects \ -// RUN: -fsanitize=cfi-icall -fsanitize-trap=cfi-icall -fvisibility=hidden -emit-llvm -o - %s

[clang] [llvm] [llvm][fatlto] Add FatLTOCleanup pass (PR #125911)

2025-02-10 Thread Nikita Popov via cfe-commits
@@ -0,0 +1,35 @@ +//===- FatLtoCleanup.h - clean up IR for the FatLTO pipeline *- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[clang] [llvm] [llvm][fatlto] Add FatLTOCleanup pass (PR #125911)

2025-02-10 Thread Nikita Popov via cfe-commits
@@ -0,0 +1,156 @@ +//===- FatLtoCleanup.cpp - clean up IR for the FatLTO pipeline --*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[clang] [llvm] [llvm][fatlto] Add FatLTOCleanup pass (PR #125911)

2025-02-10 Thread Nikita Popov via cfe-commits
https://github.com/nikic edited https://github.com/llvm/llvm-project/pull/125911 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [llvm][fatlto] Add FatLTOCleanup pass (PR #125911)

2025-02-10 Thread Nikita Popov via cfe-commits
@@ -0,0 +1,156 @@ +//===- FatLtoCleanup.cpp - clean up IR for the FatLTO pipeline --*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[clang] [llvm] [llvm][fatlto] Add FatLTOCleanup pass (PR #125911)

2025-02-10 Thread Nikita Popov via cfe-commits
@@ -0,0 +1,156 @@ +//===- FatLtoCleanup.cpp - clean up IR for the FatLTO pipeline --*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[clang] [clang] Handle f(no-)strict-overflow, f(no-)wrapv, f(no-)wrapv-pointe… (PR #126524)

2025-02-10 Thread Nico Weber via cfe-commits
https://github.com/nico created https://github.com/llvm/llvm-project/pull/126524 …r like gcc We now process all 6 options left-to-right and pick whatever is active at the end. Fixes #124868. >From 5050dbd75fc7446985f4bebe5c7c0ab13e3ccbbb Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Mon, 1

[clang] [analyzer][docs] Document how to use perf and uftrace to debug performance issues (PR #126520)

2025-02-10 Thread Gábor Horváth via cfe-commits
https://github.com/Xazax-hun approved this pull request. Looks wonderful! Added some nits inline. https://github.com/llvm/llvm-project/pull/126520 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/c

[clang] [analyzer][docs] Document how to use perf and uftrace to debug performance issues (PR #126520)

2025-02-10 Thread Arseniy Zaostrovnykh via cfe-commits
@@ -45,3 +48,91 @@ Note: Both Chrome-tracing and speedscope tools might struggle with time traces a Luckily, in most cases the default max-steps boundary of 225 000 produces the traces of approximately that size for a single entry point. You can use ``-analyze-function=get_gl

[clang] [clang] Handle f(no-)strict-overflow, f(no-)wrapv, f(no-)wrapv-pointer like gcc (PR #126524)

2025-02-10 Thread Nikita Popov via cfe-commits
https://github.com/nikic approved this pull request. LGTM, thanks! https://github.com/llvm/llvm-project/pull/126524 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] disallow attributes on void parameters (PR #124920)

2025-02-10 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk deleted https://github.com/llvm/llvm-project/pull/124920 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [analyzer][docs] Document how to use perf and uftrace to debug performance issues (PR #126520)

2025-02-10 Thread Donát Nagy via cfe-commits
@@ -45,3 +48,91 @@ Note: Both Chrome-tracing and speedscope tools might struggle with time traces a Luckily, in most cases the default max-steps boundary of 225 000 produces the traces of approximately that size for a single entry point. You can use ``-analyze-function=get_gl

[clang] [clang] CTAD: Remove an incorrect assertion in BuildDeductionGuideForTypeAlias (PR #126532)

2025-02-10 Thread Haojian Wu via cfe-commits
https://github.com/hokein created https://github.com/llvm/llvm-project/pull/126532 Fixes #125821 The assertion was too strict, as Clang can reach this code path when recursively generating deduction guides for alias templates. See the detailed explanation [here](https://github.com/llvm/llvm-

[clang] [analyzer][docs] Document how to use perf and uftrace to debug performance issues (PR #126520)

2025-02-10 Thread Arseniy Zaostrovnykh via cfe-commits
@@ -45,3 +48,91 @@ Note: Both Chrome-tracing and speedscope tools might struggle with time traces a Luckily, in most cases the default max-steps boundary of 225 000 produces the traces of approximately that size for a single entry point. You can use ``-analyze-function=get_gl

[clang] [llvm] [OpenMP][OpenMPIRBuilder] Add initial changes for SPIR-V target frontend support (PR #125920)

2025-02-10 Thread Nick Sarnie via cfe-commits
sarnex wrote: @jhuber6 Ping on this one when you have time, thx :) https://github.com/llvm/llvm-project/pull/125920 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [analyzer][docs] Document how to use perf and uftrace to debug performance issues (PR #126520)

2025-02-10 Thread Arseniy Zaostrovnykh via cfe-commits
@@ -45,3 +48,91 @@ Note: Both Chrome-tracing and speedscope tools might struggle with time traces a Luckily, in most cases the default max-steps boundary of 225 000 produces the traces of approximately that size for a single entry point. You can use ``-analyze-function=get_gl

[clang] [flang] [lld] [llvm] [Flang][NFC] Move runtime library files to flang-rt. (PR #110298)

2025-02-10 Thread Michael Kruse via cfe-commits
Meinersbur wrote: @clementval You agreed to a new folder structure in https://discourse.llvm.org/t/rfc-names-for-flang-rt-libraries/84321/4. Could you please review this PR again? The "Check code formatting" stage does not pass by design. For moved/renamed files it requires a complete reforma

[clang-tools-extra] [clang-tidy] Add modernize-nlohmann-json-explicit-conversions check (PR #126425)

2025-02-10 Thread via cfe-commits
@@ -0,0 +1,72 @@ +//===--- NlohmannJsonExplicitConversionsCheck.cpp - clang-tidy ===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[clang] Fix false negative when value initializing a field annotated with [[clang::require_field_initialization]] (PR #124329)

2025-02-10 Thread Alexander Kornienko via cfe-commits
alexfh wrote: It looks like this commit introduces an undesired false-positive: https://gcc.godbolt.org/z/rEjzK63he ``` struct P { int a [[clang::require_explicit_initialization]]; }; struct S { P p; S(P p) : p(p) {} }; ``` ``` :7:12: warning: field in 'P' requires explicit initializati

[clang] [Lex] Avoid repeated hash lookups (NFC) (PR #126462)

2025-02-10 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/126462 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 280d2a3 - [AST] Avoid repeated hash lookups (NFC) (#126461)

2025-02-10 Thread via cfe-commits
Author: Kazu Hirata Date: 2025-02-10T07:48:57-08:00 New Revision: 280d2a3035ad362cb9dab9f59aa9bdbb88723e9e URL: https://github.com/llvm/llvm-project/commit/280d2a3035ad362cb9dab9f59aa9bdbb88723e9e DIFF: https://github.com/llvm/llvm-project/commit/280d2a3035ad362cb9dab9f59aa9bdbb88723e9e.diff L

[clang] eaedfc0 - [Lex] Avoid repeated hash lookups (NFC) (#126462)

2025-02-10 Thread via cfe-commits
Author: Kazu Hirata Date: 2025-02-10T07:49:17-08:00 New Revision: eaedfc0e5299d43dda28346eb2a5b068a8bee58d URL: https://github.com/llvm/llvm-project/commit/eaedfc0e5299d43dda28346eb2a5b068a8bee58d DIFF: https://github.com/llvm/llvm-project/commit/eaedfc0e5299d43dda28346eb2a5b068a8bee58d.diff L

[clang] ba9810e - [TableGen] Avoid repeated hash lookups (NFC) (#126464)

2025-02-10 Thread via cfe-commits
Author: Kazu Hirata Date: 2025-02-10T07:49:42-08:00 New Revision: ba9810e803744974157e85a80854e163818db608 URL: https://github.com/llvm/llvm-project/commit/ba9810e803744974157e85a80854e163818db608 DIFF: https://github.com/llvm/llvm-project/commit/ba9810e803744974157e85a80854e163818db608.diff L

  1   2   3   4   5   6   >