[compiler-rt] [clang] [libc] [clang-tools-extra] [flang] [llvm] [libcxx] [AMDGPU] - Add constant folding to s_wqm intrinsic (PR #72382)

2023-11-20 Thread Jessica Del via cfe-commits
https://github.com/OutOfCache updated https://github.com/llvm/llvm-project/pull/72382 >From 1864216324ccc83dd0e77287f00c62e51b07822c Mon Sep 17 00:00:00 2001 From: Jessica Del Date: Wed, 15 Nov 2023 12:58:24 +0100 Subject: [PATCH 1/5] [AMDGPU] - Add constant folding to s_wqm intrinsic Fold

[clang] [C++20] [Modules] Introduce a tool 'clang-named-modules-querier' and two plugins 'ClangGetUsedFilesFromModulesPlugin' and 'ClangGetDeclsInModulesPlugin' (PR #72956)

2023-11-20 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 updated https://github.com/llvm/llvm-project/pull/72956 >From 05453bc0da214ad69ab94d901c997c61fae86ab6 Mon Sep 17 00:00:00 2001 From: Chuanqi Xu Date: Fri, 17 Nov 2023 14:57:02 +0800 Subject: [PATCH 1/2] [C++20] [Modules] Introduce a tool

[clang] [C++20] [Modules] Introduce a tool 'clang-named-modules-querier' and two plugins 'ClangGetUsedFilesFromModulesPlugin' and 'ClangGetDeclsInModulesPlugin' (PR #72956)

2023-11-20 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 edited https://github.com/llvm/llvm-project/pull/72956 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [C++20] [Modules] Introduce a tool 'clang-named-modules-querier' and two plugins 'ClangGetUsedFilesFromModulesPlugin' and 'ClangGetDeclsInModulesPlugin' (PR #72956)

2023-11-20 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 updated https://github.com/llvm/llvm-project/pull/72956 >From 05453bc0da214ad69ab94d901c997c61fae86ab6 Mon Sep 17 00:00:00 2001 From: Chuanqi Xu Date: Fri, 17 Nov 2023 14:57:02 +0800 Subject: [PATCH 1/2] [C++20] [Modules] Introduce a tool

[clang] [llvm] [AMDGPU] Improve selection of ballot.i64 intrinsic in wave32 mode. (PR #71556)

2023-11-20 Thread Valery Pykhtin via cfe-commits
vpykhtin wrote: Removed unrelated changes. https://github.com/llvm/llvm-project/pull/71556 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [AMDGPU] Improve selection of ballot.i64 intrinsic in wave32 mode. (PR #71556)

2023-11-20 Thread Valery Pykhtin via cfe-commits
https://github.com/vpykhtin updated https://github.com/llvm/llvm-project/pull/71556 >From f4ff530d27334a8ba8c986d321efd4ab751b6476 Mon Sep 17 00:00:00 2001 From: Valery Pykhtin Date: Mon, 20 Nov 2023 15:22:16 +0100 Subject: [PATCH 1/2] run opt instcombine pass in the test ---

[mlir] [libc] [llvm] [openmp] [lldb] [libcxx] [clang] [lld] [flang] [clang-tools-extra] [compiler-rt] [mlir][async] Avoid crash when not using `func.func` (PR #72801)

2023-11-20 Thread Rik Huijzer via cfe-commits
https://github.com/rikhuijzer closed https://github.com/llvm/llvm-project/pull/72801 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Make ELF -nopie specific to OpenBSD (PR #72578)

2023-11-20 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay closed https://github.com/llvm/llvm-project/pull/72578 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Make ELF -nopie specific to OpenBSD (PR #72578)

2023-11-20 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay edited https://github.com/llvm/llvm-project/pull/72578 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] cac82e2 - [Driver] Make ELF -nopie specific to OpenBSD (#72578)

2023-11-20 Thread via cfe-commits
Author: Fangrui Song Date: 2023-11-20T23:15:17-08:00 New Revision: cac82e26c642d55672b1de6f3d026826c89994ec URL: https://github.com/llvm/llvm-project/commit/cac82e26c642d55672b1de6f3d026826c89994ec DIFF: https://github.com/llvm/llvm-project/commit/cac82e26c642d55672b1de6f3d026826c89994ec.diff

[clang] [Driver] Make ELF -nopie specific to OpenBSD (PR #72578)

2023-11-20 Thread Fangrui Song via cfe-commits
MaskRay wrote: Rebase to resolve a merge conflict. No change to the diff otherwise. https://github.com/llvm/llvm-project/pull/72578 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Make ELF -nopie specific to OpenBSD (PR #72578)

2023-11-20 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay updated https://github.com/llvm/llvm-project/pull/72578 >From 23eb2b42bfb0b7148497b9035615a14dc8b7e67c Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Thu, 16 Nov 2023 14:09:09 -0800 Subject: [PATCH] [Driver] Make ELF -nopie specific to OpenBSD -no-pie[1]/-nopie

[lld] [llvm] [mlir] [clang-tools-extra] [clang] [flang] [clangtidy] Allow safe suspensions in coroutine-hostile-raii check (PR #72954)

2023-11-20 Thread Utkarsh Saxena via cfe-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/72954 >From c863646669d0b2b54e1c1c353b063a8209730528 Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Tue, 21 Nov 2023 06:51:48 +0100 Subject: [PATCH 1/4] [clangtidy]Allow safe suspensions in coroutine-hostile-raii

[clang] [Driver, test] Remove -v from mkdir & ln -s from a test since it fails on AIX (PR #72924)

2023-11-20 Thread Fangrui Song via cfe-commits
MaskRay wrote: > Is there a page documenting these tags? There is no AFAIK, but as I have done `git log` a lot and I have figured out the convention... https://github.com/llvm/llvm-project/pull/72924 ___ cfe-commits mailing list

[clang-tools-extra] 70cfb3a - Revert "Fix tab spaces in coroutine-hostile-raii.cpp"

2023-11-20 Thread Utkarsh Saxena via cfe-commits
Author: Utkarsh Saxena Date: 2023-11-21T08:08:09+01:00 New Revision: 70cfb3a367f51d805dc5cfc5a54dfc7271a23095 URL: https://github.com/llvm/llvm-project/commit/70cfb3a367f51d805dc5cfc5a54dfc7271a23095 DIFF:

[clang] [Driver, test] Remove -v from mkdir & ln -s from a test since it fails on AIX (PR #72924)

2023-11-20 Thread Liviu Ionescu via cfe-commits
ilg-ul wrote: Is there a page documenting these tags? https://github.com/llvm/llvm-project/pull/72924 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang-tools-extra] [openmp] [libc] [compiler-rt] [clang] [lld] [flang] [libcxx] [mlir] [lldb] [mlir][async] Avoid crash when not using `func.func` (PR #72801)

2023-11-20 Thread Rik Huijzer via cfe-commits
https://github.com/rikhuijzer updated https://github.com/llvm/llvm-project/pull/72801 >From 8abbf36f741c8363155e0f3cbf2450ff7f1f0801 Mon Sep 17 00:00:00 2001 From: Rik Huijzer Date: Sun, 19 Nov 2023 18:31:38 +0100 Subject: [PATCH 1/3] [mlir][async] Avoid crash when not using `func.func` ---

[flang] [llvm] [clang] [flang][OpenMP] Add semantic check for declare target (PR #72770)

2023-11-20 Thread via cfe-commits
@@ -590,6 +590,8 @@ class ClauseProcessor { bool processSectionsReduction(mlir::Location currentLocation) const; bool processTo(llvm::SmallVectorImpl ) const; bool + processEnter(llvm::SmallVectorImpl ) const; shraiysh wrote: Thanks for the review

[flang] [llvm] [clang] [flang][OpenMP] Add semantic check for declare target (PR #72770)

2023-11-20 Thread via cfe-commits
https://github.com/shraiysh updated https://github.com/llvm/llvm-project/pull/72770 >From 41ec490391d8d299c42ee4f5a39c3cdf3e457eef Mon Sep 17 00:00:00 2001 From: Shraiysh Vaishay Date: Sat, 18 Nov 2023 20:02:30 -0600 Subject: [PATCH] [flang][OpenMP] Add semantic check for declare target This

[clang] [analyzer] Add std::variant checker (PR #66481)

2023-11-20 Thread Gábor Spaits via cfe-commits
https://github.com/spaits updated https://github.com/llvm/llvm-project/pull/66481 From 1948d226de16bda2899ca562276370d20ceba236 Mon Sep 17 00:00:00 2001 From: Gabor Spaits Date: Fri, 15 Sep 2023 10:21:30 +0200 Subject: [PATCH 1/7] [analyzer] Add std::variant checker Adding a checker that

[flang] [mlir] [clang] [llvm] [lld] [clang-tools-extra] [clangtidy] Allow safe suspensions in coroutine-hostile-raii check (PR #72954)

2023-11-20 Thread Utkarsh Saxena via cfe-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/72954 >From c863646669d0b2b54e1c1c353b063a8209730528 Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Tue, 21 Nov 2023 06:51:48 +0100 Subject: [PATCH 1/4] [clangtidy]Allow safe suspensions in coroutine-hostile-raii

[PATCH] D138846: MC/DC in LLVM Source-Based Code Coverage: LLVM back-end and compiler-rt

2023-11-20 Thread Mike Hommey via Phabricator via cfe-commits
glandium added a comment. In D138846#4656607 , @glandium wrote: > Code built with older versions of LLVM (e.g. rust) and running with the > updated runtime crash at startup with this change. FWIW, neither followups fixed this issue. The crash happens

[clang] [Driver, test] Remove -v from mkdir & ln -s from a test since it fails on AIX (PR #72924)

2023-11-20 Thread Fangrui Song via cfe-commits
MaskRay wrote: Thank you for the patch and open for my idea changing the title :) I think `[test] ` as a tag is more common a patch that only deals with tests (more common than trailing `. NFC` or `[NFC]`), so I used it. https://github.com/llvm/llvm-project/pull/72924

[clang] [Driver, test] Remove -v from mkdir & ln -s from a test since it fails on AIX (PR #72924)

2023-11-20 Thread Liviu Ionescu via cfe-commits
ilg-ul wrote: Great! Thank you! https://github.com/llvm/llvm-project/pull/72924 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver, test] Remove -v from mkdir & ln -s from a test since it fails on AIX (PR #72924)

2023-11-20 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay closed https://github.com/llvm/llvm-project/pull/72924 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] e4151cc - [Driver,test] Remove -v from mkdir & ln -s from a test since it fails on AIX (#72924)

2023-11-20 Thread via cfe-commits
Author: Liviu Ionescu Date: 2023-11-20T22:42:49-08:00 New Revision: e4151cc9d6cc977e9f49500d6a45f4eb41085130 URL: https://github.com/llvm/llvm-project/commit/e4151cc9d6cc977e9f49500d6a45f4eb41085130 DIFF: https://github.com/llvm/llvm-project/commit/e4151cc9d6cc977e9f49500d6a45f4eb41085130.diff

[clang] [Driver] Add support for -export-dynamic which can match GCC behavior. (PR #72781)

2023-11-20 Thread Fangrui Song via cfe-commits
MaskRay wrote: > > > @MaskRay the reason for adding this option is that gcc supports it. > > > please refer to [godbolt.org/z/54sE6zTa1](https://godbolt.org/z/54sE6zTa1) > > > > > > This doesn't answer my question. GCC has a lot of options that Clang > > doesn't support. An option supported

[llvm] [clang-tools-extra] [mlir] [clang] [flang] [lld] [clangtidy] Allow safe suspensions in coroutine-hostile-raii check (PR #72954)

2023-11-20 Thread Utkarsh Saxena via cfe-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/72954 >From c863646669d0b2b54e1c1c353b063a8209730528 Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Tue, 21 Nov 2023 06:51:48 +0100 Subject: [PATCH 1/3] [clangtidy]Allow safe suspensions in coroutine-hostile-raii

[clang] [Driver, test] Remove -v from mkdir & ln -s from a test since it fails on AIX (PR #72924)

2023-11-20 Thread Liviu Ionescu via cfe-commits
ilg-ul wrote: Thank you @MaskRay for correcting the title and for the approval. Please also merge it when possible. https://github.com/llvm/llvm-project/pull/72924 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] [Driver] Allow -e entry but reject -eentry (PR #72804)

2023-11-20 Thread Fangrui Song via cfe-commits
MaskRay wrote: Driver used to accept `-e` but ignore it (at least for `Gnu.cpp`). My fcf8ada18f9cfb1261262e4b0399ae9ab40451f8 in 2020-July rendered `-e` (both `Joined` and `Separate`). I think if we impose a restriction that `-exxx` is unsupported, technically it is a breaking change but

[clang] [Driver, test] Remove -v from mkdir & ln -s from a test since it fails on AIX (PR #72924)

2023-11-20 Thread Liviu Ionescu via cfe-commits
https://github.com/ilg-ul edited https://github.com/llvm/llvm-project/pull/72924 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] ba35986 - Fix tab spaces in coroutine-hostile-raii.cpp

2023-11-20 Thread via cfe-commits
Author: Utkarsh Saxena Date: 2023-11-21T07:29:49+01:00 New Revision: ba3598667f0da87961b6bec390bc7b03cfa72583 URL: https://github.com/llvm/llvm-project/commit/ba3598667f0da87961b6bec390bc7b03cfa72583 DIFF:

[clang] [Driver, test] Remove -v from mkdir & ln -s from a test since it fails on AIX (PR #72924)

2023-11-20 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay approved this pull request. https://github.com/llvm/llvm-project/pull/72924 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver, test] Remove -v from mkdir & ln -s from a test since it fails on AIX (PR #72924)

2023-11-20 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay edited https://github.com/llvm/llvm-project/pull/72924 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][driver] Remove -v from mkdir & ln -s from a test since it fails on AIX (PR #72924)

2023-11-20 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay edited https://github.com/llvm/llvm-project/pull/72924 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][driver] Remove -v from mkdir & ln -s from a test since it fails on ppc64 (PR #72924)

2023-11-20 Thread Fangrui Song via cfe-commits
MaskRay wrote: > since it fails on ppc64 Change ppc64 to AIX. This is OS-specific instead of arch-specific. AIX mkdir doesn't provide `-v`, but other ppc64 OSes (e.g. Linux/FreeBSD) may provide `-v` even if https://pubs.opengroup.org/onlinepubs/9699919799/ does not require it.

[clang] Allow multiple sanitizers on baremetal targets. (PR #72933)

2023-11-20 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay approved this pull request. https://github.com/llvm/llvm-project/pull/72933 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Allow multiple sanitizers on baremetal targets. (PR #72933)

2023-11-20 Thread Fangrui Song via cfe-commits
@@ -973,11 +973,58 @@ // RUN: not %clang --target=x86_64-sie-ps5 -fsanitize=kcfi %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-UBSAN-KCFI // RUN: not %clang --target=x86_64-sie-ps5 -fsanitize=function -fsanitize=kcfi %s -### 2>&1 | FileCheck %s

[clang] Allow multiple sanitizers on baremetal targets. (PR #72933)

2023-11-20 Thread Fangrui Song via cfe-commits
@@ -491,3 +491,26 @@ void baremetal::Linker::ConstructJob(Compilation , const JobAction , JA, *this, ResponseFileSupport::AtFileCurCP(), Args.MakeArgString(TC.GetLinkerPath()), CmdArgs, Inputs, Output)); } + +SanitizerMask BareMetal::getSupportedSanitizers() const

[clang-tools-extra] [clangtidy] Allow safe suspensions in coroutine-hostile-raii check (PR #72954)

2023-11-20 Thread Utkarsh Saxena via cfe-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/72954 >From c863646669d0b2b54e1c1c353b063a8209730528 Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Tue, 21 Nov 2023 06:51:48 +0100 Subject: [PATCH 1/3] [clangtidy]Allow safe suspensions in coroutine-hostile-raii

[clang] [C++20] [Modules] Introduce a tool 'clang-named-modules-querier' and two plugins 'ClangGetUsedFilesFromModulesPlugin' and 'ClangGetDeclsInModulesPlugin' (PR #72956)

2023-11-20 Thread via 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 a1de0946abe8d0195bc06651e0abe32966be47cd 05453bc0da214ad69ab94d901c997c61fae86ab6 --

[clang-tools-extra] [clangtidy] Allow safe suspensions in coroutine-hostile-raii check (PR #72954)

2023-11-20 Thread Utkarsh Saxena via cfe-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/72954 >From c863646669d0b2b54e1c1c353b063a8209730528 Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Tue, 21 Nov 2023 06:51:48 +0100 Subject: [PATCH 1/2] [clangtidy]Allow safe suspensions in coroutine-hostile-raii

[clang] [C++20] [Modules] Introduce a tool 'clang-named-modules-querier' and two plugins 'ClangGetUsedFilesFromModulesPlugin' and 'ClangGetDeclsInModulesPlugin' (PR #72956)

2023-11-20 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Author: Chuanqi Xu (ChuanqiXu9) Changes This patch introduces a tool 'clang-named-modules-querier' and two plugins 'ClangGetUsedFilesFromModulesPlugin' and 'ClangGetDeclsInModulesPlugin' to help the build systems to avoid compilations in

[clang] [C++20] [Modules] Introduce a tool 'clang-named-modules-querier' and two plugins 'ClangGetUsedFilesFromModulesPlugin' and 'ClangGetDeclsInModulesPlugin' (PR #72956)

2023-11-20 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 converted_to_draft https://github.com/llvm/llvm-project/pull/72956 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [C++20] [Modules] Introduce a tool 'clang-named-modules-querier' and two plugins 'ClangGetUsedFilesFromModulesPlugin' and 'ClangGetDeclsInModulesPlugin' (PR #72956)

2023-11-20 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 created https://github.com/llvm/llvm-project/pull/72956 This patch introduces a tool 'clang-named-modules-querier' and two plugins 'ClangGetUsedFilesFromModulesPlugin' and 'ClangGetDeclsInModulesPlugin' to help the build systems to avoid compilations in modules.

[libunwind] [llvm] [clang-tools-extra] [libcxxabi] [libc] [compiler-rt] [clang] [flang] [libcxx] [lld] [PowerPC] Combine sub within setcc back to sext (PR #66978)

2023-11-20 Thread Qiu Chaofan via cfe-commits
https://github.com/ecnelises updated https://github.com/llvm/llvm-project/pull/66978 >From 2a7b9be6cd0705590c85c51b35ea99fe053aaf47 Mon Sep 17 00:00:00 2001 From: Qiu Chaofan Date: Wed, 6 Sep 2023 16:16:34 +0800 Subject: [PATCH 1/3] [PowerPC] Combine sub within setcc back to sext ---

[clang-tools-extra] [clangtidy] Allow safe suspensions in coroutine-hostile-raii check (PR #72954)

2023-11-20 Thread via 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 a1de0946abe8d0195bc06651e0abe32966be47cd c863646669d0b2b54e1c1c353b063a8209730528 --

[clang-tools-extra] [clangtidy] Allow safe suspensions in coroutine-hostile-raii check (PR #72954)

2023-11-20 Thread Utkarsh Saxena via cfe-commits
https://github.com/usx95 created https://github.com/llvm/llvm-project/pull/72954 None >From c863646669d0b2b54e1c1c353b063a8209730528 Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Tue, 21 Nov 2023 06:51:48 +0100 Subject: [PATCH] [clangtidy]Allow safe suspensions in coroutine-hostile-raii

[llvm] [clang] [AMDGPU] Emit a waitcnt instruction after each memory instruction (PR #68932)

2023-11-20 Thread Jun Wang via cfe-commits
jwanggit86 wrote: @arsenm Pls let me know if you have any further comments. I'd like to have the code committed and the PR closed. Thanks! https://github.com/llvm/llvm-project/pull/68932 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] Allow multiple sanitizers on baremetal targets. (PR #72933)

2023-11-20 Thread via cfe-commits
https://github.com/pirama-arumuga-nainar approved this pull request. Thanks for the PR @eugenis! https://github.com/llvm/llvm-project/pull/72933 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] [clang] Fix lit test failure caused by https://github.com/llvm/llvm-project/pull/70762 (PR #72928)

2023-11-20 Thread via cfe-commits
https://github.com/smanna12 edited https://github.com/llvm/llvm-project/pull/72928 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Fix lit test failure caused by https://github.com/llvm/llvm-project/pull/70762 (PR #72928)

2023-11-20 Thread via cfe-commits
https://github.com/smanna12 updated https://github.com/llvm/llvm-project/pull/72928 >From 55d5f22645b8f76c4daf15f220974e2b00a0157b Mon Sep 17 00:00:00 2001 From: "Manna, Soumi" Date: Mon, 20 Nov 2023 16:19:37 -0800 Subject: [PATCH 1/3] [clang] Fix lit test failure caused by

[flang] [clang] [libcxx] [lld] [lldb] [compiler-rt] [mlir] [llvm] [mlir][async] Avoid crash when not using `func.func` (PR #72801)

2023-11-20 Thread Mehdi Amini via cfe-commits
joker-eph wrote: FYI the build is failing (maybe re-running would be enough though) https://github.com/llvm/llvm-project/pull/72801 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Fix lit test failure caused by https://github.com/llvm/llvm-project/pull/70762 (PR #72928)

2023-11-20 Thread via cfe-commits
https://github.com/smanna12 edited https://github.com/llvm/llvm-project/pull/72928 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Fix lit test failure caused by https://github.com/llvm/llvm-project/pull/70762 (PR #72928)

2023-11-20 Thread via cfe-commits
https://github.com/smanna12 edited https://github.com/llvm/llvm-project/pull/72928 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Fix lit test failure caused by https://github.com/llvm/llvm-project/pull/70762 (PR #72928)

2023-11-20 Thread via cfe-commits
https://github.com/smanna12 edited https://github.com/llvm/llvm-project/pull/72928 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Fix lit test failure caused by https://github.com/llvm/llvm-project/pull/70762 (PR #72928)

2023-11-20 Thread via cfe-commits
https://github.com/smanna12 edited https://github.com/llvm/llvm-project/pull/72928 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Fix lit test failure caused by https://github.com/llvm/llvm-project/pull/70762 (PR #72928)

2023-11-20 Thread via cfe-commits
https://github.com/smanna12 updated https://github.com/llvm/llvm-project/pull/72928 >From 55d5f22645b8f76c4daf15f220974e2b00a0157b Mon Sep 17 00:00:00 2001 From: "Manna, Soumi" Date: Mon, 20 Nov 2023 16:19:37 -0800 Subject: [PATCH 1/2] [clang] Fix lit test failure caused by

[clang] dcab84f - Reland [clang-format][NFC] Remove a redundant isLiteral() call

2023-11-20 Thread Gulfem Savrun Yeniceri via cfe-commits
Author: Owen Pan Date: 2023-11-21T04:17:03Z New Revision: dcab84fd5e0dcd9f5210dc024c2a2081cfb2e87e URL: https://github.com/llvm/llvm-project/commit/dcab84fd5e0dcd9f5210dc024c2a2081cfb2e87e DIFF: https://github.com/llvm/llvm-project/commit/dcab84fd5e0dcd9f5210dc024c2a2081cfb2e87e.diff LOG:

[clang] [analyzer]:fix valistChecker false negative in windows platform (PR #72951)

2023-11-20 Thread via cfe-commits
https://github.com/mzyKi edited https://github.com/llvm/llvm-project/pull/72951 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [analyzer]:fix valistChecker false negative in windows platform (PR #72951)

2023-11-20 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-static-analyzer-1 @llvm/pr-subscribers-clang Author: Exile (mzyKi) Changes fixed #72618 inlined_uses_arg call_vprintf_bad, but still fail in call_vsprintf_bad in valist-uninitialized-no-undef.c --- Full diff:

[clang] [analyzer]:fix valistChecker false negative in windows platform (PR #72951)

2023-11-20 Thread via cfe-commits
https://github.com/mzyKi created https://github.com/llvm/llvm-project/pull/72951 fixed #72618 inlined_uses_arg call_vprintf_bad, but still fail in call_vsprintf_bad in valist-uninitialized-no-undef.c >From a3bf0f3ac007ee9475fb302ea9c458814e06e6c0 Mon Sep 17 00:00:00 2001 From: miaozhiyuan

[clang] [llvm] [CodeGen][arm64e] Add methods and data members to Address, which are needed to authenticate signed pointers (PR #67454)

2023-11-20 Thread Anton Korobeynikov via cfe-commits
@@ -232,110 +279,133 @@ class CGBuilderTy : public CGBuilderBaseTy { /// where i64 is actually the target word size. Address CreateConstGEP(Address Addr, uint64_t Index, const llvm::Twine = "") { +llvm::Type *ElTy = Addr.getElementType();

[llvm] [clang] [CodeGen][arm64e] Add methods and data members to Address, which are needed to authenticate signed pointers (PR #67454)

2023-11-20 Thread Anton Korobeynikov via cfe-commits
https://github.com/asl requested changes to this pull request. See the comment about function argument evaluation order that causes instability of the codegen with pauth. https://github.com/llvm/llvm-project/pull/67454 ___ cfe-commits mailing list

[clang] [llvm] [CodeGen][arm64e] Add methods and data members to Address, which are needed to authenticate signed pointers (PR #67454)

2023-11-20 Thread Anton Korobeynikov via cfe-commits
https://github.com/asl edited https://github.com/llvm/llvm-project/pull/67454 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [coroutines] Introduce [[clang::coro_lifetimebound]] (PR #72851)

2023-11-20 Thread Utkarsh Saxena via cfe-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/72851 >From 164bf1e94ec05e50be05d085ce2a4381711df11b Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Mon, 20 Nov 2023 12:17:30 +0100 Subject: [PATCH 1/6] Introduce [[clang::coro_lifetimebound]] (cherry picked from

[clang] [coroutines] Introduce [[clang::coro_lifetimebound]] (PR #72851)

2023-11-20 Thread Utkarsh Saxena via cfe-commits
https://github.com/usx95 reopened https://github.com/llvm/llvm-project/pull/72851 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [coroutines] Introduce [[clang::coro_lifetimebound]] (PR #72851)

2023-11-20 Thread Utkarsh Saxena via cfe-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/72851 >From 164bf1e94ec05e50be05d085ce2a4381711df11b Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Mon, 20 Nov 2023 12:17:30 +0100 Subject: [PATCH 1/5] Introduce [[clang::coro_lifetimebound]] (cherry picked from

[clang] [openmp] [Clang][OpenMP] Fix ordering of processing of map clauses when mapping a struct. (PR #72410)

2023-11-20 Thread Joseph Huber via cfe-commits
@@ -7731,10 +7731,30 @@ class MappableExprsHandler { IsImplicit, Mapper, VarRef, ForDeviceAddr); }; +// Sort all map clauses and make sure all the maps containing array +// sections are processed last. +llvm::SmallVector SortedMapClauses;

[clang] [coroutines] Introduce [[clang::coro_lifetimebound]] (PR #72851)

2023-11-20 Thread Utkarsh Saxena via cfe-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/72851 >From 28e9fda4b78e1e60287048891cc92bafdef3ac4c Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Mon, 20 Nov 2023 12:17:30 +0100 Subject: [PATCH 1/5] Introduce [[clang::coro_lifetimebound]] ---

[clang] fix: compatible C++ empty record with align UB with gcc (PR #72197)

2023-11-20 Thread via cfe-commits
hstk30-hw wrote: For now, empty record with size <= 64, still use `i8` in IR (before empty record without align always use `i8`), and lowering to a general purpose register. empty record with size <= 128, use `i128` in IR, and lowering to two gr-registers (C.10). empty record with size > 128,

[clang] [coroutines] Introduce [[clang::coro_lifetimebound]] (PR #72851)

2023-11-20 Thread Utkarsh Saxena via cfe-commits
@@ -7483,7 +7483,6 @@ generation of the other destruction cases, optimizing the above `foo.destroy` to }]; } - usx95 wrote: Acknowledged. Keeping it to match the 1 line space style of the file. https://github.com/llvm/llvm-project/pull/72851

[clang] [Driver] Add support for -export-dynamic which can match GCC behavior. (PR #72781)

2023-11-20 Thread dong jianqiang via cfe-commits
dongjianqiang2 wrote: > > @MaskRay the reason for adding this option is that gcc supports it. please > > refer to [godbolt.org/z/54sE6zTa1](https://godbolt.org/z/54sE6zTa1) > > This doesn't answer my question. GCC has a lot of options that Clang doesn't > support. An option supported by GCC

[clang] [coroutines] Introduce [[clang::coro_lifetimebound]] (PR #72851)

2023-11-20 Thread Chuanqi Xu via cfe-commits
@@ -7483,7 +7483,6 @@ generation of the other destruction cases, optimizing the above `foo.destroy` to }]; } - ChuanqiXu9 wrote: nit: unnecessary changes. https://github.com/llvm/llvm-project/pull/72851 ___

[clang] [coroutines] Introduce [[clang::coro_lifetimebound]] (PR #72851)

2023-11-20 Thread Chuanqi Xu via cfe-commits
@@ -7580,10 +7580,15 @@ static void visitLifetimeBoundArguments(IndirectLocalPath , Expr *Call, if (ObjectArg && implicitObjectParamIsLifetimeBound(Callee)) VisitLifetimeBoundArg(Callee, ObjectArg); + bool checkCoroCall = false; + if (const auto *RD =

[clang] [coroutines] Introduce [[clang::coro_lifetimebound]] (PR #72851)

2023-11-20 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 approved this pull request. LGTM. Please wait for few days in case there are other comments. https://github.com/llvm/llvm-project/pull/72851 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] [coroutines] Introduce [[clang::coro_lifetimebound]] (PR #72851)

2023-11-20 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 edited https://github.com/llvm/llvm-project/pull/72851 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[flang] [llvm] [clang] [flang][OpenMP] Add semantic check for declare target (PR #72770)

2023-11-20 Thread via cfe-commits
shraiysh wrote: > Might be worth asking someone from the Clang team to have a look at the Clang > changes if you're a little unsure on them, but if you're happy with them can > disregard doing that! Thank you for the review @agozillon @skatrak. I am not sure who I should request the review

[clang] [Clang] Fix ICE when `initial_suspend()`'s `await_resume()` returns a non-trivially destructible type (PR #72935)

2023-11-20 Thread Yuxuan Chen via cfe-commits
yuxuanchen1997 wrote: Deleting `memberCallExpressionCanThrow` should be ok. It has been buggy before (the statement wasn't even a `CXXMemberCallExp`). It shouldn't matter if the init suspend await resume is noexcept or not. The old logic did not generate for case where the coro's exception

[clang] Supports viewing class member variables in lambda when using the vs debugger (PR #71564)

2023-11-20 Thread via cfe-commits
GkvJwa wrote: Help me merge it into the main branch, Thanks https://github.com/llvm/llvm-project/pull/71564 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] fix: compatible C++ empty record with align UB with gcc (PR #72197)

2023-11-20 Thread via cfe-commits
https://github.com/hstk30-hw updated https://github.com/llvm/llvm-project/pull/72197 >From 9a00824d0ac164d94c9cabfb4544eb6ef2e81802 Mon Sep 17 00:00:00 2001 From: hstk30-hw Date: Sat, 18 Nov 2023 11:00:29 + Subject: [PATCH] fix: empty record size > 64 with align let va_list get out of

[clang] [Clang] Fix ICE when `initial_suspend()`'s `await_resume()` returns a non-trivially destructible type (PR #72935)

2023-11-20 Thread Yuxuan Chen via cfe-commits
https://github.com/yuxuanchen1997 updated https://github.com/llvm/llvm-project/pull/72935 >From 9d89a0bf81290b58344f4d5f220f62a3a256618d Mon Sep 17 00:00:00 2001 From: Yuxuan Chen Date: Mon, 20 Nov 2023 17:01:05 -0800 Subject: [PATCH] remove try stmt around initial suspend, merge with main try

[clang] [Clang] Fix ICE when `initial_suspend()`'s `await_resume()` returns a non-trivially destructible type (PR #72935)

2023-11-20 Thread Yuxuan Chen via cfe-commits
https://github.com/yuxuanchen1997 updated https://github.com/llvm/llvm-project/pull/72935 >From 1179379f36e4e52b8478af001a409546e3ff5859 Mon Sep 17 00:00:00 2001 From: Yuxuan Chen Date: Mon, 20 Nov 2023 17:01:05 -0800 Subject: [PATCH] remove try stmt around initial suspend, merge with main try

[clang] [Clang] Fix ICE when `initial_suspend()`'s `await_resume()` returns a non-trivially destructible type (PR #72935)

2023-11-20 Thread Yuxuan Chen via cfe-commits
https://github.com/yuxuanchen1997 edited https://github.com/llvm/llvm-project/pull/72935 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Fix ICE when `initial_suspend()`'s `await_resume()` returns a non-trivially destructible type (PR #72935)

2023-11-20 Thread Yuxuan Chen via cfe-commits
https://github.com/yuxuanchen1997 edited https://github.com/llvm/llvm-project/pull/72935 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Fix ICE when `initial_suspend()`'s `await_resume()` returns a non-trivially destructible type (PR #72935)

2023-11-20 Thread Yuxuan Chen via cfe-commits
https://github.com/yuxuanchen1997 updated https://github.com/llvm/llvm-project/pull/72935 >From 354b4390725f9142838e2c8d3d09b058f9519c10 Mon Sep 17 00:00:00 2001 From: Yuxuan Chen Date: Mon, 20 Nov 2023 17:01:05 -0800 Subject: [PATCH] remove try stmt around initial suspend, merge with main try

[clang] [Clang] Fix ICE when `initial_suspend()`'s `await_resume()` returns a non-trivially destructible type (PR #72935)

2023-11-20 Thread Yuxuan Chen via cfe-commits
https://github.com/yuxuanchen1997 updated https://github.com/llvm/llvm-project/pull/72935 >From 1eae15f7880574d4e5e8a9ea8757883aa136fa44 Mon Sep 17 00:00:00 2001 From: Yuxuan Chen Date: Mon, 20 Nov 2023 17:01:05 -0800 Subject: [PATCH] remove try stmt around initial suspend, merge with main try

[clang] [clang codegen][regression] Add dso_local/hidden/etc. markings to VTT definitions and declarations (PR #72452)

2023-11-20 Thread via cfe-commits
bd1976bris wrote: > Okay. Please add a comment to the code briefly explaining that. Done. https://github.com/llvm/llvm-project/pull/72452 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] [Clang] Fix ICE when `initial_suspend()`'s `await_resume()` returns a non-trivially destructible type (PR #72935)

2023-11-20 Thread via 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 2ca028ce7c6de5f1350440012355a65383b8729a 72fcc02a032e28517d87c8c0fe8279b9833bc9a9 --

[clang] [Clang] Fix ICE when `initial_suspend()`'s `await_resume()` returns a non-trivially destructible type (PR #72935)

2023-11-20 Thread Yuxuan Chen via cfe-commits
https://github.com/yuxuanchen1997 created https://github.com/llvm/llvm-project/pull/72935 None >From 13b54167ea0dfe4f39de7b29c3e61489aa683caa Mon Sep 17 00:00:00 2001 From: Yuxuan Chen Date: Mon, 20 Nov 2023 16:06:44 -0800 Subject: [PATCH 1/2] Attempt to fix init sus ret destroy ---

[clang-tools-extra] [clangd] Don't show inlay hints for __builtin_dump_struct (PR #71366)

2023-11-20 Thread Younan Zhang via cfe-commits
https://github.com/zyn0217 edited https://github.com/llvm/llvm-project/pull/71366 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Allow multiple sanitizers on baremetal targets. (PR #72933)

2023-11-20 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-driver Author: Evgenii Stepanov (eugenis) Changes Baremetal targets tend to implement their own runtime support for sanitizers. Clang driver gatekeeping of allowed sanitizer types is counter productive. This change

[clang] Allow multiple sanitizers on baremetal targets. (PR #72933)

2023-11-20 Thread Evgenii Stepanov via cfe-commits
https://github.com/eugenis created https://github.com/llvm/llvm-project/pull/72933 Baremetal targets tend to implement their own runtime support for sanitizers. Clang driver gatekeeping of allowed sanitizer types is counter productive. This change allows anything that does not crash and burn

[clang] [clang codegen][regression] Add dso_local/hidden/etc. markings to VTT definitions and declarations (PR #72452)

2023-11-20 Thread via cfe-commits
https://github.com/bd1976bris updated https://github.com/llvm/llvm-project/pull/72452 >From f6e400224b3a90b4ec47bce2212a8e760b0fe9d8 Mon Sep 17 00:00:00 2001 From: Ben Dunbobbin Date: Wed, 15 Nov 2023 23:09:41 + Subject: [PATCH 1/2] [clang codegen] Add dso_local/hidden/etc. markings to VTT

[clang] [APINotes] Introduce APINotes infrastructure in Clang Sema and Frontend (PR #72907)

2023-11-20 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd approved this pull request. https://github.com/llvm/llvm-project/pull/72907 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Fix lit test failure caused by https://github.com/llvm/llvm-project/pull/70762 (PR #72928)

2023-11-20 Thread via cfe-commits
smanna12 wrote: Buildbot is showing the failures below: ``` Step 5 (ninja check 1) failure: 1 unexpected failures 38623 expected passes 71 expected failures 36752 unsupported tests (failure) TEST 'Clang :: Sema/code_align.c' FAILED Exit Code: 1

[openmp] [clang] [Clang][OpenMP] Fix ordering of processing of map clauses when mapping a struct. (PR #72410)

2023-11-20 Thread Gheorghe-Teodor Bercea via cfe-commits
https://github.com/doru1004 updated https://github.com/llvm/llvm-project/pull/72410 >From 6712acd1175d1d6d55ce261651a543872a221c9a Mon Sep 17 00:00:00 2001 From: Doru Bercea Date: Wed, 15 Nov 2023 11:07:09 -0500 Subject: [PATCH] Fix ordering when mapping a struct. ---

[clang] [clang] Fix lit test failure caused by https://github.com/llvm/llvm-p… (PR #72928)

2023-11-20 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (smanna12) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/72928.diff 1 Files Affected: - (modified) clang/test/Sema/code_align.c (+4-5) ``diff diff --git a/clang/test/Sema/code_align.c

[clang] [clang] Fix lit test failure caused by https://github.com/llvm/llvm-project/pull/70762 (PR #72928)

2023-11-20 Thread via cfe-commits
https://github.com/smanna12 edited https://github.com/llvm/llvm-project/pull/72928 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Fix lit test failure caused by https://github.com/llvm/llvm-p… (PR #72928)

2023-11-20 Thread via cfe-commits
https://github.com/smanna12 edited https://github.com/llvm/llvm-project/pull/72928 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

  1   2   3   4   >