[clang] 629126e - [clang][bytecode][NFC] Remove some dead code (#146287)

2025-06-29 Thread via cfe-commits
Author: Timm Baeder Date: 2025-06-30T08:35:01+02:00 New Revision: 629126ed44bd3ce5b6f476459c805be4e4e0c2ca URL: https://github.com/llvm/llvm-project/commit/629126ed44bd3ce5b6f476459c805be4e4e0c2ca DIFF: https://github.com/llvm/llvm-project/commit/629126ed44bd3ce5b6f476459c805be4e4e0c2ca.diff L

[clang] [clang][bytecode][NFC] Remove some dead code (PR #146287)

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

[clang] [RISCV] Add missing intrinsicis vrgatherei16/vslideup/vslidedown support for Zvfbfmin (PR #146309)

2025-06-29 Thread Jim Lin via cfe-commits
https://github.com/tclin914 edited https://github.com/llvm/llvm-project/pull/146309 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV] Add missing intrinsicis vrgatherei16/vslideup/vslidedown support for Zvfbfmin (PR #146309)

2025-06-29 Thread Jim Lin via cfe-commits
https://github.com/tclin914 edited https://github.com/llvm/llvm-project/pull/146309 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Forward sysroot from Driver to linker in BareMetal ToolChain Object (PR #132808)

2025-06-29 Thread Garvit Gupta via cfe-commits
https://github.com/quic-garvgupt updated https://github.com/llvm/llvm-project/pull/132808 >From e302490b6e6350951e75bd68578606aa7909692e Mon Sep 17 00:00:00 2001 From: Garvit Gupta Date: Mon, 24 Mar 2025 07:04:59 -0700 Subject: [PATCH] [Driver] Forward sysroot from Driver to linker in BareMetal

[clang] [Clang][Sema] Require `BaseClass::` (not other classes) in member using-declaration in C++98 mode (PR #143492)

2025-06-29 Thread Yanzuo Liu via cfe-commits
https://github.com/zwuis updated https://github.com/llvm/llvm-project/pull/143492 >From 658f3d3cb72ff9fbdb2315f894f39956eeabf135 Mon Sep 17 00:00:00 2001 From: Yanzuo Liu Date: Tue, 10 Jun 2025 16:41:57 +0800 Subject: [PATCH 1/4] Apply CWG400 'Using-declarations and the "struct hack"' to C++98

[clang] 2d94c08 - Reland [Driver] Add option to force undefined symbols during linking in BareMetal toolchain object. (#146304)

2025-06-29 Thread via cfe-commits
Author: Garvit Gupta Date: 2025-06-30T10:58:06+05:30 New Revision: 2d94c08d03ada0a4d3c30a93594d0381946aa85a URL: https://github.com/llvm/llvm-project/commit/2d94c08d03ada0a4d3c30a93594d0381946aa85a DIFF: https://github.com/llvm/llvm-project/commit/2d94c08d03ada0a4d3c30a93594d0381946aa85a.diff

[clang] [llvm] [Transforms] Add LifetimeMovePass (PR #144319)

2025-06-29 Thread Weibo He via cfe-commits
NewSigma wrote: CI fail seems not related. I'm marking it ready for review because it works in my tests with ASAN enabled, both for coro code and non-coro code. The non-coro part should be landed in another PR if current patch looks good. https://github.com/llvm/llvm-project/pull/144319 _

[clang] [llvm] [Transforms] Add LifetimeMovePass (PR #144319)

2025-06-29 Thread Weibo He via cfe-commits
https://github.com/NewSigma ready_for_review https://github.com/llvm/llvm-project/pull/144319 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Reland[Driver] Add option to force undefined symbols during linking in BareMetal toolchain object. (PR #146304)

2025-06-29 Thread Garvit Gupta via cfe-commits
https://github.com/quic-garvgupt closed https://github.com/llvm/llvm-project/pull/146304 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV] Add missing intrinsicis vrgatherei16/vslideup/vslidedown support for Zvfbfhmin (PR #146309)

2025-06-29 Thread Jim Lin via cfe-commits
tclin914 wrote: > LLVM IR intrinsicis for vrgatherei16/vslideup/vslidedown have been supported. Sorry, I found LLVM IR intrinsicis for vrgatherei16/vslideup/vslidedown actually haven't been supported. https://github.com/llvm/llvm-project/pull/146309

[clang] [RISCV] Add missing intrinsicis vrgatherei16/vslideup/vslidedown support for Zvfbfhmin (PR #146309)

2025-06-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v Author: Jim Lin (tclin914) Changes LLVM IR intrinsicis for vrgatherei16/vslideup/vslidedown have been supported. --- Patch is 180.97 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/146309.diff

[libunwind] [libunwind] Fix return type of `DwarfFDECache::findFDE()` in definition (PR #146308)

2025-06-29 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 hpp -- libunwind/src/UnwindCursor.hpp `` View t

[libunwind] [libunwind] Fix return type of `DwarfFDECache::findFDE()` in definition (PR #146308)

2025-06-29 Thread Alex Rønne Petersen via cfe-commits
https://github.com/alexrp updated https://github.com/llvm/llvm-project/pull/146308 From 3600ba7b2028610d62cebebe30c8f81a72801941 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Mon, 30 Jun 2025 06:34:44 +0200 Subject: [PATCH] [libunwind] Fix return type of DwarfFDE

[libunwind] [libunwind] Fix return type of `DwarfFDECache::findFDE()` in definition (PR #146308)

2025-06-29 Thread Alex Rønne Petersen via cfe-commits
https://github.com/alexrp updated https://github.com/llvm/llvm-project/pull/146308 From bd8a55f328e0b22f735d5c0049582c2bf60b51d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Mon, 30 Jun 2025 06:34:44 +0200 Subject: [PATCH] [libunwind] Fix return type of DwarfFDE

[libunwind] [libunwind] Fix return type of `DwarfFDECache::findFDE()` in definition (PR #146308)

2025-06-29 Thread Alex Rønne Petersen via cfe-commits
https://github.com/alexrp edited https://github.com/llvm/llvm-project/pull/146308 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libunwind] [libunwind] Fix return type of `DwarfFDECache::find()` in definition (PR #146308)

2025-06-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-libunwind Author: Alex Rønne Petersen (alexrp) Changes Needed to resolve this compilation error on some systems: lib/libunwind/src/UnwindCursor.hpp:153:38: error: return type of out-of-line definition of 'libunwind::DwarfFDECache::findFDE' diff

[libunwind] [libunwind] Fix return type of `DwarfFDECache::find()` in definition (PR #146308)

2025-06-29 Thread Alex Rønne Petersen via cfe-commits
https://github.com/alexrp created https://github.com/llvm/llvm-project/pull/146308 Needed to resolve this compilation error on some systems: lib/libunwind/src/UnwindCursor.hpp:153:38: error: return type of out-of-line definition of 'libunwind::DwarfFDECache::findFDE' differs from that

[clang] [llvm] [AMDGPU] Add support for `v_cvt_f16_fp8` on gfx1250 (PR #146302)

2025-06-29 Thread Shilei Tian via cfe-commits
https://github.com/shiltian updated https://github.com/llvm/llvm-project/pull/146302 >From 8b078d8346b7c9e949700d7e5c2a4ec9e29a2138 Mon Sep 17 00:00:00 2001 From: Shilei Tian Date: Sun, 29 Jun 2025 23:47:12 -0400 Subject: [PATCH] [AMDGPU] Add support for `v_cvt_f16_fp8` on gfx1250 Co-authored-

[clang] [clang] Build the Z3 mock module via CMake (PR #146284)

2025-06-29 Thread Balazs Benics via cfe-commits
https://github.com/steakhal approved this pull request. https://github.com/llvm/llvm-project/pull/146284 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [AMDGPU] Add support for `v_cvt_f16_fp8` on gfx1250 (PR #146302)

2025-06-29 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/146302 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] AMDGPU: support s_monitor_sleep on gfx1250 (PR #146293)

2025-06-29 Thread Changpeng Fang via cfe-commits
https://github.com/changpeng closed https://github.com/llvm/llvm-project/pull/146293 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] bb982e7 - AMDGPU: support s_monitor_sleep on gfx1250 (#146293)

2025-06-29 Thread via cfe-commits
Author: Changpeng Fang Date: 2025-06-29T21:01:47-07:00 New Revision: bb982e733cfcda7e4cfb0583544f68af65211ed1 URL: https://github.com/llvm/llvm-project/commit/bb982e733cfcda7e4cfb0583544f68af65211ed1 DIFF: https://github.com/llvm/llvm-project/commit/bb982e733cfcda7e4cfb0583544f68af65211ed1.diff

[clang] [clang] Improve constexpr-unknown diagnostics. (PR #146288)

2025-06-29 Thread Eli Friedman via cfe-commits
https://github.com/efriedma-quic updated https://github.com/llvm/llvm-project/pull/146288 >From c678e8f0978480fadf3f7d2ffc30cd1d8229a9fa Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Sun, 29 Jun 2025 12:30:28 -0700 Subject: [PATCH 1/4] [clang] Improve constexpr-unknown diagnostics. APValue

[clang] [llvm] [AMDGPU] Add support for `v_cvt_f16_fp8` on gfx1250 (PR #146302)

2025-06-29 Thread Shilei Tian via cfe-commits
https://github.com/shiltian edited https://github.com/llvm/llvm-project/pull/146302 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [AMDGPU] Add support for `v_cvt_f16_fp8` on gfx1250 (PR #146302)

2025-06-29 Thread Shilei Tian via cfe-commits
https://github.com/shiltian updated https://github.com/llvm/llvm-project/pull/146302 >From befea46e97c499f3b1ad0e3ac17ecadebc74acc1 Mon Sep 17 00:00:00 2001 From: Shilei Tian Date: Sun, 29 Jun 2025 23:47:12 -0400 Subject: [PATCH] [AMDGPU] Add support for `v_cvt_f16_fp8` on gfx1250 Co-authored-

[clang] [llvm] [AMDGPU] Add support for `v_cvt_f16_fp8` on gfx1250 (PR #146302)

2025-06-29 Thread Shilei Tian via cfe-commits
shiltian wrote: Oh indeed! I didn't notice that… https://github.com/llvm/llvm-project/pull/146302 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [AMDGPU] Add support for `v_cvt_f16_fp8` on gfx1250 (PR #146302)

2025-06-29 Thread Matt Arsenault via cfe-commits
arsenm wrote: > > > Co-authored-by: Shilei Tian > > > [i...@tianshilei.me](mailto:i...@tianshilei.me) > > > > > > Co authored by yourself? > > Yes, because if you check the commit, the author is @rampitec. After merging on GitHub, the PR author is listed as the author. You should swap these

[clang] [llvm] [AMDGPU] Add support for `v_cvt_f16_fp8` on gfx1250 (PR #146302)

2025-06-29 Thread Shilei Tian via cfe-commits
shiltian wrote: > > Co-authored-by: Shilei Tian [i...@tianshilei.me](mailto:i...@tianshilei.me) > > Co authored by yourself? Yes, because if you check the commit, the author is @rampitec. https://github.com/llvm/llvm-project/pull/146302 ___ cfe-commi

[clang] [llvm] [AMDGPU] Add support for `v_cvt_f16_fp8` on gfx1250 (PR #146302)

2025-06-29 Thread Matt Arsenault via cfe-commits
arsenm wrote: > Co-authored-by: Shilei Tian [i...@tianshilei.me](mailto:i...@tianshilei.me) Co authored by yourself? https://github.com/llvm/llvm-project/pull/146302 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-b

[clang] Reland[Driver] Add option to force undefined symbols during linking in BareMetal toolchain object. (PR #146304)

2025-06-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver @llvm/pr-subscribers-clang Author: Garvit Gupta (quic-garvgupt) Changes Add support for `-u` option to force defined symbols. This option is supported by both lld and gnuld. This is done as a part of the effort to merge RISCVToolchain obje

[clang] Reland[Driver] Add option to force undefined symbols during linking in BareMetal toolchain object. (PR #146304)

2025-06-29 Thread Garvit Gupta via cfe-commits
https://github.com/quic-garvgupt created https://github.com/llvm/llvm-project/pull/146304 Add support for `-u` option to force defined symbols. This option is supported by both lld and gnuld. This is done as a part of the effort to merge RISCVToolchain object into BareMetal toolchain object.

[clang] a17f635 - Reland [Driver] Fix link order of BareMetal toolchain object (#146291)

2025-06-29 Thread via cfe-commits
Author: Garvit Gupta Date: 2025-06-30T08:47:37+05:30 New Revision: a17f63590ac077a5705c9bed8d4e025b3ef4b299 URL: https://github.com/llvm/llvm-project/commit/a17f63590ac077a5705c9bed8d4e025b3ef4b299 DIFF: https://github.com/llvm/llvm-project/commit/a17f63590ac077a5705c9bed8d4e025b3ef4b299.diff

[clang] 59eaffe - [RISCV] Remove required features zvfhmin from vslideup/vslidedown

2025-06-29 Thread Jim Lin via cfe-commits
Author: Jim Lin Date: 2025-06-30T11:14:46+08:00 New Revision: 59eaffe93aec6dc116ab7db5ebfee84a6e36112d URL: https://github.com/llvm/llvm-project/commit/59eaffe93aec6dc116ab7db5ebfee84a6e36112d DIFF: https://github.com/llvm/llvm-project/commit/59eaffe93aec6dc116ab7db5ebfee84a6e36112d.diff LOG:

[clang-tools-extra] [clangd] `--header-insertion` CLI fix (PR #146235)

2025-06-29 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-darwin` running on `doug-worker-3` while building `clang-tools-extra` at step 2 "checkout". Full details are available at: https://lab.llvm.org/buildbot/#/builders/23/builds/11723 Here is the relevant piec

[clang] Reland [Driver] Fix link order of BareMetal toolchain object (PR #146291)

2025-06-29 Thread Garvit Gupta via cfe-commits
https://github.com/quic-garvgupt closed https://github.com/llvm/llvm-project/pull/146291 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Build the Z3 mock module via CMake (PR #146284)

2025-06-29 Thread Michał Górny via cfe-commits
mgorny wrote: Hmm, but I see it's already part of #145895 — and I think that PR will apply cleanly once this change is made, so I think it's better to keep them separately and focused on a single aspect. https://github.com/llvm/llvm-project/pull/146284 _

[clang] [NFC][analyzer] Use %clang_analyze_cc1 consistently (PR #145895)

2025-06-29 Thread Michał Górny via cfe-commits
https://github.com/mgorny approved this pull request. Makes sense to me. https://github.com/llvm/llvm-project/pull/145895 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Transforms] Add LifetimeMovePass (PR #144319)

2025-06-29 Thread via cfe-commits
github-actions[bot] wrote: :warning: undef deprecator found issues in your code. :warning: You can test this locally with the following command: ``bash git diff -U0 --pickaxe-regex -S '([^a-zA-Z0-9#_-]undef[^a-zA-Z0-9_-]|UndefValue::get)' 'HEAD~1' HEAD llvm/include/llvm/Transfor

[clang] [llvm] [AMDGPU] Add support for `v_cvt_f16_fp8` on gfx1250 (PR #146302)

2025-06-29 Thread via cfe-commits
github-actions[bot] wrote: :warning: undef deprecator found issues in your code. :warning: You can test this locally with the following command: ``bash git diff -U0 --pickaxe-regex -S '([^a-zA-Z0-9#_-]undef[^a-zA-Z0-9_-]|UndefValue::get)' 'HEAD~1' HEAD llvm/lib/Target/AMDGPU/AMD

[clang] [llvm] [AMDGPU] Add support for `v_cvt_f16_fp8` on gfx1250 (PR #146302)

2025-06-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-ir Author: Shilei Tian (shiltian) Changes Co-authored-by: Shilei Tian --- Patch is 61.74 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/146302.diff 26 Files Affected: - (modified) c

[clang] [llvm] [AMDGPU] Add support for `v_cvt_f16_fp8` on gfx1250 (PR #146302)

2025-06-29 Thread Shilei Tian via cfe-commits
shiltian wrote: * **#146302** https://app.graphite.dev/github/pr/llvm/llvm-project/146302?utm_source=stack-comment-icon"; target="_blank">https://static.graphite.dev/graphite-32x32-black.png"; alt="Graphite" width="10px" height="10px"/> 👈 https://app.graphite.dev/github/pr/llvm/llvm-project/146

[clang] [llvm] [AMDGPU] Add support for `v_cvt_f16_fp8` on gfx1250 (PR #146302)

2025-06-29 Thread Shilei Tian via cfe-commits
https://github.com/shiltian created https://github.com/llvm/llvm-project/pull/146302 Co-authored-by: Shilei Tian >From ed3e22a2edc87f68c19ed8b27527ee09dda795cf Mon Sep 17 00:00:00 2001 From: "Mekhanoshin, Stanislav" Date: Sun, 29 Jun 2025 22:58:17 -0400 Subject: [PATCH] [AMDGPU] Add support f

[clang] [win][clang] Align scalar deleting destructors with MSABI (PR #139566)

2025-06-29 Thread via cfe-commits
@@ -46,6 +46,22 @@ Potentially Breaking Changes ``endbr64`` instruction at the labels named as possible branch destinations, so it is not safe to use a register-controlled branch instruction to branch to one. (In line with gcc.) +- Scalar deleting destructor support has b

[clang] [clang][SPIRV] Remove volatile variants of GenericCastToPtr* built-ins (PR #146298)

2025-06-29 Thread Wenju He via cfe-commits
https://github.com/wenju-he created https://github.com/llvm/llvm-project/pull/146298 They are generally implemented with pointer comparison. Volatile is not needed because memory pointed to by the pointer isn't accessed. >From f77e5b48204609cb9b0c1c4dd6684de013be5008 Mon Sep 17 00:00:00 2001 F

[clang] [clang] odr-checker fix for conversion operators (PR #146153)

2025-06-29 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 approved this pull request. SGTM https://github.com/llvm/llvm-project/pull/146153 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][SPIRV] Remove volatile variants of GenericCastToPtr* built-ins (PR #146298)

2025-06-29 Thread Wenju He via cfe-commits
https://github.com/wenju-he edited https://github.com/llvm/llvm-project/pull/146298 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][SPIRV] Remove volatile variants of GenericCastToPtr* built-ins (PR #146298)

2025-06-29 Thread Wenju He via cfe-commits
https://github.com/wenju-he edited https://github.com/llvm/llvm-project/pull/146298 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] [Sema] Suggest [[noreturn]] for void functions that always throw (PR #146234)

2025-06-29 Thread via cfe-commits
https://github.com/hstk30-hw approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/146234 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] [modules] Add err_main_in_named_module (PR #146247)

2025-06-29 Thread Chuanqi Xu via cfe-commits
ChuanqiXu9 wrote: I prefer a warning instead of hard error. There are already users who uses this. https://github.com/llvm/llvm-project/pull/146247 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/

[clang] [clang][SPIRV] Remove volatile variants of GenericCastToPtr* built-ins (PR #146298)

2025-06-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Wenju He (wenju-he) Changes They are generally implemented with pointer comparison. Volatile is not needed because memory pointed to by the pointer isn't accessed. --- Full diff: https://github.com/llvm/llvm-project/pull/146298.diff 1 F

[clang] [clang-tools-extra] [clang] skip explicit obj param in code complete (PR #146258)

2025-06-29 Thread via cfe-commits
MythreyaK wrote: > What about "ExplicitObjectMemberFunction"? It seems that this part of feature > has not been tested. @zwuis yeah. This addresses only the function arg in the inserted snippet, not the member functions. _Originally posted by @HighCommander4 in [#109608](https://github.com/

[clang] [clang-tools-extra] [clang] skip explicit obj param in code complete (PR #146258)

2025-06-29 Thread Yanzuo Liu via cfe-commits
zwuis wrote: What about "ExplicitObjectMemberFunction"? It seems that this part of feature has not been tested. https://github.com/llvm/llvm-project/pull/146258 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mai

[clang] [clang] Improve constexpr-unknown diagnostics. (PR #146288)

2025-06-29 Thread Eli Friedman via cfe-commits
https://github.com/efriedma-quic updated https://github.com/llvm/llvm-project/pull/146288 >From c678e8f0978480fadf3f7d2ffc30cd1d8229a9fa Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Sun, 29 Jun 2025 12:30:28 -0700 Subject: [PATCH 1/3] [clang] Improve constexpr-unknown diagnostics. APValue

[clang] [clang-format][NFC] Replace a function with StringRef::contains (PR #146245)

2025-06-29 Thread Owen Pan via cfe-commits
owenca wrote: > While it is less code, I find a bit harder to understand and the code gen is > far worse: https://gcc.godbolt.org/z/KzG4YnTh3 `IsBlank` is misleading because of `std::isblank` whereas `Blanks.contains` is not, so the latter has better readability for me. As to the generated cod

[clang] [clang-tools-extra] [clang] skip explicit obj param in code complete (PR #146258)

2025-06-29 Thread via cfe-commits
https://github.com/MythreyaK updated https://github.com/llvm/llvm-project/pull/146258 >From a839ba01fc05750ca880ac430a70f7df766f7694 Mon Sep 17 00:00:00 2001 From: Mythreya Kuricheti Date: Sat, 28 Jun 2025 19:06:06 -0700 Subject: [PATCH 1/2] [clang] skip explicit obj param in code complete Ski

[clang] [llvm] Fix Windows EH IP2State tables (remove +1 bias) (PR #144745)

2025-06-29 Thread Matt Arsenault via cfe-commits
@@ -2660,6 +2644,122 @@ void X86AsmPrinter::emitCallInstruction(const llvm::MCInst &MCI) { OutStreamer->emitInstruction(MCI, getSubtargetInfo()); } +// Checks whether a NOP is required after a CALL and inserts the NOP, if +// necessary. +void X86AsmPrinter::maybeEmitNopAfte

[clang] [clang-tools-extra] [clang] skip explicit obj param in code complete (PR #146258)

2025-06-29 Thread via cfe-commits
https://github.com/MythreyaK updated https://github.com/llvm/llvm-project/pull/146258 >From a839ba01fc05750ca880ac430a70f7df766f7694 Mon Sep 17 00:00:00 2001 From: Mythreya Kuricheti Date: Sat, 28 Jun 2025 19:06:06 -0700 Subject: [PATCH 1/2] [clang] skip explicit obj param in code complete Ski

[clang] [llvm] AMDGPU: support s_monitor_sleep on gfx1250 (PR #146293)

2025-06-29 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/146293 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Improve constexpr-unknown diagnostics. (PR #146288)

2025-06-29 Thread Eli Friedman via cfe-commits
https://github.com/efriedma-quic updated https://github.com/llvm/llvm-project/pull/146288 >From c678e8f0978480fadf3f7d2ffc30cd1d8229a9fa Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Sun, 29 Jun 2025 12:30:28 -0700 Subject: [PATCH 1/2] [clang] Improve constexpr-unknown diagnostics. APValue

[clang] [llvm] [AMDGPU] Add alignment attr & propagate alignment through make.buffer.rsrc inst (PR #145278)

2025-06-29 Thread via cfe-commits
https://github.com/Shoreshen updated https://github.com/llvm/llvm-project/pull/145278 >From 888df5412b37bd3f232bdb38c9f89786d042fe75 Mon Sep 17 00:00:00 2001 From: shore <372660...@qq.com> Date: Mon, 23 Jun 2025 14:12:15 +0800 Subject: [PATCH 1/5] Add alignment attr & propagate alignment through

[clang] [llvm] Fix Windows EH IP2State tables (remove +1 bias) (PR #144745)

2025-06-29 Thread Kimhak Kimho via cfe-commits
kimhak168 wrote: SllfjhvmSSllf On Mon, Jun 30, 2025, 5:31 AM sivadeilra ***@***.***> wrote: > ***@***. commented on this pull request. > -- > > In llvm/lib/Target/X86/X86MCInstLower.cpp > :

[clang] [clang-tools-extra] [clang] skip explicit obj param in code complete (PR #146258)

2025-06-29 Thread via cfe-commits
MythreyaK wrote: Thank you for patiently giving me pointers and links! Definitely came in handy! I just noticed that I didn't follow a pattern with the test naming. * Something along the lines of "ignore/skip `self` parameter in deducing this" is more user-friendly * "ignore/skip explicit obje

[clang] [llvm] AMDGPU: support s_monitor_sleep on gfx1250 (PR #146293)

2025-06-29 Thread Changpeng Fang via cfe-commits
https://github.com/changpeng edited https://github.com/llvm/llvm-project/pull/146293 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] AMDGPU: support s_monitor_sleep on gfx1250 (PR #146293)

2025-06-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Changpeng Fang (changpeng) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/146293.diff 8 Files Affected: - (modified) clang/include/clang/Basic/BuiltinsAMDGPU.def (+1) - (modified) clang/test/CodeGenOpenCL/bu

[clang] [llvm] AMDGPU: support s_monitor_sleep on gfx1250 (PR #146293)

2025-06-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Changpeng Fang (changpeng) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/146293.diff 8 Files Affected: - (modified) clang/include/clang/Basic/BuiltinsAMDGPU.def (+1) - (modified) clang/test/CodeGenOpenCL/builtins-am

[clang] [llvm] AMDGPU: support s_monitor_sleep on gfx1250 (PR #146293)

2025-06-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-ir @llvm/pr-subscribers-mc Author: Changpeng Fang (changpeng) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/146293.diff 8 Files Affected: - (modified) clang/include/clang/Basic/BuiltinsAMDGPU.def (+1) - (modified) clang/test

[clang] [llvm] AMDGPU: support s_monitor_sleep on gfx1250 (PR #146293)

2025-06-29 Thread Changpeng Fang via cfe-commits
https://github.com/changpeng created https://github.com/llvm/llvm-project/pull/146293 None >From d6f55a31a5b9cc0716149424e219d219c2970d0c Mon Sep 17 00:00:00 2001 From: Changpeng Fang Date: Sun, 29 Jun 2025 16:03:46 -0700 Subject: [PATCH] AMDGPU: support s_monitor_sleep on gfx1250 Co-Authored

[clang] [clang-tools-extra] [clang] skip explicit obj param in code complete (PR #146258)

2025-06-29 Thread via cfe-commits
https://github.com/MythreyaK updated https://github.com/llvm/llvm-project/pull/146258 >From a839ba01fc05750ca880ac430a70f7df766f7694 Mon Sep 17 00:00:00 2001 From: Mythreya Kuricheti Date: Sat, 28 Jun 2025 19:06:06 -0700 Subject: [PATCH 1/2] [clang] skip explicit obj param in code complete Ski

[clang] [llvm] Fix Windows EH IP2State tables (remove +1 bias) (PR #144745)

2025-06-29 Thread via cfe-commits
@@ -2660,6 +2644,122 @@ void X86AsmPrinter::emitCallInstruction(const llvm::MCInst &MCI) { OutStreamer->emitInstruction(MCI, getSubtargetInfo()); } +// Checks whether a NOP is required after a CALL and inserts the NOP, if +// necessary. +void X86AsmPrinter::maybeEmitNopAfte

[clang] [lld] [llvm] [LLVM][WebAssembly] Implement branch hinting proposal (PR #146230)

2025-06-29 Thread Lukas Döllerer via cfe-commits
@@ -697,6 +738,34 @@ void WebAssemblyAsmPrinter::emitInstruction(const MachineInstr *MI) { WebAssemblyMCInstLower MCInstLowering(OutContext, *this); MCInst TmpInst; MCInstLowering.lower(MI, TmpInst); +if (Subtarget->hasBranchHinting() && +MI->getOpcode(

[clang] [lld] [llvm] [LLVM][WebAssembly] Implement branch hinting proposal (PR #146230)

2025-06-29 Thread Lukas Döllerer via cfe-commits
@@ -0,0 +1,79 @@ +; RUN: llc -mcpu=mvp -filetype=obj %s -mattr=+branch-hinting -wasm-branch-prob-high=0x6000 -wasm-branch-prob-low=0x0 -o - | obj2yaml | FileCheck %s + +; This test checks that branch weight metadata (!prof) is correctly translated to webassembly branch hint

[clang] [lld] [llvm] [LLVM][WebAssembly] Implement branch hinting proposal (PR #146230)

2025-06-29 Thread Lukas Döllerer via cfe-commits
Lukasdoe wrote: Changes: - Added branch hinting section parser to wasm2yaml - Threshold setting parameters are now floats - Fixed all other things aengelke found https://github.com/llvm/llvm-project/pull/146230 ___ cfe-commits mailing list cfe-commits@

[clang] [lld] [llvm] [LLVM][WebAssembly] Implement branch hinting proposal (PR #146230)

2025-06-29 Thread Lukas Döllerer via cfe-commits
https://github.com/Lukasdoe updated https://github.com/llvm/llvm-project/pull/146230 From cf1c0ca649741cefdab0eb1538dff58aeee16b0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20D=C3=B6llerer?= Date: Sat, 28 Jun 2025 21:53:09 +0200 Subject: [PATCH] [LLVM][WebAssembly] Implement branch hinting

[clang] [llvm] AMDGPU: Implement intrinsic/builtins for gfx1250 load transpose instructions (PR #146289)

2025-06-29 Thread Changpeng Fang via cfe-commits
https://github.com/changpeng closed https://github.com/llvm/llvm-project/pull/146289 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 1f5f381 - AMDGPU: Implement intrinsic/builtins for gfx1250 load transpose instructions (#146289)

2025-06-29 Thread via cfe-commits
Author: Changpeng Fang Date: 2025-06-29T14:33:31-07:00 New Revision: 1f5f38192090f16273e56d2c49837cb28572f4db URL: https://github.com/llvm/llvm-project/commit/1f5f38192090f16273e56d2c49837cb28572f4db DIFF: https://github.com/llvm/llvm-project/commit/1f5f38192090f16273e56d2c49837cb28572f4db.diff

[clang] [clang] Build the Z3 mock module via CMake (PR #146284)

2025-06-29 Thread Balazs Benics via cfe-commits
https://github.com/steakhal approved this pull request. Looks really good. Sweet! Thank you for this patch. If it works then it works. There is only one thing though. We have a couple uses of %clang_cc1 and we could substitute when we are at it. See an example here https://github.com/llvm/llvm-

[clang] [clang][bytecode] Add `Descriptor::hasTrivialDtor()` (PR #146286)

2025-06-29 Thread Timm Baeder via cfe-commits
Timm =?utf-8?q?Bäder?= Message-ID: In-Reply-To: https://github.com/tbaederr updated https://github.com/llvm/llvm-project/pull/146286 >From a034db206e38bc4473bb47e152a7078e7348649a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Wed, 25 Jun 2025 10:27:56 +0200 Subject: [PAT

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

2025-06-29 Thread Baranov Victor via cfe-commits
vbvictor wrote: > I have the issue where I want to test the custom_move and I need check to > pass only for -check-suffix=,MOVEFUNCTION and fail for everything else, since > it still expects ::std::move. I am not sure how to write this. You can create a separate file `missing-std-forward-custo

[clang-tools-extra] [clang-tidy] Fix false positive for cppcoreguidelines-pro-bounds-pointer-arithmetic (PR #127394)

2025-06-29 Thread Baranov Victor via cfe-commits
https://github.com/vbvictor edited https://github.com/llvm/llvm-project/pull/127394 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] AMDGPU: Implement intrinsic/builtins for gfx1250 load transpose instructions (PR #146289)

2025-06-29 Thread Shilei Tian via cfe-commits
https://github.com/shiltian approved this pull request. https://github.com/llvm/llvm-project/pull/146289 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Remove AArch64TargetInfo::setArchFeatures (PR #146107)

2025-06-29 Thread David Green via cfe-commits
https://github.com/davemgreen commented: Thanks https://github.com/llvm/llvm-project/pull/146107 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Fix false positive for cppcoreguidelines-pro-bounds-pointer-arithmetic (PR #127394)

2025-06-29 Thread Baranov Victor via cfe-commits
https://github.com/vbvictor approved this pull request. LGTM with nit. Please rebase on fresh main and I think we can merge it, unless @carlosgalvezp has something against. https://github.com/llvm/llvm-project/pull/127394 ___ cfe-commits mailing list

[clang-tools-extra] [clang-tidy] Fix false positive for cppcoreguidelines-pro-bounds-pointer-arithmetic (PR #127394)

2025-06-29 Thread Baranov Victor via cfe-commits
@@ -0,0 +1,19 @@ +// RUN: %check_clang_tidy %s cppcoreguidelines-pro-bounds-pointer-arithmetic %t vbvictor wrote: I think it's better to write this test in the existing main test file than to create new test files for specific issues. After N months/years, it wi

[clang] Reland [Driver] Fix link order of BareMetal toolchain object (PR #146291)

2025-06-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-driver Author: Garvit Gupta (quic-garvgupt) Changes The linker job in BareMetal toolchain object will be used by GNU ld and lld both. However, gnuld process the arguments in the order in which they appear on command lin

[clang] Reland [Driver] Fix link order of BareMetal toolchain object (PR #146291)

2025-06-29 Thread Garvit Gupta via cfe-commits
https://github.com/quic-garvgupt created https://github.com/llvm/llvm-project/pull/146291 The linker job in BareMetal toolchain object will be used by GNU ld and lld both. However, gnuld process the arguments in the order in which they appear on command line, whereas there is no such restricti

[clang] Reland [Driver] Add support for crtbegin.o, crtend.o and libgloss lib to BareMetal toolchain object (PR #144649)

2025-06-29 Thread Garvit Gupta via cfe-commits
https://github.com/quic-garvgupt closed https://github.com/llvm/llvm-project/pull/144649 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] ed25d47 - Reland [Driver] Add support for crtbegin.o, crtend.o and libgloss lib to BareMetal toolchain object (#144649)

2025-06-29 Thread via cfe-commits
Author: Garvit Gupta Date: 2025-06-30T01:34:33+05:30 New Revision: ed25d473fb1b7bb85476566cbe1ff78865e4d730 URL: https://github.com/llvm/llvm-project/commit/ed25d473fb1b7bb85476566cbe1ff78865e4d730 DIFF: https://github.com/llvm/llvm-project/commit/ed25d473fb1b7bb85476566cbe1ff78865e4d730.diff

[clang] [CIR] Implement ArraySubscript for ComplexType (PR #146283)

2025-06-29 Thread Henrich Lauko via cfe-commits
@@ -442,3 +442,35 @@ bool foo19(double _Complex a, double _Complex b) { // OGCG: %[[CMP_IMAG:.*]] = fcmp oeq double %[[A_IMAG]], %[[B_IMAG]] // OGCG: %[[RESULT:.*]] = and i1 %[[CMP_REAL]], %[[CMP_IMAG]] + +void foo24() { + int _Complex arr[2]; + int _Complex r = arr[1]; ---

[clang] [CIR] Implement ArraySubscript for ComplexType (PR #146283)

2025-06-29 Thread Henrich Lauko via cfe-commits
https://github.com/xlauko approved this pull request. lgtm https://github.com/llvm/llvm-project/pull/146283 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Implement ArraySubscript for ComplexType (PR #146283)

2025-06-29 Thread Henrich Lauko via cfe-commits
https://github.com/xlauko edited https://github.com/llvm/llvm-project/pull/146283 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] properly handle private move constructors in `modernize-pass-by-value` check (PR #141304)

2025-06-29 Thread Baranov Victor via cfe-commits
vbvictor wrote: Ping https://github.com/llvm/llvm-project/pull/141304 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Fix '-Wformat-overflow' FP when floats had field-width and plus prefix (PR #144274)

2025-06-29 Thread Baranov Victor via cfe-commits
https://github.com/vbvictor updated https://github.com/llvm/llvm-project/pull/144274 >From dfb2abd2c2711c87a22e8f8c93aa82f2621518cb Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Sun, 15 Jun 2025 22:20:54 +0300 Subject: [PATCH 1/3] [Clang] Fix '-Wformat-overflow' FP when floats had field-

[clang] [llvm] AMDGPU: Implement intrinsic/builtins for gfx1250 load transpose instructions (PR #146289)

2025-06-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Changpeng Fang (changpeng) Changes --- Patch is 37.64 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/146289.diff 11 Files Affected: - (modified) clang/include/clang/Basic/BuiltinsAMDGPU.def

[clang] [llvm] AMDGPU: Implement intrinsic/builtins for gfx1250 load transpose instructions (PR #146289)

2025-06-29 Thread Changpeng Fang via cfe-commits
https://github.com/changpeng created https://github.com/llvm/llvm-project/pull/146289 None >From fc2039dcf338f04977b2a0b43e8714cb5eb0f440 Mon Sep 17 00:00:00 2001 From: Changpeng Fang Date: Fri, 27 Jun 2025 14:59:33 -0700 Subject: [PATCH] AMDGPU: Implement intrinsic/builtins for gfx1250 load

[clang] [clang-format] Make EndsInComma in ContinuationIndenter consistent (PR #146256)

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

[clang] fa05864 - [clang-format] Make EndsInComma in ContinuationIndenter consistent (#146256)

2025-06-29 Thread via cfe-commits
Author: Owen Pan Date: 2025-06-29T12:41:34-07:00 New Revision: fa058647fe3ad7834f9d99af7597b00990afc186 URL: https://github.com/llvm/llvm-project/commit/fa058647fe3ad7834f9d99af7597b00990afc186 DIFF: https://github.com/llvm/llvm-project/commit/fa058647fe3ad7834f9d99af7597b00990afc186.diff LOG:

[clang] [clang] Improve constexpr-unknown diagnostics. (PR #146288)

2025-06-29 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/AST/ExprConstant.cpp clang/test/SemaCXX/con

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

2025-06-29 Thread Baranov Victor via cfe-commits
https://github.com/vbvictor closed https://github.com/llvm/llvm-project/pull/126434 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2025-06-29 Thread via cfe-commits
Author: Baranov Victor Date: 2025-06-29T22:34:32+03:00 New Revision: a3a60e03e2bf7b79683517584a9a7b3e4c8cd297 URL: https://github.com/llvm/llvm-project/commit/a3a60e03e2bf7b79683517584a9a7b3e4c8cd297 DIFF: https://github.com/llvm/llvm-project/commit/a3a60e03e2bf7b79683517584a9a7b3e4c8cd297.diff

  1   2   3   >