[llvm-branch-commits] [clang-tools-extra] [clang-doc] Correct improper file paths in HTML output (PR #132103)

2025-03-19 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi created https://github.com/llvm/llvm-project/pull/132103 In index.js the logic of the ternary operator was backwards, preventing us from generating the correct file paths, or relative paths in the HTML output. >From 6182de900b039f86b564ecf8b74fce8f07317d28 Mon Sep 17

[llvm-branch-commits] [clang] Backport: [clang] fix matching of nested template template parameters (PR #130950)

2025-03-19 Thread Matheus Izvekov via llvm-branch-commits
mizvekov wrote: Gentle Ping https://github.com/llvm/llvm-project/pull/130950 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/20.x: [HEXAGON] Add support to lower "FREEZE a half(f16)" instruction on Hexagon and fix the isel-buildvector-v2f16.ll assertion (#130977) (PR #132138)

2025-03-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-hexagon Author: None (llvmbot) Changes Backport 9c65e6ac115a Requested by: @androm3da --- Full diff: https://github.com/llvm/llvm-project/pull/132138.diff 3 Files Affected: - (modified) llvm/lib/Target/Hexagon/HexagonISelLowering.h (+1) - (

[llvm-branch-commits] [llvm] release/20.x: [HEXAGON] Add support to lower "FREEZE a half(f16)" instruction on Hexagon and fix the isel-buildvector-v2f16.ll assertion (#130977) (PR #132138)

2025-03-19 Thread via llvm-branch-commits
llvmbot wrote: @androm3da What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/132138 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/lis

[llvm-branch-commits] [clang] [clang-tools-extra] [clang][HeuristicResolver] Default argument heuristic for template parameters (PR #131074)

2025-03-19 Thread Younan Zhang via llvm-branch-commits
@@ -125,6 +126,20 @@ TagDecl *HeuristicResolverImpl::resolveTypeToTagDecl(QualType QT) { if (!T) return nullptr; + // If T is the type of a template parameter, we can't get a useful TagDecl + // out of it. However, if the template parameter has a default argument, +

[llvm-branch-commits] [clang] [clang-tools-extra] [clang][HeuristicResolver] Default argument heuristic for template parameters (PR #131074)

2025-03-19 Thread Younan Zhang via llvm-branch-commits
https://github.com/zyn0217 edited https://github.com/llvm/llvm-project/pull/131074 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Correct improper file paths in HTML output (PR #132103)

2025-03-19 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/132103 >From f50f1a7bac5c0a91fb8280d4ee90139691f07f95 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Wed, 19 Mar 2025 21:07:22 + Subject: [PATCH] [clang-doc] Correct improper file paths in HTML output In index.js

[llvm-branch-commits] [clang-tools-extra] [clang-doc][NFC] Remove unnecessary directory cleanup (PR #132101)

2025-03-19 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/132101 >From c857982fa9162b37e34099bf20332cc0b22286ed Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Wed, 19 Mar 2025 20:58:15 + Subject: [PATCH] [clang-doc][NFC] Remove unnecessary directory cleanup The tests al

[llvm-branch-commits] [clang-tools-extra] [clang-doc][NFC] Remove unnecessary directory cleanup (PR #132101)

2025-03-19 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/132101 >From c857982fa9162b37e34099bf20332cc0b22286ed Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Wed, 19 Mar 2025 20:58:15 + Subject: [PATCH] [clang-doc][NFC] Remove unnecessary directory cleanup The tests al

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Correct improper file paths in HTML output (PR #132103)

2025-03-19 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/132103 >From f50f1a7bac5c0a91fb8280d4ee90139691f07f95 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Wed, 19 Mar 2025 21:07:22 + Subject: [PATCH] [clang-doc] Correct improper file paths in HTML output In index.js

[llvm-branch-commits] [clang-tools-extra] [clang-doc][NFC] Remove unnecessary directory cleanup (PR #132101)

2025-03-19 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/132101 >From df32792335aa51d040a536a7132bf7e9fadff558 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Wed, 19 Mar 2025 20:58:15 + Subject: [PATCH] [clang-doc][NFC] Remove unnecessary directory cleanup The tests al

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Correct improper file paths in HTML output (PR #132103)

2025-03-19 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/132103 >From 9293b4ce688b5e420e31e6b442be2f41233d2e1d Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Wed, 19 Mar 2025 21:07:22 + Subject: [PATCH] [clang-doc] Correct improper file paths in HTML output In index.js

[llvm-branch-commits] [clang-tools-extra] [clang-doc][NFC] Remove unnecessary directory cleanup (PR #132101)

2025-03-19 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/132101 >From df32792335aa51d040a536a7132bf7e9fadff558 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Wed, 19 Mar 2025 20:58:15 + Subject: [PATCH] [clang-doc][NFC] Remove unnecessary directory cleanup The tests al

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Correct improper file paths in HTML output (PR #132103)

2025-03-19 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/132103 >From 9293b4ce688b5e420e31e6b442be2f41233d2e1d Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Wed, 19 Mar 2025 21:07:22 + Subject: [PATCH] [clang-doc] Correct improper file paths in HTML output In index.js

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Correct improper file paths in HTML output (PR #132103)

2025-03-19 Thread Paul Kirth via llvm-branch-commits
ilovepi 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.dev/github/pr/llvm/llvm-project/132103?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Correct improper file paths in HTML output (PR #132103)

2025-03-19 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/132103 >From 4fba6cff9cc3dc5b2a8eeedb8de0fded9178fcb3 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Wed, 19 Mar 2025 21:07:22 + Subject: [PATCH] [clang-doc] Correct improper file paths in HTML output In index.js

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Correct improper file paths in HTML output (PR #132103)

2025-03-19 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/132103 >From 4fba6cff9cc3dc5b2a8eeedb8de0fded9178fcb3 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Wed, 19 Mar 2025 21:07:22 + Subject: [PATCH] [clang-doc] Correct improper file paths in HTML output In index.js

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Avoid deref of invalid std::optional (PR #131939)

2025-03-19 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/131939 >From ea338585014151fcc5806a1c39ad39e9cb35999a Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 18 Mar 2025 23:38:09 + Subject: [PATCH] [clang-doc] Avoid deref of invalid std::optional Since our existin

[llvm-branch-commits] [clang] 2f37c9e - Revert "[Coverage] Fix region termination for GNU statement expressions (#130…"

2025-03-19 Thread via llvm-branch-commits
Author: Justin Cady Date: 2025-03-19T16:45:26-04:00 New Revision: 2f37c9ec685b8ba82fdc3bd8387ce59b3f8a77dc URL: https://github.com/llvm/llvm-project/commit/2f37c9ec685b8ba82fdc3bd8387ce59b3f8a77dc DIFF: https://github.com/llvm/llvm-project/commit/2f37c9ec685b8ba82fdc3bd8387ce59b3f8a77dc.diff L

[llvm-branch-commits] [llvm] [DataLayout][LangRef] Split non-integral and unstable pointer properties (PR #105735)

2025-03-19 Thread Krzysztof Drewniak via llvm-branch-commits
@@ -650,48 +650,127 @@ literal types are uniqued in recent versions of LLVM. .. _nointptrtype: -Non-Integral Pointer Type -- +Non-Integral and Unstable Pointer Types +--- -Note: non-integral pointer types are a wor

[llvm-branch-commits] [llvm] [DataLayout][LangRef] Split non-integral and unstable pointer properties (PR #105735)

2025-03-19 Thread Alexander Richardson via llvm-branch-commits
@@ -650,48 +650,127 @@ literal types are uniqued in recent versions of LLVM. .. _nointptrtype: -Non-Integral Pointer Type -- +Non-Integral and Unstable Pointer Types +--- -Note: non-integral pointer types are a wor

[llvm-branch-commits] [llvm] [SDAG] Introduce inbounds flag for pointer arithmetic (PR #131862)

2025-03-19 Thread David Green via llvm-branch-commits
davemgreen wrote: There is a ISD::PTRADD in https://github.com/llvm/llvm-project/pull/105669, which still has some open questions about whether the AMDGPU use of the tablegen `ptradd` can be redefined. https://github.com/llvm/llvm-project/pull/131862 ___

[llvm-branch-commits] [llvm] [DataLayout][LangRef] Split non-integral and unstable pointer properties (PR #105735)

2025-03-19 Thread Krzysztof Drewniak via llvm-branch-commits
https://github.com/krzysz00 edited https://github.com/llvm/llvm-project/pull/105735 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [DataLayout][LangRef] Split non-integral and unstable pointer properties (PR #105735)

2025-03-19 Thread Krzysztof Drewniak via llvm-branch-commits
https://github.com/krzysz00 commented: I like the external state thing and think this is a good clarification / breakdown overall, just one comment https://github.com/llvm/llvm-project/pull/105735 ___ llvm-branch-commits mailing list llvm-branch-commi

[llvm-branch-commits] [llvm] [DataLayout][LangRef] Split non-integral and unstable pointer properties (PR #105735)

2025-03-19 Thread Krzysztof Drewniak via llvm-branch-commits
@@ -650,48 +650,127 @@ literal types are uniqued in recent versions of LLVM. .. _nointptrtype: -Non-Integral Pointer Type -- +Non-Integral and Unstable Pointer Types +--- -Note: non-integral pointer types are a wor

[llvm-branch-commits] [clang] [CUDA][HIP] fix virtual dtor host/device attr (PR #130126)

2025-03-19 Thread Yaxun Liu via llvm-branch-commits
yxsamliu wrote: > @yxsamliu (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. Fixed

[llvm-branch-commits] [llvm] release/20.x: [PowerPC] Support conversion between f16 and f128 (#130158) (PR #132049)

2025-03-19 Thread Trevor Gross via llvm-branch-commits
tgross35 wrote: > @tgross35 What do you think about merging this PR to the release branch? I'd be happy to have it but it's certainly not my call. @RolandF77 was the original reviewer. https://github.com/llvm/llvm-project/pull/132049 ___ llvm-branch-

[llvm-branch-commits] [clang] [llvm] release/20.x: [Hexagon] Set the default compilation target to V68 (#125239) (PR #128597)

2025-03-19 Thread Alex Rønne Petersen via llvm-branch-commits
alexrp wrote: Given 20.1.1 was just released, is the plan still to get this one into 20.x? (Just asking to know whether we should make a corresponding change in Zig.) https://github.com/llvm/llvm-project/pull/128597 ___ llvm-branch-commits mailing lis

[llvm-branch-commits] [llvm] [SDAG] Introduce inbounds flag for pointer arithmetic (PR #131862)

2025-03-19 Thread Eli Friedman via llvm-branch-commits
efriedma-quic wrote: Saying "one side is inbounds of the other side" is basically useless, as far as I can tell, for almost any transform. The other possibility you mentioned is that we say one side is a constant, the other is not, and the non-constant side must be a pointer? That seems fragi

[llvm-branch-commits] [clang] [clang-tools-extra] [clang][HeuristicResolver] Default argument heuristic for template parameters (PR #131074)

2025-03-19 Thread Haojian Wu via llvm-branch-commits
@@ -125,6 +126,20 @@ TagDecl *HeuristicResolverImpl::resolveTypeToTagDecl(QualType QT) { if (!T) return nullptr; + // If T is the type of a template parameter, we can't get a useful TagDecl + // out of it. However, if the template parameter has a default argument, +

[llvm-branch-commits] [clang] [llvm] [llvm] Introduce callee_type operand bundle (PR #87573)

2025-03-19 Thread Nikita Popov via llvm-branch-commits
nikic wrote: I still don't think that using operand bundles for this is appropriate. If you take a look at all the other operand bundles (https://llvm.org/docs/LangRef.html#operand-bundles) they consistently have some kind of impact on the semantics of the call. Also keep in mind that the def

[llvm-branch-commits] [llvm] [SPARC][MC] Add tests for VIS family instructions (PR #130967)

2025-03-19 Thread via llvm-branch-commits
koachan wrote: Ping? https://github.com/llvm/llvm-project/pull/130967 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [SDAG] Introduce inbounds flag for pointer arithmetic (PR #131862)

2025-03-19 Thread Fabian Ritter via llvm-branch-commits
ritter-x2a wrote: > This seems semantically ambiguous. > > In GlobalISel, you have G_PTR_ADD, and inbounds on that has an obvious > meaning; G_PTR_ADD has basically the same semantics as getelementptr. But in > SelectionDAG, we don't have that; we just have a plain ISD::ADD. How do you > tell

[llvm-branch-commits] [clang] [clang-tools-extra] [clang] improve class type sugar preservation in pointers to members (PR #130537)

2025-03-19 Thread Erich Keane via llvm-branch-commits
erichkeane wrote: > Done, in order to expedite review, I have split-off three patches from this: > > * [[clang] ASTContext: flesh out implementation of getCommonNNS > #131964](https://github.com/llvm/llvm-project/pull/131964) > > * [[clang] NFC: Clear some uses of MemberPointerType::ge

[llvm-branch-commits] [llvm] release/20.x: [llvm] Fix crash when complex deinterleaving operates on an unrolled loop (#129735) (PR #132031)

2025-03-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: None (llvmbot) Changes Backport 3f4b2f12a1e3e87e4bfb86937cc1ccdd4d38dcf5 Requested by: @NickGuy-Arm --- Patch is 20.54 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/132031.diff 2

[llvm-branch-commits] [llvm] release/20.x: [llvm] Fix crash when complex deinterleaving operates on an unrolled loop (#129735) (PR #132031)

2025-03-19 Thread via llvm-branch-commits
llvmbot wrote: @igogo-x86 What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/132031 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/lis

[llvm-branch-commits] [llvm] release/20.x: [llvm] Fix crash when complex deinterleaving operates on an unrolled loop (#129735) (PR #132031)

2025-03-19 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/132031 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/20.x: [llvm] Fix crash when complex deinterleaving operates on an unrolled loop (#129735) (PR #132031)

2025-03-19 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/132031 Backport 3f4b2f12a1e3e87e4bfb86937cc1ccdd4d38dcf5 Requested by: @NickGuy-Arm >From 27efd9836497ecd26d2a525b5b3d9fa2bd95b9c1 Mon Sep 17 00:00:00 2001 From: Nicholas Guy Date: Wed, 19 Mar 2025 13:44:02 + Sub

[llvm-branch-commits] [clang] [clang-tools-extra] [clang] improve class type sugar preservation in pointers to members (PR #130537)

2025-03-19 Thread Erich Keane via llvm-branch-commits
@@ -1355,7 +1355,7 @@ class BlockPointerTypeLoc : public PointerLikeTypeLochttps://github.com/llvm/llvm-project/pull/130537 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/l

[llvm-branch-commits] [clang] [clang-tools-extra] [clang] improve class type sugar preservation in pointers to members (PR #130537)

2025-03-19 Thread Erich Keane via llvm-branch-commits
https://github.com/erichkeane edited https://github.com/llvm/llvm-project/pull/130537 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [clang-tools-extra] [clang] improve class type sugar preservation in pointers to members (PR #130537)

2025-03-19 Thread Erich Keane via llvm-branch-commits
https://github.com/erichkeane approved this pull request. just want for 1 FIXME comment, else I've reviewed as well as I can and found nothing concerning. https://github.com/llvm/llvm-project/pull/130537 ___ llvm-branch-commits mailing list llvm-branc

[llvm-branch-commits] [clang] [clang] NFC: Unify implementations of CheckMemberPointerConversion (PR #131966)

2025-03-19 Thread Erich Keane via llvm-branch-commits
https://github.com/erichkeane approved this pull request. https://github.com/llvm/llvm-project/pull/131966 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [clang-tools-extra] [clang] NFC: Clear some uses of MemberPointerType::getClass (PR #131965)

2025-03-19 Thread Erich Keane via llvm-branch-commits
https://github.com/erichkeane approved this pull request. Just did a spot-check, but the uses I saw all seemed reasonable. There ARE a few cases I saw where it did a `cast` to `RecordType` then a `getDecl`, so this loses the assert, but I think that is still reasonable. https://github.com/llvm

[llvm-branch-commits] [clang] [Clang][Backport] Demote mixed enumeration arithmetic error to a warning (PR #131853)

2025-03-19 Thread via llvm-branch-commits
https://github.com/cor3ntin closed https://github.com/llvm/llvm-project/pull/131853 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] release/20.x: [libcxx] Add a missing include for __bit_iterator (#127015) (PR #131382)

2025-03-19 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne edited https://github.com/llvm/llvm-project/pull/131382 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [Clang][Backport] Demote mixed enumeration arithmetic error to a warning (PR #131853)

2025-03-19 Thread Aaron Ballman via llvm-branch-commits
@@ -7567,9 +7567,13 @@ def warn_arith_conv_mixed_enum_types_cxx20 : Warning< "%sub{select_arith_conv_kind}0 " "different enumeration types%diff{ ($ and $)|}1,2 is deprecated">, InGroup; -def err_conv_mixed_enum_types_cxx26 : Error< + +def err_conv_mixed_enum_types: Error

[llvm-branch-commits] [flang] 16e0ae5 - Revert "[flang][openmp] Adds Parser and Semantic Support for Interop Construc…"

2025-03-19 Thread via llvm-branch-commits
Author: Kiran Chandramohan Date: 2025-03-19T11:13:10Z New Revision: 16e0ae5e9a6a507cdf39a45823ac0df18bb7d946 URL: https://github.com/llvm/llvm-project/commit/16e0ae5e9a6a507cdf39a45823ac0df18bb7d946 DIFF: https://github.com/llvm/llvm-project/commit/16e0ae5e9a6a507cdf39a45823ac0df18bb7d946.diff

[llvm-branch-commits] [llvm] [AMDGPU][NFC] Mark GEPs in flat offset folding tests as inbounds (PR #131994)

2025-03-19 Thread Fabian Ritter via llvm-branch-commits
ritter-x2a 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.dev/github/pr/llvm/llvm-project/131994?utm_source=stack-comment-downstack-mergeability-warnin

[llvm-branch-commits] [llvm] [AMDGPU] Support image_bvh8_intersect_ray instruction and intrinsic. (PR #130041)

2025-03-19 Thread Mariusz Sikora via llvm-branch-commits
@@ -1509,18 +1509,18 @@ multiclass MIMG_Gather : MIMG_Gather; -class MIMG_IntersectRay_Helper { - int num_addrs = !if(Is64, !if(IsA16, 9, 12), !if(IsA16, 8, 11)); +class MIMG_IntersectRay_Helper { + int num_addrs = !if(isBVH8, 11, !if(Is64, !if(IsA16, 9, 12), !if(IsA16,