[llvm-branch-commits] Implement a simple e2e test for PFP. (PR #151655)

2025-12-12 Thread via llvm-branch-commits
github-actions[bot] wrote: # :window: Windows x64 Test Results The build failed before running any tests. Click on a failure below to see the details. [code=1] runtimes/runtimes-stamps/runtimes-configure ``` Not searching for unused variables given on the command line. loading initial cache

[llvm-branch-commits] [clang] [Clang] Add pointer field protection feature. (PR #172119)

2025-12-12 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/172119 >From 98b458c43bd3b89075d5f5594c2b970ddb95da17 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Fri, 12 Dec 2025 17:49:29 -0800 Subject: [PATCH] Format Created using spr 1.3.6-beta.1 --- clang/lib/Sema/Sema

[llvm-branch-commits] [Clang] Add pointer field protection feature. (PR #172119)

2025-12-12 Thread Peter Collingbourne via llvm-branch-commits
pcc wrote: (Continuation of #133538.) https://github.com/llvm/llvm-project/pull/172119 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [Clang] Add pointer field protection feature. (PR #133538)

2025-12-12 Thread Peter Collingbourne via llvm-branch-commits
pcc wrote: GitHub is starting to refuse to load this PR with a unicorn error message so I recreated it at #172119 and will close this one. https://github.com/llvm/llvm-project/pull/133538 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.

[llvm-branch-commits] [Clang] Add pointer field protection feature. (PR #172119)

2025-12-12 Thread via llvm-branch-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 origin/main HEAD --extensions h,cpp,c -- clang/test/CodeGenCXX/pfp-attribute-disable.

[llvm-branch-commits] [clang] [Clang] Add pointer field protection feature. (PR #133538)

2025-12-12 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc closed https://github.com/llvm/llvm-project/pull/133538 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] Prepare libcxx and libcxxabi for pointer field protection. (PR #151651)

2025-12-12 Thread Peter Collingbourne via llvm-branch-commits
pcc wrote: @ldionne any thoughts on my comments above? https://github.com/llvm/llvm-project/pull/151651 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [Github] Remove install-ninja/setup-windows (PR #168985)

2025-12-12 Thread Deric C. via llvm-branch-commits
Icohedron wrote: This change broke all the bots in the [llvm/offload-test-suite](https://github.com/llvm/offload-test-suite) repo because all the workflows there use the setup-windows action. https://github.com/llvm/llvm-project/pull/168985 ___ llvm-

[llvm-branch-commits] [llvm] AMDGPU: Stop requiring afn for f32 rsq formation (PR #172082)

2025-12-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes We were checking for afn or !fpmath attached to the sqrt. We are not trying to replace a correctly rounded rsqrt; we're replacing the two correctly rounded operations with the contracted operation. I

[llvm-branch-commits] [llvm] AMDGPU: Stop requiring afn for f32 rsq formation (PR #172082)

2025-12-12 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/172082 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] add abseil-unchecked-statusor-access (PR #171188)

2025-12-12 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer closed https://github.com/llvm/llvm-project/pull/171188 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [mlir] [mlir][PDL] Add CallableOpInterface to pdl.pattern and inlining support to pdl (PR #172071)

2025-12-12 Thread Fabian Mora via llvm-branch-commits
https://github.com/fabianmcg edited https://github.com/llvm/llvm-project/pull/172071 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [DAGCombiner] Relax nsz constraint with fp->int->fp optimizations (PR #164503)

2025-12-12 Thread Matt Arsenault via llvm-branch-commits
@@ -19058,7 +19058,8 @@ static SDValue foldFPToIntToFP(SDNode *N, const SDLoc &DL, SelectionDAG &DAG, bool IsSigned = N->getOpcode() == ISD::SINT_TO_FP; assert(IsSigned || IsUnsigned); - bool IsSignedZeroSafe = DAG.getTarget().Options.NoSignedZerosFPMath; + bool IsSigne

[llvm-branch-commits] [llvm] [DAGCombiner] Relax nsz constraint with fp->int->fp optimizations (PR #164503)

2025-12-12 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/164503 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Add class template to HTML (PR #171937)

2025-12-12 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/171937 >From 58a5f5b96cb213d79d2f65fe4b8ebf5e8e4543b8 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Thu, 11 Dec 2025 09:54:03 -0800 Subject: [PATCH] [clang-doc] Add class template to HTML --- clang-tools-extra/cla

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Add functions to namespace template (PR #171938)

2025-12-12 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/171938 >From 103242be294fb1bfe326db89fc66fe0843486219 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Thu, 11 Dec 2025 14:07:40 -0800 Subject: [PATCH] [clang-doc] Serialize namespace-level functions --- clang-tools-

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Add functions to namespace template (PR #171938)

2025-12-12 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/171938 >From 103242be294fb1bfe326db89fc66fe0843486219 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Thu, 11 Dec 2025 14:07:40 -0800 Subject: [PATCH] [clang-doc] Serialize namespace-level functions --- clang-tools-

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Add class template to HTML (PR #171937)

2025-12-12 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/171937 >From 58a5f5b96cb213d79d2f65fe4b8ebf5e8e4543b8 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Thu, 11 Dec 2025 09:54:03 -0800 Subject: [PATCH] [clang-doc] Add class template to HTML --- clang-tools-extra/cla

[llvm-branch-commits] [LowerAllowCheck] Add llvm.allow.sanitize.* intrinsics (PR #172029)

2025-12-12 Thread Marco Elver via llvm-branch-commits
melver wrote: > > LowerAllowCheckPass is now "required" to run on functions with optnone to > > ensure correct lowering at O0. > > Please do not add yet another new pass that scans all instructions at O0 in > order to lower a rarely used intrinsic. Can this be integrated with an > existing pa

[llvm-branch-commits] [llvm] [AMDGPU] Add DS loop preheader flush (3/4) (PR #171948)

2025-12-12 Thread Matt Arsenault via llvm-branch-commits
@@ -2904,6 +2905,68 @@ bool SIInsertWaitcnts::applyDSLoopWaitOpt(MachineInstr &MI, return true; } +// Insert DS_CNT flush in preheaders of loops where DS wait relaxation was +// applied. This is necessary because the relaxed wait counts inside the loop +// are computed base

[llvm-branch-commits] [llvm] [AMDGPU] Add DS loop preheader flush (3/4) (PR #171948)

2025-12-12 Thread Matt Arsenault via llvm-branch-commits
@@ -2904,6 +2905,68 @@ bool SIInsertWaitcnts::applyDSLoopWaitOpt(MachineInstr &MI, return true; } +// Insert DS_CNT flush in preheaders of loops where DS wait relaxation was +// applied. This is necessary because the relaxed wait counts inside the loop +// are computed base

[llvm-branch-commits] [llvm] [AMDGPU] Add DS loop preheader flush (3/4) (PR #171948)

2025-12-12 Thread Matt Arsenault via llvm-branch-commits
@@ -2904,6 +2905,68 @@ bool SIInsertWaitcnts::applyDSLoopWaitOpt(MachineInstr &MI, return true; } +// Insert DS_CNT flush in preheaders of loops where DS wait relaxation was +// applied. This is necessary because the relaxed wait counts inside the loop +// are computed base

[llvm-branch-commits] [llvm] AMDGPU: Introduce f64 rsq pattern in AMDGPUCodeGenPrepare (PR #172053)

2025-12-12 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/172053 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] AMDGPU: Introduce f64 rsq pattern in AMDGPUCodeGenPrepare (PR #172053)

2025-12-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes Handle this here instead of DAGCombine, mostly because the f32 case is handled here due to the dependency on !fpmath. Also we can take advantage of computeKnownFPClass. --- Patch is 604.88 KiB, tru

[llvm-branch-commits] [llvm] AMDGPU: Introduce f64 rsq pattern in AMDGPUCodeGenPrepare (PR #172053)

2025-12-12 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.com/github/pr/llvm/llvm-project/172053?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] [AMDGPU] Add structural stall heuristic to scheduling strategies (PR #169617)

2025-12-12 Thread Jeffrey Byrnes via llvm-branch-commits
@@ -313,6 +313,10 @@ unsigned GCNHazardRecognizer::PreEmitNoops(MachineInstr *MI) { return std::max(W, NopPadding.getValue()); } +unsigned GCNHazardRecognizer::getHazardWaitStates(MachineInstr *MI) const { + return const_cast(this)->PreEmitNoopsCommon(MI);

[llvm-branch-commits] [LowerAllowCheck] Add llvm.allow.sanitize.* intrinsics (PR #172029)

2025-12-12 Thread Nikita Popov via llvm-branch-commits
nikic wrote: > LowerAllowCheckPass is now "required" to run on functions with optnone to > ensure correct lowering at O0. Please do not add yet another new pass that scans all instructions at O0 in order to lower a rarely used intrinsic. Can this be integrated with an existing pass that does

[llvm-branch-commits] [clang] [Clang] Add __builtin_allow_sanitize_check() (PR #172030)

2025-12-12 Thread Marco Elver via llvm-branch-commits
https://github.com/melver edited https://github.com/llvm/llvm-project/pull/172030 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [Clang] Add __builtin_allow_sanitize_check() (PR #172030)

2025-12-12 Thread Marco Elver via llvm-branch-commits
https://github.com/melver edited https://github.com/llvm/llvm-project/pull/172030 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [LowerAllowCheck] Add llvm.allow.sanitize.* intrinsics (PR #172029)

2025-12-12 Thread Marco Elver via llvm-branch-commits
https://github.com/melver edited https://github.com/llvm/llvm-project/pull/172029 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [Clang] Add __builtin_allow_sanitize_check() (PR #172030)

2025-12-12 Thread Marco Elver via llvm-branch-commits
https://github.com/melver updated https://github.com/llvm/llvm-project/pull/172030 >From d4f149dbb21fd7f5e706560b1aa3b8f0b9fa5ae9 Mon Sep 17 00:00:00 2001 From: Marco Elver Date: Fri, 12 Dec 2025 17:18:15 +0100 Subject: [PATCH] tweak test Created using spr 1.3.8-beta.1 --- clang/test/CodeGen/

[llvm-branch-commits] [Clang] Add __builtin_allow_sanitize_check() (PR #172030)

2025-12-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen @llvm/pr-subscribers-clang Author: Marco Elver (melver) Changes Introduce `__builtin_allow_sanitize_check("name")` which returns true if the specified sanitizer is enabled for the function (after inlining). Supported sanitizers are "address

[llvm-branch-commits] [LowerAllowCheck] Add llvm.allow.sanitize.* intrinsics (PR #172029)

2025-12-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-ir Author: Marco Elver (melver) Changes Add new intrinsics: - llvm.allow.sanitize.address - llvm.allow.sanitize.thread - llvm.allow.sanitize.memory - llvm.allow.sanitize.hwaddress These intrinsics return true if the corresponding sanitizer

[llvm-branch-commits] [LowerAllowCheck] Add llvm.allow.sanitize.* intrinsics (PR #172029)

2025-12-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Marco Elver (melver) Changes Add new intrinsics: - llvm.allow.sanitize.address - llvm.allow.sanitize.thread - llvm.allow.sanitize.memory - llvm.allow.sanitize.hwaddress These intrinsics return true if the corresponding sa

[llvm-branch-commits] [Clang] Add __builtin_allow_sanitize_check() (PR #172030)

2025-12-12 Thread Marco Elver via llvm-branch-commits
https://github.com/melver ready_for_review https://github.com/llvm/llvm-project/pull/172030 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [LowerAllowCheck] Add llvm.allow.sanitize.* intrinsics (PR #172029)

2025-12-12 Thread Marco Elver via llvm-branch-commits
https://github.com/melver ready_for_review https://github.com/llvm/llvm-project/pull/172029 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [Clang] Add __builtin_allow_sanitize_check() (PR #172030)

2025-12-12 Thread Marco Elver via llvm-branch-commits
https://github.com/melver edited https://github.com/llvm/llvm-project/pull/172030 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [LowerAllowCheck] Add llvm.allow.sanitize.* intrinsics (PR #172029)

2025-12-12 Thread Marco Elver via llvm-branch-commits
https://github.com/melver edited https://github.com/llvm/llvm-project/pull/172029 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [LowerAllowCheck] Add llvm.allow.sanitize.* intrinsics (PR #172029)

2025-12-12 Thread Marco Elver via llvm-branch-commits
https://github.com/melver edited https://github.com/llvm/llvm-project/pull/172029 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [Clang] Add __builtin_allow_sanitize_check() (PR #172030)

2025-12-12 Thread Marco Elver via llvm-branch-commits
https://github.com/melver created https://github.com/llvm/llvm-project/pull/172030 Introduce `__builtin_allow_sanitize_check("name")` which returns true if the specified sanitizer is enabled for the function (after inlining). Supported sanitizers are "address", "thread", "memory", "hwaddress", a

[llvm-branch-commits] [LowerAllowCheck] Add llvm.allow.sanitize.* intrinsics (PR #172029)

2025-12-12 Thread Marco Elver via llvm-branch-commits
https://github.com/melver created https://github.com/llvm/llvm-project/pull/172029 Add new intrinsics: - llvm.allow.sanitize.address - llvm.allow.sanitize.thread - llvm.allow.sanitize.memory - llvm.allow.sanitize.hwaddress These intrinsics return true if the corresponding sanitizer is e

[llvm-branch-commits] [llvm] [AMDGPU] Add machine-level inliner pass (PR #169476)

2025-12-12 Thread Gang Chen via llvm-branch-commits
@@ -0,0 +1,122 @@ +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5 +; RUN: llc -mtriple=amdgcn--amdpal -mcpu=gfx1200 -amdgpu-enable-machine-level-inliner < %s | FileCheck %s + +declare !callback !0 i32 @llvm.amdgcn.call.whole.w

[llvm-branch-commits] [llvm] [DA] Remove ExtraGCD from GCD MIV (NFC) (PR #172004)

2025-12-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-analysis Author: Ryotaro Kasuga (kasuga-fj) Changes As some code was removed in #169927, `ExtraGCD` in `gcdMIVtest` is no longer necessary. This patch removes it and also adjust the comments. --- Full diff: https://github.com/llvm/llvm-project/pul

[llvm-branch-commits] [llvm] [DA] Add overflow check in GCD MIV (PR #172003)

2025-12-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-analysis Author: Ryotaro Kasuga (kasuga-fj) Changes Add an overflow check in GCD MIV. Fix the test case added in #172002 . --- Full diff: https://github.com/llvm/llvm-project/pull/172003.diff 2 Files Affected: - (modified) llvm/lib/Analysis/Depe

[llvm-branch-commits] [llvm] [DA] Remove ExtraGCD from GCD MIV (NFC) (PR #172004)

2025-12-12 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj ready_for_review https://github.com/llvm/llvm-project/pull/172004 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [DA] Add overflow check in GCD MIV (PR #172003)

2025-12-12 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj ready_for_review https://github.com/llvm/llvm-project/pull/172003 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [DA] Remove ExtraGCD from GCD MIV (NFC) (PR #172004)

2025-12-12 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj edited https://github.com/llvm/llvm-project/pull/172004 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [DA] Remove ExtraGCD from GCD MIV (NFC) (PR #172004)

2025-12-12 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj edited https://github.com/llvm/llvm-project/pull/172004 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [DA] Add overflow check in GCD MIV (PR #172003)

2025-12-12 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj edited https://github.com/llvm/llvm-project/pull/172003 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [DA] Introduce OverflowSafeSignedAPInt to prevent potential overflow (PR #171991)

2025-12-12 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj updated https://github.com/llvm/llvm-project/pull/171991 >From b1f618057f69ba74786d56fe0a0ff29de54fcbfb Mon Sep 17 00:00:00 2001 From: Ryotaro Kasuga Date: Fri, 12 Dec 2025 11:04:51 + Subject: [PATCH] [DA] Introduce OverflowSafeSignedAPInt to prevent potential

[llvm-branch-commits] [llvm] [DA] Introduce OverflowSafeSignedAPInt to prevent potential overflow (PR #171991)

2025-12-12 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj updated https://github.com/llvm/llvm-project/pull/171991 >From bb0f8d1bb61be121183b9e85811148090e9da1c7 Mon Sep 17 00:00:00 2001 From: Ryotaro Kasuga Date: Fri, 12 Dec 2025 11:04:51 + Subject: [PATCH] [DA] Introduce OverflowSafeSignedAPInt to prevent potential

[llvm-branch-commits] [Clang] Invoke pass plugin preCodeGenCallback (PR #171872)

2025-12-12 Thread Alexis Engelke via llvm-branch-commits
aengelke wrote: Thanks. The code-formatter bot problem seems to be a network issue, no relation. Will land after #171868 (on which this depends). https://github.com/llvm/llvm-project/pull/171872 ___ llvm-branch-commits mailing list llvm-branch-commits

[llvm-branch-commits] [Clang] Invoke pass plugin preCodeGenCallback (PR #171872)

2025-12-12 Thread Vassil Vassilev via llvm-branch-commits
https://github.com/vgvassilev approved this pull request. Looks like we are heading in a good direction! Thank you, lgtm (assuming the bots are happy). https://github.com/llvm/llvm-project/pull/171872 ___ llvm-branch-commits mailing list llvm-branch-

[llvm-branch-commits] [llvm] Reapply "InstCombine: Fold ldexp with constant exponent to fmul" (#171895) (PR #171977)

2025-12-12 Thread Yingwei Zheng via llvm-branch-commits
https://github.com/dtcxzyw approved this pull request. LG https://github.com/llvm/llvm-project/pull/171977 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU] Add DS loop preheader flush (3/4) (PR #171948)

2025-12-12 Thread Pierre van Houtryve via llvm-branch-commits
@@ -2904,6 +2905,68 @@ bool SIInsertWaitcnts::applyDSLoopWaitOpt(MachineInstr &MI, return true; } +// Insert DS_CNT flush in preheaders of loops where DS wait relaxation was +// applied. This is necessary because the relaxed wait counts inside the loop +// are computed base

[llvm-branch-commits] [llvm] [DA] Introduce OverflowSafeSignedAPInt to prevent potential overflow (PR #171991)

2025-12-12 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj updated https://github.com/llvm/llvm-project/pull/171991 >From 21387a180ee539366b6a5d8d89230e9963beb30d Mon Sep 17 00:00:00 2001 From: Ryotaro Kasuga Date: Fri, 12 Dec 2025 11:04:51 + Subject: [PATCH] [DA] Introduce OverflowSafeSignedAPInt to prevent potential

[llvm-branch-commits] [llvm] [DA] Introduce OverflowSafeSignedAPInt to prevent potential overflow (PR #171991)

2025-12-12 Thread Ryotaro Kasuga via llvm-branch-commits
kasuga-fj wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.com/github/pr/llvm/llvm-project/171991?utm_source=stack-comment-downstack-mergeability-warning

[llvm-branch-commits] [llvm] [DA] Introduce OverflowSafeSignedAPInt to prevent potential overflow (PR #171991)

2025-12-12 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj created https://github.com/llvm/llvm-project/pull/171991 None >From 42a7661913011cd64a75869f823503ea39261897 Mon Sep 17 00:00:00 2001 From: Ryotaro Kasuga Date: Fri, 12 Dec 2025 11:04:51 + Subject: [PATCH] [DA] Introduce OverflowSafeSignedAPInt to prevent poten

[llvm-branch-commits] [Clang] Invoke pass plugin preCodeGenCallback (PR #171872)

2025-12-12 Thread Alexis Engelke via llvm-branch-commits
https://github.com/aengelke updated https://github.com/llvm/llvm-project/pull/171872 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [Clang] Invoke pass plugin preCodeGenCallback (PR #171872)

2025-12-12 Thread Alexis Engelke via llvm-branch-commits
https://github.com/aengelke updated https://github.com/llvm/llvm-project/pull/171872 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [Clang] Load pass plugins before parsing LLVM options (PR #171868)

2025-12-12 Thread Alexis Engelke via llvm-branch-commits
aengelke wrote: > We don't expose LLVM_BUILD_EXAMPLES as export, so clang standalone won't see > it. Also, I think %llvmshlibdir is broken in standalone builds. Then there's no problem. `%llvmshlibdir` is also used for all other Clang plugin tests. https://github.com/llvm/llvm-project/pull/17

[llvm-branch-commits] [llvm] [AMDGPU] DS loop wait relaxation -- more test cases and improvements … (PR #171952)

2025-12-12 Thread Matt Arsenault via llvm-branch-commits
@@ -2816,12 +2870,32 @@ void SIInsertWaitcnts::analyzeSingleBBLoopDSLoads(MachineLoop *ML) { } } - Info.TotalDSLoads = LoadPosition; + // Filter out flushed loads and renumber remaining ones + // Also compute the floor wait count - the wait established by same-iterat

[llvm-branch-commits] [llvm] [AMDGPU] DS loop wait relaxation -- more test cases and improvements … (PR #171952)

2025-12-12 Thread Matt Arsenault via llvm-branch-commits
@@ -2816,12 +2870,32 @@ void SIInsertWaitcnts::analyzeSingleBBLoopDSLoads(MachineLoop *ML) { } } - Info.TotalDSLoads = LoadPosition; + // Filter out flushed loads and renumber remaining ones + // Also compute the floor wait count - the wait established by same-iterat

[llvm-branch-commits] [llvm] [AMDGPU] DS loop wait relaxation -- more test cases and improvements … (PR #171952)

2025-12-12 Thread Matt Arsenault via llvm-branch-commits
@@ -2789,6 +2806,42 @@ void SIInsertWaitcnts::analyzeSingleBBLoopDSLoads(MachineLoop *ML) { if (!AfterLastBarrier) continue; +// Check for instructions that write to LDS through DMA (global_load_lds, +// etc). These write to LDS but aren't DS instructions. +

[llvm-branch-commits] [llvm] [AMDGPU] DS loop wait relaxation -- more test cases and improvements … (PR #171952)

2025-12-12 Thread Matt Arsenault via llvm-branch-commits
@@ -2789,6 +2806,42 @@ void SIInsertWaitcnts::analyzeSingleBBLoopDSLoads(MachineLoop *ML) { if (!AfterLastBarrier) continue; +// Check for instructions that write to LDS through DMA (global_load_lds, +// etc). These write to LDS but aren't DS instructions. +

[llvm-branch-commits] [clang] [Clang] Load pass plugins before parsing LLVM options (PR #171868)

2025-12-12 Thread Alexis Engelke via llvm-branch-commits
https://github.com/aengelke updated https://github.com/llvm/llvm-project/pull/171868 >From 7169c9eef2da43c0e9d79dad32c55797ef31ac27 Mon Sep 17 00:00:00 2001 From: Alexis Engelke Date: Fri, 12 Dec 2025 10:57:24 + Subject: [PATCH] load plugins in FrontendTool to avoid CodeGen dependencies in

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] add abseil-unchecked-statusor-access (PR #171188)

2025-12-12 Thread Baranov Victor via llvm-branch-commits
https://github.com/vbvictor approved this pull request. https://github.com/llvm/llvm-project/pull/171188 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [TableGen] Support RegClassByHwMode in CompressPat (PR #171061)

2025-12-12 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/171061 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [Github] Remove use of setup-windows and install-ninja in llvm tests (PR #168987)

2025-12-12 Thread via llvm-branch-commits
github-actions[bot] wrote: @boomanaiden154 (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this

[llvm-branch-commits] [llvm] [Github] Remove use of setup-windows and install-ninja in llvm tests (PR #168987)

2025-12-12 Thread via llvm-branch-commits
https://github.com/dyung closed https://github.com/llvm/llvm-project/pull/168987 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [Github] Remove use of setup-windows and install-ninja in llvm tests (PR #168987)

2025-12-12 Thread via llvm-branch-commits
https://github.com/dyung updated https://github.com/llvm/llvm-project/pull/168987 >From 2078da43e25a4623cab2d0d60decddf709aaea28 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Fri, 21 Nov 2025 02:15:07 + Subject: [PATCH] [Github] Remove use of setup-windows and install-ninja in llvm t

[llvm-branch-commits] [llvm] [Github] Remove install-ninja/setup-windows (PR #168985)

2025-12-12 Thread via llvm-branch-commits
github-actions[bot] wrote: @boomanaiden154 (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this

[llvm-branch-commits] [llvm] [Github] Remove install-ninja/setup-windows (PR #168985)

2025-12-12 Thread via llvm-branch-commits
https://github.com/dyung closed https://github.com/llvm/llvm-project/pull/168985 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [Github] Remove install-ninja/setup-windows (PR #168985)

2025-12-12 Thread via llvm-branch-commits
https://github.com/dyung updated https://github.com/llvm/llvm-project/pull/168985 >From b6360d3bc7a9a01b8434ea2bd0e2dac8eae19fcf Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Fri, 21 Nov 2025 02:07:09 + Subject: [PATCH] [Github] Remove install-ninja/setup-windows This patch backports

[llvm-branch-commits] [llvm] [AArch64] Split large loop dependence masks (PR #153187)

2025-12-12 Thread Benjamin Maxwell via llvm-branch-commits
MacDue wrote: I've decided not to continue this PR as I think the generic splitting (which produces a whilelo + some scalar selects), is the has the same or cheaper cost (and a little easier to understand). https://github.com/llvm/llvm-project/pull/153187 _

[llvm-branch-commits] [llvm] [AArch64] Split large loop dependence masks (PR #153187)

2025-12-12 Thread Benjamin Maxwell via llvm-branch-commits
https://github.com/MacDue closed https://github.com/llvm/llvm-project/pull/153187 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [llvm] [LLVM] Add plugin hook for back-ends (PR #170846)

2025-12-12 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. Looks reasonable to me. https://github.com/llvm/llvm-project/pull/170846 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-b

[llvm-branch-commits] [clang] [llvm] [LLVM] Add plugin hook for back-ends (PR #170846)

2025-12-12 Thread Stefan Gränitz via llvm-branch-commits
https://github.com/weliveindetail approved this pull request. LGTM, thanks! It would be great to have documentation for this in the next release. Pass plugin docs are here, but maybe there is a better place since this is isn't related to NPM: https://llvm.org/docs/WritingAnLLVMNewPMPass.html#re

[llvm-branch-commits] [clang] release/21.x: [ExtractAPI] Format typedef params correctly (#171516) (PR #171522)

2025-12-12 Thread via llvm-branch-commits
github-actions[bot] wrote: @snprajwal (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

[llvm-branch-commits] [clang] release/21.x: [ExtractAPI] Format typedef params correctly (#171516) (PR #171522)

2025-12-12 Thread via llvm-branch-commits
https://github.com/dyung closed https://github.com/llvm/llvm-project/pull/171522 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] release/21.x: [ExtractAPI] Format typedef params correctly (#171516) (PR #171522)

2025-12-12 Thread via llvm-branch-commits
https://github.com/dyung updated https://github.com/llvm/llvm-project/pull/171522 >From 7eb4bfe053d6bd81f42b0bfdd18ffd18fc081bc0 Mon Sep 17 00:00:00 2001 From: Prajwal Nadig Date: Tue, 9 Dec 2025 23:41:46 +0100 Subject: [PATCH] [ExtractAPI] Format typedef params correctly (#171516) Typically,

[llvm-branch-commits] [clang] 7eb4bfe - [ExtractAPI] Format typedef params correctly (#171516)

2025-12-12 Thread Douglas Yung via llvm-branch-commits
Author: Prajwal Nadig Date: 2025-12-12T10:09:45Z New Revision: 7eb4bfe053d6bd81f42b0bfdd18ffd18fc081bc0 URL: https://github.com/llvm/llvm-project/commit/7eb4bfe053d6bd81f42b0bfdd18ffd18fc081bc0 DIFF: https://github.com/llvm/llvm-project/commit/7eb4bfe053d6bd81f42b0bfdd18ffd18fc081bc0.diff LOG:

[llvm-branch-commits] [llvm] [BPF] add allows-misaligned-mem-access target feature (PR #168314)

2025-12-12 Thread via llvm-branch-commits
dyung wrote: Hi @clairechingching, I'm currently the release manager handling the 21.1.8 release, and I'm afraid I'm going to have to agree with @c-rhodes's assessment that since this is a new feature, it doesn't meet the criteria for inclusion in 21.x, especially as this is the final release

[llvm-branch-commits] [mlir] [Backport][MLIR] Properties.td fix from main commit 77f2560 (PR #165768)

2025-12-12 Thread via llvm-branch-commits
dyung wrote: Sorry we did not see this sooner as it was not added to the release milestone, so it did not show up our query of open backport requests. The bug that this is fixing, when was the bug introduced? Since this is the very last release from the 21.x branch, we generally only want to a

[llvm-branch-commits] [lldb] release/21.x: [lldb] Fix a bug where an error was emitted for GCC union types. (PR #170854)

2025-12-12 Thread David Spickett via llvm-branch-commits
DavidSpickett wrote: > since it is neither a recent regression nor a fix that has broad impact (from > what I can tell) In that case I'll abandon this and it'll be fixed in 22. The impact is part of a variable being printed incorrectly, but it does emit an error so users know something is not

[llvm-branch-commits] [lldb] release/21.x: [lldb] Fix a bug where an error was emitted for GCC union types. (PR #170854)

2025-12-12 Thread David Spickett via llvm-branch-commits
https://github.com/DavidSpickett closed https://github.com/llvm/llvm-project/pull/170854 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [compiler-rt] release/21.x: [compiler-rt][sanitizer] fix i386 build for Haiku (#171075) (PR #171578)

2025-12-12 Thread via llvm-branch-commits
github-actions[bot] wrote: @brad0 (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. htt

[llvm-branch-commits] [llvm] [Github] Remove install-ninja/setup-windows (PR #168985)

2025-12-12 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/168985 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [Github] Remove use of setup-windows and install-ninja in llvm tests (PR #168987)

2025-12-12 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/168987 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] Reapply "InstCombine: Fold ldexp with constant exponent to fmul" (#171895) (PR #171977)

2025-12-12 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/171977 Reapply "InstCombine: Fold ldexp with constant exponent to fmul" (#171895) This reverts commit 757c5b3bc70c6f0b55afa310f3fab07a4985e8b8. Reapply with the transform skipped if the scaling overflows or underflows.

[llvm-branch-commits] [llvm] [BPF] add allows-misaligned-mem-access target feature (PR #168314)

2025-12-12 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/168314 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [compiler-rt] release/21.x: [compiler-rt][sanitizer] fix i386 build for Haiku (#171075) (PR #171578)

2025-12-12 Thread via llvm-branch-commits
https://github.com/dyung updated https://github.com/llvm/llvm-project/pull/171578 >From 51e5074676d4b67c40666cb3a290cc7b7086550c Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Wed, 10 Dec 2025 03:09:54 -0500 Subject: [PATCH] [compiler-rt][sanitizer] fix i386 build for Haiku (#171075) r13 does

[llvm-branch-commits] [compiler-rt] release/21.x: [compiler-rt][sanitizer] fix i386 build for Haiku (#171075) (PR #171578)

2025-12-12 Thread via llvm-branch-commits
https://github.com/dyung closed https://github.com/llvm/llvm-project/pull/171578 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [compiler-rt] 51e5074 - [compiler-rt][sanitizer] fix i386 build for Haiku (#171075)

2025-12-12 Thread Douglas Yung via llvm-branch-commits
Author: Brad Smith Date: 2025-12-12T09:13:00Z New Revision: 51e5074676d4b67c40666cb3a290cc7b7086550c URL: https://github.com/llvm/llvm-project/commit/51e5074676d4b67c40666cb3a290cc7b7086550c DIFF: https://github.com/llvm/llvm-project/commit/51e5074676d4b67c40666cb3a290cc7b7086550c.diff LOG: [c

[llvm-branch-commits] [mlir] [Backport][MLIR] Properties.td fix from main commit 77f2560 (PR #165768)

2025-12-12 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/165768 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/21.x: [SelectOptimize] Fix incorrect -1 immediate for large integers (#170860) (PR #171596)

2025-12-12 Thread via llvm-branch-commits
github-actions[bot] wrote: @nikic (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. htt

[llvm-branch-commits] [llvm] release/21.x: [SelectOptimize] Fix incorrect -1 immediate for large integers (#170860) (PR #171596)

2025-12-12 Thread via llvm-branch-commits
https://github.com/dyung updated https://github.com/llvm/llvm-project/pull/171596 >From d2e835bd46384aa1628c9d44e3f93438f0795dfd Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 10 Dec 2025 11:31:07 +0100 Subject: [PATCH] [SelectOptimize] Fix incorrect -1 immediate for large integers (#1

[llvm-branch-commits] [llvm] release/21.x: [WebAssembly] Remove FAKE_USEs before ExplicitLocals (#160768) (PR #171184)

2025-12-12 Thread via llvm-branch-commits
github-actions[bot] wrote: @dschuff (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. h

[llvm-branch-commits] [llvm] release/21.x: [SelectOptimize] Fix incorrect -1 immediate for large integers (#170860) (PR #171596)

2025-12-12 Thread via llvm-branch-commits
https://github.com/dyung closed https://github.com/llvm/llvm-project/pull/171596 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] d2e835b - [SelectOptimize] Fix incorrect -1 immediate for large integers (#170860)

2025-12-12 Thread Douglas Yung via llvm-branch-commits
Author: Nikita Popov Date: 2025-12-12T09:11:16Z New Revision: d2e835bd46384aa1628c9d44e3f93438f0795dfd URL: https://github.com/llvm/llvm-project/commit/d2e835bd46384aa1628c9d44e3f93438f0795dfd DIFF: https://github.com/llvm/llvm-project/commit/d2e835bd46384aa1628c9d44e3f93438f0795dfd.diff LOG:

  1   2   >