[llvm-branch-commits] [llvm] c14fa21 - Revert "Revert "[llvm][NFC] Use `llvm::sort()`" (#140668)"

2025-05-19 Thread via llvm-branch-commits
Author: Iris Shi Date: 2025-05-20T11:36:14+08:00 New Revision: c14fa21e8308eaf964ddf9e3edaeae33c7519d69 URL: https://github.com/llvm/llvm-project/commit/c14fa21e8308eaf964ddf9e3edaeae33c7519d69 DIFF: https://github.com/llvm/llvm-project/commit/c14fa21e8308eaf964ddf9e3edaeae33c7519d69.diff LOG:

[llvm-branch-commits] [llvm] 4640c1c - Revert "[llvm][NFC] Use `llvm::sort()` (#140335)"

2025-05-19 Thread via llvm-branch-commits
Author: Iris Shi Date: 2025-05-20T11:23:45+08:00 New Revision: 4640c1c8b99f8318d25570ef3bb3d4ebb3852b2f URL: https://github.com/llvm/llvm-project/commit/4640c1c8b99f8318d25570ef3bb3d4ebb3852b2f DIFF: https://github.com/llvm/llvm-project/commit/4640c1c8b99f8318d25570ef3bb3d4ebb3852b2f.diff LOG:

[llvm-branch-commits] [clang] 2cea17b - Revert "[Clang] Profile singly-resolved UnresolvedLookupExpr with the declara…"

2025-05-19 Thread via llvm-branch-commits
Author: Younan Zhang Date: 2025-05-20T09:55:50+08:00 New Revision: 2cea17b0ecf4d0938d19765752f4503e148af499 URL: https://github.com/llvm/llvm-project/commit/2cea17b0ecf4d0938d19765752f4503e148af499 DIFF: https://github.com/llvm/llvm-project/commit/2cea17b0ecf4d0938d19765752f4503e148af499.diff

[llvm-branch-commits] [AMDGPU] Set AS8 address width to 48 bits (PR #139419)

2025-05-19 Thread Alexander Richardson via llvm-branch-commits
https://github.com/arichardson updated https://github.com/llvm/llvm-project/pull/139419 ___ 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] [AMDGPU] Set AS8 address width to 48 bits (PR #139419)

2025-05-19 Thread Alexander Richardson via llvm-branch-commits
https://github.com/arichardson updated https://github.com/llvm/llvm-project/pull/139419 ___ 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] [llvm] Enable fexec-charset option (PR #138895)

2025-05-19 Thread Eli Friedman via llvm-branch-commits
@@ -249,6 +250,7 @@ static unsigned ProcessCharEscape(const char *ThisTokBegin, case '4': case '5': case '6': case '7': { // Octal escapes. --ThisTokBuf; +Translate = false; efriedma-quic wrote: Also handle `\o` escapes? https://github.com/llvm/

[llvm-branch-commits] [clang] [llvm] Enable fexec-charset option (PR #138895)

2025-05-19 Thread Eli Friedman via llvm-branch-commits
@@ -2191,6 +2243,16 @@ void StringLiteralParser::init(ArrayRef StringToks){ if (CopyStringFragment(StringToks[i], ThisTokBegin, BeforeCRLF)) hadError = true; +if (!hadError && Converter) { + assert(Kind != tok::wide_string_literal && +

[llvm-branch-commits] [llvm] [DirectX] Detect resources with identical overlapping binding (PR #140645)

2025-05-19 Thread Helena Kotas via llvm-branch-commits
@@ -167,7 +167,6 @@ TEST_F(ResourceBindingAnalysisTest, TestUnboundedAndOverlap) { // StructuredBuffer C[] : register(t0, space2); // StructuredBuffer D: register(t4, space2); /* overlapping */ StringRef Assembly = R"( -%__cblayout_CB = type <{ i32 }> --

[llvm-branch-commits] [llvm] [DirectX] Detect resources with identical overlapping binding (PR #140645)

2025-05-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-analysis @llvm/pr-subscribers-backend-directx Author: Helena Kotas (hekota) Changes This change uses resource name during DXIL resource binding analysis to detect when two (or more) resources have identical overlapping binding. The DXIL resource a

[llvm-branch-commits] [llvm] [DirectX] Detect resources with identical overlapping binding (PR #140645)

2025-05-19 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota created https://github.com/llvm/llvm-project/pull/140645 This change uses resource name during DXIL resource binding analysis to detect when two (or more) resources have identical overlapping binding. The DXIL resource analysis just detects that there is a problem wit

[llvm-branch-commits] [llvm] [NFC][MemProf] Move Radix tree methods to their own header and cpp. (PR #140501)

2025-05-19 Thread Snehasish Kumar via llvm-branch-commits
snehasish wrote: ### Merge activity * **May 19, 7:09 PM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/140501). https://github.com/llvm/llvm-project/pull/140501 __

[llvm-branch-commits] [llvm] [NFC][MemProf] Move IndexedMemProfData to its own header. (PR #140503)

2025-05-19 Thread Snehasish Kumar via llvm-branch-commits
snehasish wrote: ### Merge activity * **May 19, 7:09 PM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/140503). https://github.com/llvm/llvm-project/pull/140503 __

[llvm-branch-commits] [llvm] [NFC][MemProf] Move getGUID out of IndexedMemProfRecord (PR #140502)

2025-05-19 Thread Snehasish Kumar via llvm-branch-commits
snehasish wrote: ### Merge activity * **May 19, 7:09 PM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/140502). https://github.com/llvm/llvm-project/pull/140502 __

[llvm-branch-commits] [llvm] [NFC][MemProf] Move types shared between Analysis, ProfileData and ModuleSummary (Core) to a separate header (PR #140505)

2025-05-19 Thread Snehasish Kumar via llvm-branch-commits
snehasish wrote: ### Merge activity * **May 19, 7:09 PM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/140505). https://github.com/llvm/llvm-project/pull/140505 __

[llvm-branch-commits] [llvm] [NFC][MemProf] Add the LLVM license text and minor clean up. (PR #140504)

2025-05-19 Thread Snehasish Kumar via llvm-branch-commits
snehasish wrote: ### Merge activity * **May 19, 7:09 PM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/140504). https://github.com/llvm/llvm-project/pull/140504 __

[llvm-branch-commits] [llvm] [DirectX] Use resource names when generating DXIL metadata (PR #140635)

2025-05-19 Thread Joshua Batista via llvm-branch-commits
https://github.com/bob80905 approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/140635 ___ 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] [DirectX] Gather resource names in DXIL resource analysis (PR #140633)

2025-05-19 Thread Joshua Batista via llvm-branch-commits
https://github.com/bob80905 approved this pull request. https://github.com/llvm/llvm-project/pull/140633 ___ 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] [DirectX] Improve error message when a binding cannot be found for a resource (PR #140642)

2025-05-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-directx Author: Helena Kotas (hekota) Changes Closes #137868 Depends on #140633 --- Full diff: https://github.com/llvm/llvm-project/pull/140642.diff 2 Files Affected: - (modified) llvm/lib/Target/DirectX/DXILResourceImplicitBinding.cpp (+4-

[llvm-branch-commits] [llvm] [DirectX] Improve error message when a binding cannot be found for a resource (PR #140642)

2025-05-19 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota created https://github.com/llvm/llvm-project/pull/140642 Closes #137868 Depends on #140633 >From 9ba94a335ffca203b7299f363ea8663a46d64bf8 Mon Sep 17 00:00:00 2001 From: Helena Kotas Date: Mon, 19 May 2025 15:57:02 -0700 Subject: [PATCH] [DirectX] Improve error messa

[llvm-branch-commits] [llvm] [DirectX] Use resource names when generating DXIL metadata (PR #140635)

2025-05-19 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota edited https://github.com/llvm/llvm-project/pull/140635 ___ 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] [DirectX] Use resource names when generating DXIL metadata (PR #140635)

2025-05-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-analysis Author: Helena Kotas (hekota) Changes Use resource names gathered during the DXIL resource analysis when creating DXIL resources metadata. Part 4/4 of https://github.com/llvm/llvm-project/issues/105059 Closes #140529 Depends on #140633

[llvm-branch-commits] [llvm] [DirectX] Use resource names when generating DXIL metadata (PR #140635)

2025-05-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-directx Author: Helena Kotas (hekota) Changes Use resource names gathered during the DXIL resource analysis when creating DXIL resources metadata. Part 4/4 of https://github.com/llvm/llvm-project/issues/105059 Closes #140529 Depends on #14063

[llvm-branch-commits] [clang] [llvm] [DirectX] Add resource name argument to llvm.dx.handlefrom[implicit]binding intrinsics (DirectX only) (PR #139991)

2025-05-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-ir Author: Helena Kotas (hekota) Changes Adds resource name argument to `llvm.dx.handlefrombinding` and `llvm.dx.handlefromimplicitbinding` intrinsics. SPIR-V currently does not seem to need the resource names so this change only affects DirectX b

[llvm-branch-commits] [clang] [llvm] [DirectX] Add resource name argument to llvm.dx.handlefrom[implicit]binding intrinsics (DirectX only) (PR #139991)

2025-05-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-directx @llvm/pr-subscribers-hlsl Author: Helena Kotas (hekota) Changes Adds resource name argument to `llvm.dx.handlefrombinding` and `llvm.dx.handlefromimplicitbinding` intrinsics. SPIR-V currently does not seem to need the resource names so t

[llvm-branch-commits] [llvm] [DirectX] Gather resource names in DXIL resource analysis (PR #140633)

2025-05-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-directx @llvm/pr-subscribers-llvm-analysis Author: Helena Kotas (hekota) Changes Gather resource names from `llvm.dx.resource.handlefrombinding` calls during DXIL resource analysis and adds them to `DXILResourceMap`. Part 3/4 of llvm/llvm-proje

[llvm-branch-commits] [llvm] [DirectX] Use resource names when generating DXIL metadata (PR #140635)

2025-05-19 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota ready_for_review https://github.com/llvm/llvm-project/pull/140635 ___ 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] [DirectX] Gather resource names in DXIL resource analysis (PR #140633)

2025-05-19 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota ready_for_review https://github.com/llvm/llvm-project/pull/140633 ___ 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] [llvm] [DirectX] Add resource name argument to llvm.dx.handlefrom[implicit]binding intrinsics (DirectX only) (PR #139991)

2025-05-19 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota ready_for_review https://github.com/llvm/llvm-project/pull/139991 ___ 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] [DirectX] Gather resource names in DXIL resource analysis (PR #140633)

2025-05-19 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota edited https://github.com/llvm/llvm-project/pull/140633 ___ 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] [DirectX] Gather resource names in DXIL resource analysis (PR #140633)

2025-05-19 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota edited https://github.com/llvm/llvm-project/pull/140633 ___ 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] [DirectX] Gather resource names in DXIL resource analysis (PR #140633)

2025-05-19 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota edited https://github.com/llvm/llvm-project/pull/140633 ___ 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] [llvm] [DirectX] Add resource name argument to llvm.dx.handlefrom[implicit]binding intrinsics (DirectX only) (PR #139991)

2025-05-19 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota edited https://github.com/llvm/llvm-project/pull/139991 ___ 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] [llvm] [DirectX] Add resource name argument to llvm.dx.handlefrom[implicit]binding intrinsics (DirectX only) (PR #139991)

2025-05-19 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota edited https://github.com/llvm/llvm-project/pull/139991 ___ 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] [DirectX] Gather resource names in DXIL resource analysis (PR #140633)

2025-05-19 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota edited https://github.com/llvm/llvm-project/pull/140633 ___ 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] [DirectX] Use resource names when generating DXIL metadata (PR #140635)

2025-05-19 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota created https://github.com/llvm/llvm-project/pull/140635 Use resource names gathered during the DXIL resource analysis when creating DXIL resources metadata. Part 4/4 of https://github.com/llvm/llvm-project/issues/105059 Closes #140529 Depends on #140633 >From 0d

[llvm-branch-commits] [clang] [llvm] [DirectX] Add resource name argument to llvm.dx.handlefrom[implicit]binding intrinsics (DirectX only) (PR #139991)

2025-05-19 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota edited https://github.com/llvm/llvm-project/pull/139991 ___ 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] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)

2025-05-19 Thread Vitaly Buka via llvm-branch-commits
@@ -44,6 +44,12 @@ bool NoSanitizeList::containsFunction(SanitizerMask Mask, bool NoSanitizeList::containsFile(SanitizerMask Mask, StringRef FileName, StringRef Category) const { + unsigned NoSanLine = SSCL->inSectionBlame(Mask, "src", FileNa

[llvm-branch-commits] [llvm] [NFC][MemProf] Move getGUID out of IndexedMemProfRecord (PR #140502)

2025-05-19 Thread Snehasish Kumar via llvm-branch-commits
https://github.com/snehasish updated https://github.com/llvm/llvm-project/pull/140502 >From 9028dc98ac740d72c9c6ad02e4503da5e9c02a13 Mon Sep 17 00:00:00 2001 From: Snehasish Kumar Date: Fri, 16 May 2025 20:20:00 -0700 Subject: [PATCH 1/2] [NFC][MemProf] Move getGUID out of IndexedMemProfRecord

[llvm-branch-commits] [llvm] [NFC][MemProf] Move Radix tree methods to their own header and cpp. (PR #140501)

2025-05-19 Thread Snehasish Kumar via llvm-branch-commits
https://github.com/snehasish updated https://github.com/llvm/llvm-project/pull/140501 >From 178cc0cac2258349b482f9315694f84e9d3581a5 Mon Sep 17 00:00:00 2001 From: Snehasish Kumar Date: Fri, 16 May 2025 18:54:05 -0700 Subject: [PATCH 1/2] [NFC][MemProf] Move Radix tree methods to their own hea

[llvm-branch-commits] [clang] [llvm] [DirectX] Add resource name argument to llvm.dx.handlefrom[implicit]binding intrinsics (DirectX only) (PR #139991)

2025-05-19 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota edited https://github.com/llvm/llvm-project/pull/139991 ___ 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] [NFC][MemProf] Move types shared between Analysis, ProfileData and ModuleSummary (Core) to a separate header (PR #140505)

2025-05-19 Thread Snehasish Kumar via llvm-branch-commits
https://github.com/snehasish updated https://github.com/llvm/llvm-project/pull/140505 >From 305e2bdbab27828633afb3d1e2698002f7ccadda Mon Sep 17 00:00:00 2001 From: Snehasish Kumar Date: Mon, 19 May 2025 00:03:59 -0700 Subject: [PATCH] [NFC][MemProf] Move types shared between Analysis, ProfileD

[llvm-branch-commits] [llvm] [NFC][MemProf] Move IndexedMemProfData to its own header. (PR #140503)

2025-05-19 Thread Snehasish Kumar via llvm-branch-commits
https://github.com/snehasish updated https://github.com/llvm/llvm-project/pull/140503 >From 1f2f80df22f154bc317ae9298cf20c9f91574f55 Mon Sep 17 00:00:00 2001 From: Snehasish Kumar Date: Fri, 16 May 2025 23:41:29 -0700 Subject: [PATCH 1/2] [NFC][MemProf] Move IndexedMemProfData to its own header

[llvm-branch-commits] [clang] [llvm] [DirectX] Add resource name argument to llvm.dx.handlefrom[implicit]binding intrinsic (DirectX only) (PR #139991)

2025-05-19 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota edited https://github.com/llvm/llvm-project/pull/139991 ___ 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] [NFC][MemProf] Move IndexedMemProfData to its own header. (PR #140503)

2025-05-19 Thread Snehasish Kumar via llvm-branch-commits
https://github.com/snehasish updated https://github.com/llvm/llvm-project/pull/140503 >From 1f2f80df22f154bc317ae9298cf20c9f91574f55 Mon Sep 17 00:00:00 2001 From: Snehasish Kumar Date: Fri, 16 May 2025 23:41:29 -0700 Subject: [PATCH 1/2] [NFC][MemProf] Move IndexedMemProfData to its own header

[llvm-branch-commits] [llvm] [NFC][MemProf] Add the LLVM license text and minor clean up. (PR #140504)

2025-05-19 Thread Snehasish Kumar via llvm-branch-commits
https://github.com/snehasish updated https://github.com/llvm/llvm-project/pull/140504 >From 36aeb3a179b64b9631af7849ed08d8cf7c7564e5 Mon Sep 17 00:00:00 2001 From: Snehasish Kumar Date: Fri, 16 May 2025 23:55:43 -0700 Subject: [PATCH] [NFC][MemProf] Add the LLVM license text and minor clean up.

[llvm-branch-commits] [llvm] [NFC][MemProf] Move Radix tree methods to their own header and cpp. (PR #140501)

2025-05-19 Thread Snehasish Kumar via llvm-branch-commits
https://github.com/snehasish updated https://github.com/llvm/llvm-project/pull/140501 >From 178cc0cac2258349b482f9315694f84e9d3581a5 Mon Sep 17 00:00:00 2001 From: Snehasish Kumar Date: Fri, 16 May 2025 18:54:05 -0700 Subject: [PATCH 1/2] [NFC][MemProf] Move Radix tree methods to their own hea

[llvm-branch-commits] [llvm] [NFC][MemProf] Add the LLVM license text and minor clean up. (PR #140504)

2025-05-19 Thread Snehasish Kumar via llvm-branch-commits
https://github.com/snehasish updated https://github.com/llvm/llvm-project/pull/140504 >From 36aeb3a179b64b9631af7849ed08d8cf7c7564e5 Mon Sep 17 00:00:00 2001 From: Snehasish Kumar Date: Fri, 16 May 2025 23:55:43 -0700 Subject: [PATCH] [NFC][MemProf] Add the LLVM license text and minor clean up.

[llvm-branch-commits] [llvm] [NFC][MemProf] Move getGUID out of IndexedMemProfRecord (PR #140502)

2025-05-19 Thread Snehasish Kumar via llvm-branch-commits
https://github.com/snehasish updated https://github.com/llvm/llvm-project/pull/140502 >From 9028dc98ac740d72c9c6ad02e4503da5e9c02a13 Mon Sep 17 00:00:00 2001 From: Snehasish Kumar Date: Fri, 16 May 2025 20:20:00 -0700 Subject: [PATCH 1/2] [NFC][MemProf] Move getGUID out of IndexedMemProfRecord

[llvm-branch-commits] [llvm] [NFC][MemProf] Move types shared between Analysis, ProfileData and ModuleSummary (Core) to a separate header (PR #140505)

2025-05-19 Thread Snehasish Kumar via llvm-branch-commits
https://github.com/snehasish updated https://github.com/llvm/llvm-project/pull/140505 >From 305e2bdbab27828633afb3d1e2698002f7ccadda Mon Sep 17 00:00:00 2001 From: Snehasish Kumar Date: Mon, 19 May 2025 00:03:59 -0700 Subject: [PATCH] [NFC][MemProf] Move types shared between Analysis, ProfileD

[llvm-branch-commits] [clang] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)

2025-05-19 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/140529 ___ 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] [DirectX] Gather resource names in DXIL resource analysis (PR #140633)

2025-05-19 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota created https://github.com/llvm/llvm-project/pull/140633 Gather resource names from `llvm.dx.resource.handlefrombinding` calls during DXIL resource analysis and add them to ResourceMap. Part 3/4 of llvm/llvm-project#105059 >From a73cdb9288a0f325d4c03a58daf6803e8d8d2d

[llvm-branch-commits] [clang] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)

2025-05-19 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/140529 ___ 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] [NFC][MemProf] Move types shared between Analysis, ProfileData and ModuleSummary (Core) to a separate header (PR #140505)

2025-05-19 Thread Snehasish Kumar via llvm-branch-commits
@@ -46,6 +46,7 @@ #include "llvm/Transforms/Utils/ModuleUtils.h" #include #include +#include snehasish wrote: Yes, we need it for the `LocHashToCallSites` type but we were including it via ModuleSummaryIndex.h. https://github.com/llvm/llvm-project/pull/14

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Extract Info into JSON values (PR #138063)

2025-05-19 Thread Paul Kirth via llvm-branch-commits
@@ -162,15 +162,264 @@ Error MustacheHTMLGenerator::generateDocs( return Error::success(); } +static json::Value +extractValue(const Location &L, + std::optional RepositoryUrl = std::nullopt) { + Object Obj = Object(); + // Should there be Start/End line number

[llvm-branch-commits] [llvm] AMDGPU: Fix tracking subreg defs when folding through reg_sequence (PR #140608)

2025-05-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/140608 We weren't fully respecting the type of a def of an immediate vs. the type at the use point. Refactor the folding logic to track the value to fold, as well as a subregister to apply to the underlying value. This i

[llvm-branch-commits] [llvm] AMDGPU: Fix tracking subreg defs when folding through reg_sequence (PR #140608)

2025-05-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes We weren't fully respecting the type of a def of an immediate vs. the type at the use point. Refactor the folding logic to track the value to fold, as well as a subregister to apply to the underlying

[llvm-branch-commits] [llvm] [utils][TableGen] Unify name qualifications in DirectiveEmitter (PR #140606)

2025-05-19 Thread Valentin Clement バレンタイン クレメン via llvm-branch-commits
https://github.com/clementval approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/140606 ___ 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] AMDGPU: Add baseline tests for #139317 (PR #140607)

2025-05-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes --- Patch is 43.52 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/140607.diff 5 Files Affected: - (added) llvm/test/CodeGen/AMDGPU/fold-imm-copy-agp

[llvm-branch-commits] [llvm] AMDGPU: Add baseline tests for #139317 (PR #140607)

2025-05-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/140607 None >From 4021541f1a05550bf27348b67f551d4ba73ef9e1 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 14 May 2025 08:50:59 +0200 Subject: [PATCH] AMDGPU: Add baseline tests for #139317 --- .../CodeGen/A

[llvm-branch-commits] [llvm] AMDGPU: Fix tracking subreg defs when folding through reg_sequence (PR #140608)

2025-05-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/140608 ___ 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] AMDGPU: Fix tracking subreg defs when folding through reg_sequence (PR #140608)

2025-05-19 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.dev/github/pr/llvm/llvm-project/140608?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] AMDGPU: Add baseline tests for #139317 (PR #140607)

2025-05-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/140607 ___ 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] AMDGPU: Add baseline tests for #139317 (PR #140607)

2025-05-19 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.dev/github/pr/llvm/llvm-project/140607?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] AMDGPU: Remove redundant operand folding checks (PR #140587)

2025-05-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/140587 >From 04c0bfd8afd6d0c22177ab74fcd563911b628de8 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 19 May 2025 20:02:54 +0200 Subject: [PATCH] AMDGPU: Remove redundant operand folding checks This was pre-fi

[llvm-branch-commits] [llvm] AMDGPU: Remove redundant operand folding checks (PR #140587)

2025-05-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/140587 >From 04c0bfd8afd6d0c22177ab74fcd563911b628de8 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 19 May 2025 20:02:54 +0200 Subject: [PATCH] AMDGPU: Remove redundant operand folding checks This was pre-fi

[llvm-branch-commits] [llvm] [utils][TableGen] Unify name qualifications in DirectiveEmitter (PR #140606)

2025-05-19 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: Previous PR: https://github.com/llvm/llvm-project/pull/140605 https://github.com/llvm/llvm-project/pull/140606 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-

[llvm-branch-commits] [llvm] [utils][TableGen] Unify name qualifications in DirectiveEmitter (PR #140606)

2025-05-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-tablegen Author: Krzysztof Parzyszek (kparzysz) Changes Remove extraneous qualifications from names when - the name is explicitly enclosed by corresponding namespaces, and - the name is in a body of a function defined in corresponding namespaces. Otherw

[llvm-branch-commits] [llvm] [utils][TableGen] Unify name qualifications in DirectiveEmitter (PR #140606)

2025-05-19 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/140606 Remove extraneous qualifications from names when - the name is explicitly enclosed by corresponding namespaces, and - the name is in a body of a function defined in corresponding namespaces. Otherwise add missi

[llvm-branch-commits] [llvm] AMDGPU: Check for subreg match when folding through reg_sequence (PR #140582)

2025-05-19 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: ### Merge activity * **May 19, 3:39 PM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/140582). https://github.com/llvm/llvm-project/pull/140582 _

[llvm-branch-commits] [llvm] AMDGPU: Remove redundant operand folding checks (PR #140587)

2025-05-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes This was pre-filtering out a specific situation from being added to the fold candidate list. The operand legality will ultimately be checked with isOperandLegal before the fold is performed, so I don

[llvm-branch-commits] [llvm] AMDGPU: Remove redundant operand folding checks (PR #140587)

2025-05-19 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.dev/github/pr/llvm/llvm-project/140587?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] AMDGPU: Remove redundant operand folding checks (PR #140587)

2025-05-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/140587 ___ 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] AMDGPU: Remove redundant operand folding checks (PR #140587)

2025-05-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/140587 This was pre-filtering out a specific situation from being added to the fold candidate list. The operand legality will ultimately be checked with isOperandLegal before the fold is performed, so I don't see the plu

[llvm-branch-commits] [llvm] AMDGPU: Check for subreg match when folding through reg_sequence (PR #140582)

2025-05-19 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/140582 ___ 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] AMDGPU: Check for subreg match when folding through reg_sequence (PR #140582)

2025-05-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes We need to consider the use instruction's intepretation of the bits, not the defined immediate without use context. This will regress some cases where we previously coud match f64 inline constants. W

[llvm-branch-commits] [llvm] AMDGPU: Check for subreg match when folding through reg_sequence (PR #140582)

2025-05-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/140582 ___ 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] AMDGPU: Check for subreg match when folding through reg_sequence (PR #140582)

2025-05-19 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.dev/github/pr/llvm/llvm-project/140582?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] AMDGPU: Check for subreg match when folding through reg_sequence (PR #140582)

2025-05-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/140582 We need to consider the use instruction's intepretation of the bits, not the defined immediate without use context. This will regress some cases where we previously coud match f64 inline constants. We can restore

[llvm-branch-commits] [mlir] [MLIR] Integration tests for lowering vector.contract to SVE FEAT_I8MM (PR #140573)

2025-05-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-sve Author: Momchil Velikov (momchil-velikov) Changes --- Patch is 30.80 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/140573.diff 5 Files Affected: - (added) mlir/test/Integration/Dialect/Vector/

[llvm-branch-commits] [mlir] [MLIR] Integration tests for lowering vector.contract to SVE FEAT_I8MM (PR #140573)

2025-05-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir Author: Momchil Velikov (momchil-velikov) Changes --- Patch is 30.80 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/140573.diff 5 Files Affected: - (added) mlir/test/Integration/Dialect/Vector/CPU/

[llvm-branch-commits] [mlir] [MLIR] Integration tests for lowering vector.contract to SVE FEAT_I8MM (PR #140573)

2025-05-19 Thread Momchil Velikov via llvm-branch-commits
https://github.com/momchil-velikov created https://github.com/llvm/llvm-project/pull/140573 None >From 194c1c7737ea7baa74971666f93312a071f5703d Mon Sep 17 00:00:00 2001 From: Momchil Velikov Date: Mon, 19 May 2025 14:50:45 + Subject: [PATCH] [MLIR] Integration tests for lowering vector.con

[llvm-branch-commits] [mlir] [MLIR] Add apply_patterns.vector.arm_sve.lower_contraction TD Op (PR #140572)

2025-05-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir Author: Momchil Velikov (momchil-velikov) Changes --- Patch is 73.30 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/140572.diff 12 Files Affected: - (modified) mlir/include/mlir/Dialect/ArmSVE/CMake

[llvm-branch-commits] [mlir] [MLIR] Add apply_patterns.vector.arm_sve.lower_contraction TD Op (PR #140572)

2025-05-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-sve Author: Momchil Velikov (momchil-velikov) Changes --- Patch is 73.30 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/140572.diff 12 Files Affected: - (modified) mlir/include/mlir/Dialect/ArmSVE/C

[llvm-branch-commits] [mlir] [MLIR] Add apply_patterns.vector.arm_sve.lower_contraction TD Op (PR #140572)

2025-05-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-vector Author: Momchil Velikov (momchil-velikov) Changes --- Patch is 73.30 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/140572.diff 12 Files Affected: - (modified) mlir/include/mlir/Dialect/ArmSV

[llvm-branch-commits] [mlir] [MLIR] Add apply_patterns.vector.arm_sve.lower_contraction TD Op (PR #140572)

2025-05-19 Thread Momchil Velikov via llvm-branch-commits
https://github.com/momchil-velikov created https://github.com/llvm/llvm-project/pull/140572 None >From 251f93ea5b87acefac1fbcd6951c3b7870eff83c Mon Sep 17 00:00:00 2001 From: Momchil Velikov Date: Fri, 16 May 2025 15:47:36 + Subject: [PATCH] [MLIR] Add apply_patterns.vector.arm_sve.lower_c

[llvm-branch-commits] [clang] Implement src:*=sanitize for UBSan. (PR #140489)

2025-05-19 Thread Qinkun Bao via llvm-branch-commits
https://github.com/qinkunbao edited https://github.com/llvm/llvm-project/pull/140489 ___ 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] [NFC][MemProf] Move Radix tree methods to their own header and cpp. (PR #140501)

2025-05-19 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 HEAD~1 HEAD --extensions cpp,h -- llvm/include/llvm/ProfileData/MemProfRadixTree.h l

[llvm-branch-commits] [clang] Implement src:*=sanitize for UBSan. (PR #140489)

2025-05-19 Thread Qinkun Bao via llvm-branch-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140489 >From d383fc3d23c0c302d134a76d39491c87547526a1 Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Mon, 19 May 2025 02:45:30 + Subject: [PATCH 1/2] fix format Created using spr 1.3.6 --- clang/include/clang/

[llvm-branch-commits] [flang] [flang] translate derived type array init to attribute if possible (PR #140268)

2025-05-19 Thread via llvm-branch-commits
@@ -0,0 +1,204 @@ +//===-- LLVMInsertChainFolder.cpp -===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[llvm-branch-commits] [llvm] [SPARC] Use op-then-halve instructions when we have VIS3 (PR #135718)

2025-05-19 Thread via llvm-branch-commits
koachan wrote: Ping? https://github.com/llvm/llvm-project/pull/135718 ___ 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] [NFC][MemProf] Move Radix tree methods to their own header and cpp. (PR #140501)

2025-05-19 Thread Teresa Johnson via llvm-branch-commits
https://github.com/teresajohnson edited https://github.com/llvm/llvm-project/pull/140501 ___ 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] [flang] [OpenMP][Flang] Emit default declare mappers implicitly for derived types (PR #140562)

2025-05-19 Thread Akash Banerjee via llvm-branch-commits
https://github.com/TIFitis updated https://github.com/llvm/llvm-project/pull/140562 >From 580e8625cb0431a86dd77e5c5ba72cd6f33f38ed Mon Sep 17 00:00:00 2001 From: Akash Banerjee Date: Thu, 8 May 2025 21:19:26 +0100 Subject: [PATCH] [OpenMP][Flang] Emit default declare mappers implicitly for der

[llvm-branch-commits] [flang] [OpenMP][Flang] Emit default declare mappers implicitly for derived types (PR #140562)

2025-05-19 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 HEAD~1 HEAD --extensions cpp -- flang/lib/Lower/OpenMP/ClauseProcessor.cpp flang/lib/

[llvm-branch-commits] [flang] [OpenMP][Flang] Emit default declare mappers implicitly for derived types (PR #140562)

2025-05-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-fir-hlfir Author: Akash Banerjee (TIFitis) Changes This patch adds support to emit default declare mappers for implicit mapping of derived types when not supplied by user. This especially helps tackle mapping of allocatables of derived types. --

[llvm-branch-commits] [flang] [OpenMP][Flang] Emit default declare mappers implicitly for derived types (PR #140562)

2025-05-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-openmp Author: Akash Banerjee (TIFitis) Changes This patch adds support to emit default declare mappers for implicit mapping of derived types when not supplied by user. This especially helps tackle mapping of allocatables of derived types. ---

[llvm-branch-commits] [flang] [OpenMP][Flang] Emit default declare mappers implicitly for derived types (PR #140562)

2025-05-19 Thread Akash Banerjee via llvm-branch-commits
https://github.com/TIFitis created https://github.com/llvm/llvm-project/pull/140562 This patch adds support to emit default declare mappers for implicit mapping of derived types when not supplied by user. This especially helps tackle mapping of allocatables of derived types. >From 5d735f1cd6d

[llvm-branch-commits] [llvm] IR: Remove redundant UseList check in addUse (PR #138676)

2025-05-19 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: ### Merge activity * **May 19, 6:10 AM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/138676). https://github.com/llvm/llvm-project/pull/138676 _

[llvm-branch-commits] [llvm] [NFC][MemProf] Move getGUID out of IndexedMemProfRecord (PR #140502)

2025-05-19 Thread Teresa Johnson via llvm-branch-commits
https://github.com/teresajohnson edited https://github.com/llvm/llvm-project/pull/140502 ___ 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] [NFC][MemProf] Move IndexedMemProfData to its own header. (PR #140503)

2025-05-19 Thread Teresa Johnson via llvm-branch-commits
https://github.com/teresajohnson edited https://github.com/llvm/llvm-project/pull/140503 ___ 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] [NFC][MemProf] Move types shared between Analysis, ProfileData and ModuleSummary (Core) to a separate header (PR #140505)

2025-05-19 Thread Teresa Johnson via llvm-branch-commits
https://github.com/teresajohnson edited https://github.com/llvm/llvm-project/pull/140505 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

  1   2   >