[clang] [lld] [llvm] Adding Matching and Inference Functionality to Propeller (PR #139008)

2025-05-07 Thread James Henderson via cfe-commits
https://github.com/jh7370 commented: Thanks for the patch. I think this PR should be split up a bit, so that it's easier to review distinct sections. In particular the areas related to yaml2obj/obj2yaml, llvm-readobj and llvm-objdump could probably be their own PR, where we can focus on review

[clang] Revert "[Clang] Deprecate `__is_trivially_relocatable`" (PR #139027)

2025-05-07 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-4` 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/19645 Here is th

[clang] Revert "[Clang] Deprecate `__is_trivially_relocatable`" (PR #139027)

2025-05-07 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `publish-sphinx-docs` running on `as-worker-4` while building `clang` at step 9 "Publish docs-lld-html". Full details are available at: https://lab.llvm.org/buildbot/#/builders/45/builds/11971 Here is the relevant piece of t

[clang] [clang-format] Add SpaceAfterOperatorKeyword option (PR #137610)

2025-05-07 Thread via cfe-commits
github-actions[bot] wrote: @MightyFilipns 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

[clang] clang/OpenCL: Fix special casing OpenCL in call emission (PR #138864)

2025-05-07 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/138864 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-se

[clang] clang: Fix broken implicit cast to generic address space (PR #138863)

2025-05-07 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm closed https://github.com/llvm/llvm-project/pull/138863 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] clang/OpenCL: Fix special casing OpenCL in call emission (PR #138864)

2025-05-07 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm edited https://github.com/llvm/llvm-project/pull/138864 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] a11d864 - clang: Fix broken implicit cast to generic address space (#138863)

2025-05-07 Thread via cfe-commits
Author: Matt Arsenault Date: 2025-05-08T07:51:57+02:00 New Revision: a11d86461e7d7d9bce3d04a39ded1cad394239ca URL: https://github.com/llvm/llvm-project/commit/a11d86461e7d7d9bce3d04a39ded1cad394239ca DIFF: https://github.com/llvm/llvm-project/commit/a11d86461e7d7d9bce3d04a39ded1cad394239ca.diff

[clang] clang: Fix broken implicit cast to generic address space (PR #138863)

2025-05-07 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/138863 >From 8593c30aaa9ec9841ffd7172ef8c32e72f9bad4b Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 7 May 2025 08:34:40 +0200 Subject: [PATCH] clang: Fix broken implicit cast to generic address space This fi

[clang] [clang-format] Add SpaceAfterOperatorKeyword option (PR #137610)

2025-05-07 Thread Owen Pan via cfe-commits
https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/137610 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 5df01ab - [clang-format] Add SpaceAfterOperatorKeyword option (#137610)

2025-05-07 Thread via cfe-commits
Author: Filip Milosevic Date: 2025-05-07T22:47:56-07:00 New Revision: 5df01abe191ff4f848566e239798a2b4d26e1cf4 URL: https://github.com/llvm/llvm-project/commit/5df01abe191ff4f848566e239798a2b4d26e1cf4 DIFF: https://github.com/llvm/llvm-project/commit/5df01abe191ff4f848566e239798a2b4d26e1cf4.dif

[clang] clang/OpenCL: Add baseline test showing broken codegen (PR #138862)

2025-05-07 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/138862 >From decbf5b3a2cbb4f8844b9556fbfafec73c117687 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 7 May 2025 08:38:49 +0200 Subject: [PATCH 1/2] clang/OpenCL: Add baseline test showing broken codegen ---

[clang] clang: Fix broken implicit cast to generic address space (PR #138863)

2025-05-07 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/138863 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-se

[clang] clang/OpenCL: Add baseline test showing broken codegen (PR #138862)

2025-05-07 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm closed https://github.com/llvm/llvm-project/pull/138862 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] clang: Fix broken implicit cast to generic address space (PR #138863)

2025-05-07 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm edited https://github.com/llvm/llvm-project/pull/138863 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 26572ba - clang/OpenCL: Add baseline test showing broken codegen (#138862)

2025-05-07 Thread via cfe-commits
Author: Matt Arsenault Date: 2025-05-08T07:46:04+02:00 New Revision: 26572bad95f816a979ce70b4e1335c8438a96df2 URL: https://github.com/llvm/llvm-project/commit/26572bad95f816a979ce70b4e1335c8438a96df2 DIFF: https://github.com/llvm/llvm-project/commit/26572bad95f816a979ce70b4e1335c8438a96df2.diff

[clang] clang/OpenCL: Add baseline test showing broken codegen (PR #138862)

2025-05-07 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/138862 >From 28c02e8481056281b059192a5889704b261ae18e Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 7 May 2025 08:38:49 +0200 Subject: [PATCH 1/2] clang/OpenCL: Add baseline test showing broken codegen ---

[clang] fa09d03 - [clang-format] Correctly annotate ObjC `* __autoreleasing *` (#138799)

2025-05-07 Thread via cfe-commits
Author: Owen Pan Date: 2025-05-07T22:41:57-07:00 New Revision: fa09d031d3f3a5018e626938ef76b7072a298dfd URL: https://github.com/llvm/llvm-project/commit/fa09d031d3f3a5018e626938ef76b7072a298dfd DIFF: https://github.com/llvm/llvm-project/commit/fa09d031d3f3a5018e626938ef76b7072a298dfd.diff LOG:

[clang] [clang-format] Correctly annotate ObjC `* __autoreleasing *` (PR #138799)

2025-05-07 Thread Owen Pan via cfe-commits
https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/138799 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] clang/OpenCL: Add baseline test showing broken codegen (PR #138862)

2025-05-07 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/138862 >From 1f41551ad5177f6662f410863306bcb4f5ae10dd Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 7 May 2025 08:38:49 +0200 Subject: [PATCH 1/2] clang/OpenCL: Add baseline test showing broken codegen ---

[clang] [Clang] Deprecate `__is_trivially_relocatable` (PR #138835)

2025-05-07 Thread via cfe-commits
dyung wrote: @cor3ntin I've reverted the commit to get the bot back to green. Please look into the failure when you try to reland the change. https://github.com/llvm/llvm-project/pull/138835 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http

[clang] Revert "[Clang] Deprecate `__is_trivially_relocatable`" (PR #139027)

2025-05-07 Thread via cfe-commits
https://github.com/dyung closed https://github.com/llvm/llvm-project/pull/139027 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "[Clang] Deprecate `__is_trivially_relocatable`" (PR #139027)

2025-05-07 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (dyung) Changes Reverts llvm/llvm-project#138835 This is causing a test failure on a bot: https://lab.llvm.org/buildbot/#/builders/144/builds/24541 --- Patch is 22.93 KiB, truncated to 20.00 KiB below, full version: https://github

[clang] ab2e7aa - Revert "[Clang] Deprecate `__is_trivially_relocatable`" (#139027)

2025-05-07 Thread via cfe-commits
Author: dyung Date: 2025-05-08T01:38:04-04:00 New Revision: ab2e7aa5179ab7ba83fa7f731df63a1adbf7612c URL: https://github.com/llvm/llvm-project/commit/ab2e7aa5179ab7ba83fa7f731df63a1adbf7612c DIFF: https://github.com/llvm/llvm-project/commit/ab2e7aa5179ab7ba83fa7f731df63a1adbf7612c.diff LOG: Re

[clang] Revert "[Clang] Deprecate `__is_trivially_relocatable`" (PR #139027)

2025-05-07 Thread via cfe-commits
https://github.com/dyung created https://github.com/llvm/llvm-project/pull/139027 Reverts llvm/llvm-project#138835 This is causing a test failure on a bot: https://lab.llvm.org/buildbot/#/builders/144/builds/24541 >From 6a4fa089a40a13122b358e1fe14e06b21f2dfbdb Mon Sep 17 00:00:00 2001 From: d

[clang] clang/OpenCL: Add baseline test showing broken codegen (PR #138862)

2025-05-07 Thread Matt Arsenault via cfe-commits
arsenm wrote: ### Merge activity * **May 8, 1:36 AM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/138862). https://github.com/llvm/llvm-project/pull/138862 __

[clang] [llvm] [clang] Support ASan on WASI (PR #139014)

2025-05-07 Thread Yuta Saito via cfe-commits
https://github.com/kateinoigakukun edited https://github.com/llvm/llvm-project/pull/139014 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [clang] Support ASan on WASI (PR #139014)

2025-05-07 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Yuta Saito (kateinoigakukun) Changes I'm working on porting ASan to Wasm/WASI targets, and this is the first part of the change sets. I'll post runtime changes separately. This change makes `-fsanitize=address` available for WASI t

[clang] [llvm] [clang] Support ASan on WASI (PR #139014)

2025-05-07 Thread Yuta Saito via cfe-commits
https://github.com/kateinoigakukun created https://github.com/llvm/llvm-project/pull/139014 I'm working on porting ASan to Wasm/WASI targets, and this is the first part of the change sets. I'll post runtime changes later. This change makes `-fsanitize=address` available for WASI target by repl

[clang] [lld] [llvm] Adding Matching and Inference Functionality to Propeller (PR #139008)

2025-05-07 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-binary-utilities @llvm/pr-subscribers-objectyaml @llvm/pr-subscribers-backend-aarch64 Author: None (wdx727) Changes We would like to add the matching and inference functionality to Propeller to address the issue that Propeller has zero tolerance fo

[clang] [clang][ExprConst] Check for array size of initlists (PR #138673)

2025-05-07 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr updated https://github.com/llvm/llvm-project/pull/138673 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-

[clang] dc28f9d - [clang][ExprConstant] Bail out on invalid lambda capture inits (#138832)

2025-05-07 Thread via cfe-commits
Author: Timm Baeder Date: 2025-05-08T05:22:11+02:00 New Revision: dc28f9d087324f77db81e7192648a17ebf036125 URL: https://github.com/llvm/llvm-project/commit/dc28f9d087324f77db81e7192648a17ebf036125 DIFF: https://github.com/llvm/llvm-project/commit/dc28f9d087324f77db81e7192648a17ebf036125.diff L

[clang] [clang][ExprConstant] Bail out on invalid lambda capture inits (PR #138832)

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

[clang] [ItaniumMangle] Make sure class types are added to the dictionary of substitution candidates when compiling for older ABIs (PR #138947)

2025-05-07 Thread via cfe-commits
tcwzxx wrote: Given that the mangleCXXRecordDecl function is used outside of the `MangleVTable` , I think the ABI compatibility logic should be moved to mangleCXXCtorVTable https://github.com/llvm/llvm-project/pull/138947 ___ cfe-commits mailing list

[clang] [lld] [llvm] Adding Matching and Inference Functionality to Propeller (PR #139008)

2025-05-07 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: None (wdx727) Changes We would like to add the matching and inference functionality to Propeller to address the issue that Propeller has zero tolerance for changes in source code and compilation parameters. The complete RFC can be

[clang] [lld] [llvm] Adding Matching and Inference Functionality to Propeller (PR #139008)

2025-05-07 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-lld-elf Author: None (wdx727) Changes We would like to add the matching and inference functionality to Propeller to address the issue that Propeller has zero tolerance for changes in source code and compilation parameters. The complete RFC can be found

[clang] [lld] [llvm] Adding Matching and Inference Functionality to Propeller (PR #139008)

2025-05-07 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: None (wdx727) Changes We would like to add the matching and inference functionality to Propeller to address the issue that Propeller has zero tolerance for changes in source code and compilation parameters. The complete RFC can be f

[clang] [lld] [llvm] Adding Matching and Inference Functionality to Propeller (PR #139008)

2025-05-07 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] [clang][Darwin] Remove legacy framework search path logic in the frontend (PR #138234)

2025-05-07 Thread Ian Anderson via cfe-commits
https://github.com/ian-twilightcoder updated https://github.com/llvm/llvm-project/pull/138234 >From ba40d11f56248850e07eb41b9bdebd407b09f83f Mon Sep 17 00:00:00 2001 From: Ian Anderson Date: Thu, 1 May 2025 22:44:52 -0700 Subject: [PATCH] [clang][Darwin] Remove legacy framework search path logi

[clang] [clang][Darwin] Remove legacy framework search path logic in the frontend (PR #138234)

2025-05-07 Thread Ian Anderson via cfe-commits
ian-twilightcoder wrote: > LGTM. > > I would remove the newly added commented `/* static */` Alright well it's going to bother me that they don't match the other ones, so I'll get rid of them all. https://github.com/llvm/llvm-project/pull/138234 ___

[clang-tools-extra] Add flag to specify an alternative to std::forward (PR #138755)

2025-05-07 Thread Congcong Cai via cfe-commits
https://github.com/HerrCai0907 approved this pull request. LGTM. It looks similar as https://github.com/llvm/llvm-project/pull/138757. could you add a test for both PR. https://github.com/llvm/llvm-project/pull/138755 ___ cfe-commits mailing list cfe-

[clang-tools-extra] [clang-tidy] Add flag to specify an alternative to std::move in cppcoreguidelines-rvalue-reference-param-not-moved (PR #138757)

2025-05-07 Thread Congcong Cai via cfe-commits
https://github.com/HerrCai0907 edited https://github.com/llvm/llvm-project/pull/138757 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] Add flag to specify an alternative to std::move (PR #138757)

2025-05-07 Thread Congcong Cai via cfe-commits
https://github.com/HerrCai0907 edited https://github.com/llvm/llvm-project/pull/138757 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] Add flag to specify an alternative to std::move (PR #138757)

2025-05-07 Thread Congcong Cai via cfe-commits
HerrCai0907 wrote: > Since :: are specified before std::move, I am not entirely sure whether it > would be required for the custom function. In my testing it worked both with > and without ::. with :: means is a full name including namespace, without :: means only match function name. https:

[clang-tools-extra] Add flag to specify an alternative to std::move (PR #138757)

2025-05-07 Thread Congcong Cai via cfe-commits
https://github.com/HerrCai0907 approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/138757 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [lldb] [clang] Add support for `__ptrauth` being applied to integer types (PR #137580)

2025-05-07 Thread Oliver Hunt via cfe-commits
https://github.com/ojhunt edited https://github.com/llvm/llvm-project/pull/137580 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] [llvm] [TargetVerifier][AMDGPU] Add TargetVerifier. (PR #123609)

2025-05-07 Thread via cfe-commits
https://github.com/jofrn updated https://github.com/llvm/llvm-project/pull/123609 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-ser

[clang] c16297c - [CUDA][HIP] Fix host/device attribute of builtin (#138162)

2025-05-07 Thread via cfe-commits
Author: Yaxun (Sam) Liu Date: 2025-05-07T22:03:33-04:00 New Revision: c16297cd3f0ed9d036e9cf16fb6885aa3c72d5d3 URL: https://github.com/llvm/llvm-project/commit/c16297cd3f0ed9d036e9cf16fb6885aa3c72d5d3 DIFF: https://github.com/llvm/llvm-project/commit/c16297cd3f0ed9d036e9cf16fb6885aa3c72d5d3.dif

[clang] [CUDA][HIP] Fix host/device attribute of builtin (PR #138162)

2025-05-07 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu closed https://github.com/llvm/llvm-project/pull/138162 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [RISCV] Add Andes XAndesVPackFPH (Andes Vector Packed FP16) extension. (PR #138827)

2025-05-07 Thread Jim Lin via cfe-commits
https://github.com/tclin914 updated https://github.com/llvm/llvm-project/pull/138827 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-

[clang] [Clang] Deprecate `__is_trivially_relocatable` (PR #138835)

2025-05-07 Thread via cfe-commits
dyung 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/buil

[clang] [clang] Constant-evaluate format strings as last resort (PR #135864)

2025-05-07 Thread via cfe-commits
=?utf-8?q?Félix?= Cloutier , =?utf-8?q?Félix?= Cloutier , =?utf-8?q?Félix?= Cloutier , =?utf-8?q?Félix?= Cloutier , =?utf-8?q?Félix?= Cloutier , =?utf-8?q?Félix?= Cloutier Message-ID: In-Reply-To: github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your c

[clang] [analyzer] Make it a noop when initializing a field of empty record (PR #138594)

2025-05-07 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-x86_64-debian-fast` running on `gribozavr4` while building `clang` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/56/builds/25255 Here is the rel

[clang] [analyzer] Make it a noop when initializing a field of empty record (PR #138594)

2025-05-07 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-x86_64-debian-dylib` running on `gribozavr4` while building `clang` at step 6 "test-build-unified-tree-check-clang". Full details are available at: https://lab.llvm.org/buildbot/#/builders/60/builds/26748 Here is the r

[clang] [clang] Constant-evaluate format strings as last resort (PR #135864)

2025-05-07 Thread via cfe-commits
https://github.com/apple-fcloutier updated https://github.com/llvm/llvm-project/pull/135864 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Aria

[clang] [clang] Mark some language options as benign. (PR #131569)

2025-05-07 Thread via cfe-commits
https://github.com/matts1 updated https://github.com/llvm/llvm-project/pull/131569 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-se

[clang] [llvm] Add support for Windows hot-patching (PR #138972)

2025-05-07 Thread via cfe-commits
@@ -0,0 +1,251 @@ +//===-- WindowsHotPatch.cpp - Support for Windows hotpatching -===// +// +// 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] [AMDGPU][Clang] Allow amdgpu-waves-per-eu attribute to lower target occupancy range (PR #138284)

2025-05-07 Thread Lucas Ramirez via cfe-commits
https://github.com/lucas-rami edited https://github.com/llvm/llvm-project/pull/138284 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [ItaniumMangle] Make sure class types are added to the dictionary of substitution candidates when compiling for older ABIs (PR #138947)

2025-05-07 Thread Akira Hatanaka via cfe-commits
https://github.com/ahatanak updated https://github.com/llvm/llvm-project/pull/138947 >From ece5ba2ee3adac03f058d5cc450ecf2ad70a5a70 Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Wed, 7 May 2025 12:00:08 -0700 Subject: [PATCH 1/2] [ItaniumMangle] Make sure class types are added to the dic

[clang] [HLSL][NFC] Stricter Overload Tests (clamp, max, min, pow) (PR #138993)

2025-05-07 Thread Ashley Coleman via cfe-commits
https://github.com/V-FEXrt updated https://github.com/llvm/llvm-project/pull/138993 >From 06b22eb40740588b55d2c71c096bace7dbc1c8c7 Mon Sep 17 00:00:00 2001 From: Ashley Coleman Date: Wed, 7 May 2025 17:51:58 -0600 Subject: [PATCH 1/2] [HLSL][NFC] Stricter Overload Tests (clamp,max,min,pow) ---

[clang] [llvm] Add support for Windows hot-patching (PR #138972)

2025-05-07 Thread via cfe-commits
https://github.com/sivadeilra updated https://github.com/llvm/llvm-project/pull/138972 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,san

[clang] [HLSL][NFC] Stricter Overload Tests (clamp, max, min, pow) (PR #138993)

2025-05-07 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Ashley Coleman (V-FEXrt) Changes Partial implementation of #138016 to unblock other ongoing work. NFC --- Patch is 33.33 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/138993.diff 4 Files Aff

[clang] [webkit.UncountedLambdaCapturesChecker] Treat every argument of std::ranges functions as noescape. (PR #138995)

2025-05-07 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 HEAD~1 HEAD --extensions cpp -- clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefLam

[clang] [llvm] [AMDGPU][Clang] Allow amdgpu-waves-per-eu attribute to lower target occupancy range (PR #138284)

2025-05-07 Thread Lucas Ramirez via cfe-commits
https://github.com/lucas-rami edited https://github.com/llvm/llvm-project/pull/138284 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [AMDGPU] Allow 0 as min./max. of amdgpu-waves-per-eu (PR #138284)

2025-05-07 Thread Lucas Ramirez via cfe-commits
https://github.com/lucas-rami edited https://github.com/llvm/llvm-project/pull/138284 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [AMDGPU] Allow 0 as min./max. of amdgpu-waves-per-eu (PR #138284)

2025-05-07 Thread Lucas Ramirez via cfe-commits
lucas-rami wrote: > It doesn't add the attribute if it's 0? Indeed I missed this, sorry. > I don't see a reason to support this on the IR level. We should just make it > a verifier error to use 0. After further investigation and from what I can understand sema already rejects a minimum of 0

[clang] [webkit.UncountedLambdaCapturesChecker] Treat every argument of std::ranges functions as noescape. (PR #138995)

2025-05-07 Thread Ryosuke Niwa via cfe-commits
https://github.com/rniwa updated https://github.com/llvm/llvm-project/pull/138995 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-ser

[clang] [llvm] [AMDGPU] Allow 0 as min./max. of amdgpu-waves-per-eu (PR #138284)

2025-05-07 Thread Lucas Ramirez via cfe-commits
https://github.com/lucas-rami updated https://github.com/llvm/llvm-project/pull/138284 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,san

[clang] [HLSL][NFC] Stricter Overload Tests (clamp, max, min, pow) (PR #138993)

2025-05-07 Thread Justin Bogner via cfe-commits
https://github.com/bogner approved this pull request. https://github.com/llvm/llvm-project/pull/138993 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [HLSL][NFC] Stricter Overload Tests (clamp, max, min, pow) (PR #138993)

2025-05-07 Thread Ashley Coleman via cfe-commits
https://github.com/V-FEXrt created https://github.com/llvm/llvm-project/pull/138993 Partial implementation of #138016 to unblock other ongoing work. NFC Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-fam

[clang] [webkit.UncountedLambdaCapturesChecker] Treat every argument of std::ranges functions as noescape. (PR #138995)

2025-05-07 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Ryosuke Niwa (rniwa) Changes Functions in std::ranges namespace does not store the lambada passed-in as an arugment in heap so treat such an argument as if it has [[noescape]] in the WebKit lambda capture checker so that we don't emit war

[clang] [llvm] [AMDGPU][clang][CodeGen][opt] Add late-resolved feature identifying predicates (PR #134016)

2025-05-07 Thread Alex Voicu via cfe-commits
https://github.com/AlexVlx updated https://github.com/llvm/llvm-project/pull/134016 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-s

[clang] [webkit.UncountedLambdaCapturesChecker] Treat every argument of std::ranges functions as noescape. (PR #138995)

2025-05-07 Thread Ryosuke Niwa via cfe-commits
https://github.com/rniwa created https://github.com/llvm/llvm-project/pull/138995 Functions in std::ranges namespace does not store the lambada passed-in as an arugment in heap so treat such an argument as if it has [[noescape]] in the WebKit lambda capture checker so that we don't emit warnin

[clang] [llvm] [AMDGPU][clang][CodeGen][opt] Add late-resolved feature identifying predicates (PR #134016)

2025-05-07 Thread Alex Voicu via cfe-commits
https://github.com/AlexVlx edited https://github.com/llvm/llvm-project/pull/134016 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [AMDGPU][clang][CodeGen][opt] Add late-resolved feature identifying predicates (PR #134016)

2025-05-07 Thread Alex Voicu via cfe-commits
https://github.com/AlexVlx commented: > A side question, is it legal to use the builtin in unstructured control flow, > like here: https://godbolt.org/z/no7Kzv19r ? Note, if the answer is "no", > then enforcing the builtin to initialize something would (probably) > automatically prevent this c

[clang] [HLSL][NFC] Stricter Overload Tests (clamp, max, min, pow) (PR #138993)

2025-05-07 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-hlsl Author: Ashley Coleman (V-FEXrt) Changes Partial implementation of #138016 to unblock other ongoing work. NFC --- Patch is 33.33 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/138993.diff 4 Files Affe

[clang] 45b5cc0 - [Clang] Fix the warning group of several compatibilty diagnostics (#138872)

2025-05-07 Thread via cfe-commits
Author: Sirraide Date: 2025-05-08T01:41:57+02:00 New Revision: 45b5cc08e5823c59802f88ec3f27108ab98c1eb9 URL: https://github.com/llvm/llvm-project/commit/45b5cc08e5823c59802f88ec3f27108ab98c1eb9 DIFF: https://github.com/llvm/llvm-project/commit/45b5cc08e5823c59802f88ec3f27108ab98c1eb9.diff LOG:

[clang] [Clang] Fix the warning group of several compatibilty diagnostics (PR #138872)

2025-05-07 Thread via cfe-commits
https://github.com/Sirraide closed https://github.com/llvm/llvm-project/pull/138872 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][modules][deps] Implicit modules are out of date when their explicit imports are (PR #138920)

2025-05-07 Thread Jan Svoboda via cfe-commits
@@ -0,0 +1,77 @@ +// Test that modifications to a common header (imported from both a PCH and a TU) +// cause rebuilds of dependent modules imported from the TU on incremental build. + +// RUN: rm -rf %t +// RUN: split-file %s %t + +//--- module.modulemap +module mod_common { he

[clang] [clang][modules][deps] Implicit modules are out of date when their explicit imports are (PR #138920)

2025-05-07 Thread Jan Svoboda via cfe-commits
https://github.com/jansvoboda11 updated https://github.com/llvm/llvm-project/pull/138920 >From 306a9ceab9aa77ccb2752e847339c5a67e672549 Mon Sep 17 00:00:00 2001 From: Jan Svoboda Date: Wed, 7 May 2025 10:10:47 -0700 Subject: [PATCH 1/2] [clang][modules][deps] Rebuild implicit modules when thei

[clang-tools-extra] [clang-doc] Add HTMLMustacheGenerator.cpp (PR #138060)

2025-05-07 Thread Paul Kirth via cfe-commits
@@ -0,0 +1,85 @@ +//===-- HTMLMustacheGenerator.cpp - HTML Mustache Generator -*- 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-tools-extra] [clang-doc] Add HTMLMustacheGenerator.cpp (PR #138060)

2025-05-07 Thread Paul Kirth via cfe-commits
@@ -535,6 +535,8 @@ struct ClangDocContext { // JavaScript files that will be imported in all HTML files. std::vector JsScripts; StringRef Base; + // Mustache Template files ilovepi wrote: My understanding is that it provides a mapping to of a template

[clang-tools-extra] [clang-doc] Add HTMLMustacheGenerator.cpp (PR #138060)

2025-05-07 Thread Paul Kirth via cfe-commits
@@ -0,0 +1,87 @@ +//===-- clang-doc/HTMLMustacheGeneratorTest.cpp ---===// +// +// 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] Add support for Windows hot-patching (PR #138972)

2025-05-07 Thread Eli Friedman via cfe-commits
@@ -0,0 +1,251 @@ +//===-- WindowsHotPatch.cpp - Support for Windows hotpatching -===// +// +// 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] Add support for Windows hot-patching (PR #138972)

2025-05-07 Thread Eli Friedman via cfe-commits
@@ -0,0 +1,251 @@ +//===-- WindowsHotPatch.cpp - Support for Windows hotpatching -===// +// +// 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-tools-extra] [clang-doc] Add HTMLMustacheGenerator.cpp (PR #138060)

2025-05-07 Thread Paul Kirth via cfe-commits
@@ -0,0 +1,85 @@ +//===-- HTMLMustacheGenerator.cpp - HTML Mustache Generator -*- C++ -*-===// ilovepi wrote: Ah, good catch. https://github.com/llvm/llvm-project/pull/138060 ___ cfe-commits mailing list cfe-commi

[clang] [llvm] Add support for Windows hot-patching (PR #138972)

2025-05-07 Thread via cfe-commits
@@ -0,0 +1,251 @@ +//===-- WindowsHotPatch.cpp - Support for Windows hotpatching -===// +// +// 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-tools-extra] [clang-doc] Add missing comment for Base (PR #138053)

2025-05-07 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi closed https://github.com/llvm/llvm-project/pull/138053 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] 59a73bd - [clang-doc] Add missing comment for Base (#138053)

2025-05-07 Thread via cfe-commits
Author: Paul Kirth Date: 2025-05-07T16:24:27-07:00 New Revision: 59a73bdbc4c7b99a4b82ecd0d246267815699077 URL: https://github.com/llvm/llvm-project/commit/59a73bdbc4c7b99a4b82ecd0d246267815699077 DIFF: https://github.com/llvm/llvm-project/commit/59a73bdbc4c7b99a4b82ecd0d246267815699077.diff LO

[clang-tools-extra] [clang-doc][NFC] Add TODO for future work (PR #138052)

2025-05-07 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi closed https://github.com/llvm/llvm-project/pull/138052 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] 83e1f34 - [clang-doc][NFC] Add TODO for future work (#138052)

2025-05-07 Thread via cfe-commits
Author: Paul Kirth Date: 2025-05-07T16:24:02-07:00 New Revision: 83e1f34c1c8c7b5d2c53a45dfb44cf3766f7c345 URL: https://github.com/llvm/llvm-project/commit/83e1f34c1c8c7b5d2c53a45dfb44cf3766f7c345 DIFF: https://github.com/llvm/llvm-project/commit/83e1f34c1c8c7b5d2c53a45dfb44cf3766f7c345.diff LO

[clang-tools-extra] [clang-doc] Add missing comment for Base (PR #138053)

2025-05-07 Thread Paul Kirth via cfe-commits
ilovepi wrote: ### Merge activity * **May 7, 7:22 PM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/138053). https://github.com/llvm/llvm-project/pull/138053 _

[clang-tools-extra] [clang-doc][NFC] Add TODO for future work (PR #138052)

2025-05-07 Thread Paul Kirth via cfe-commits
ilovepi wrote: ### Merge activity * **May 7, 7:22 PM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/138052). https://github.com/llvm/llvm-project/pull/138052 _

[clang] [clang][modules][deps] Optimize in-process timestamping of PCMs (PR #137363)

2025-05-07 Thread Jan Svoboda via cfe-commits
jansvoboda11 wrote: (Just adding a note here for my records that this speeds up from-scratch scans by 1.4% and incremental _null_ scans by 67% on my benchmark.) https://github.com/llvm/llvm-project/pull/137363 ___ cfe-commits mailing list cfe-commits@

[clang-tools-extra] [clang-doc][NFC] Add TODO for future work (PR #138052)

2025-05-07 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/138052 >From 3e612b30626cfe3963fdbed341c028a8a8f0917e Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 29 Apr 2025 18:11:55 -0700 Subject: [PATCH 1/2] [clang-doc][NFC] Add TODO for future work --- clang-tools-ext

[clang] [clang][OpenMP] Add error for large expr in collapse clause (PR #138592)

2025-05-07 Thread via cfe-commits
k-arrows wrote: In addition to the collapse clause, the ordered clause also seems to have the same problem. For example, does your patch also fix the following crash? If so, you also need tests regarding the ordered clause. https://godbolt.org/z/96sa5jxff ```cpp void f(void) { #pragma omp for o

[clang] [llvm] Add support for Windows hot-patching (PR #138972)

2025-05-07 Thread Eli Friedman via cfe-commits
@@ -0,0 +1,251 @@ +//===-- WindowsHotPatch.cpp - Support for Windows hotpatching -===// +// +// 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] Add support for Windows hot-patching (PR #138972)

2025-05-07 Thread via cfe-commits
@@ -0,0 +1,251 @@ +//===-- WindowsHotPatch.cpp - Support for Windows hotpatching -===// +// +// 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] Add support for Windows hot-patching (PR #138972)

2025-05-07 Thread via cfe-commits
@@ -0,0 +1,251 @@ +//===-- WindowsHotPatch.cpp - Support for Windows hotpatching -===// +// +// 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] Add support for Windows hot-patching (PR #138972)

2025-05-07 Thread Eli Friedman via cfe-commits
@@ -0,0 +1,251 @@ +//===-- WindowsHotPatch.cpp - Support for Windows hotpatching -===// +// +// 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

  1   2   3   4   5   >