[llvm-branch-commits] [ADT][NFC] Add missing #include (#165068) (PR #165074)

2025-10-24 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka closed https://github.com/llvm/llvm-project/pull/165074 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [ADT][NFC] Add missing #include (#165068) (PR #165074)

2025-10-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-adt Author: Vitaly Buka (vitalybuka) Changes Added in #164524. Fails when using libc++ in a mode that prunes transitive headers. --- Full diff: https://github.com/llvm/llvm-project/pull/165074.diff 2 Files Affected: - (modified) llvm/include/ll

[llvm-branch-commits] [ADT][NFC] Add missing #include (#165068) (PR #165074)

2025-10-24 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/165074 Added in #164524. Fails when using libc++ in a mode that prunes transitive headers. ___ llvm-branch-commits mailing list [email protected] https:

[llvm-branch-commits] [SpecialCaseList] Flip RadixTree key order (PR #164544)

2025-10-24 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/164544 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [SpecialCaseList] Flip RadixTree key order (PR #164544)

2025-10-24 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/164544 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [SpecialCaseList] Add RadixTree for substring matching (PR #164545)

2025-10-24 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/164545 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [SpecialCaseList] Add RadixTree for substring matching (PR #164545)

2025-10-24 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/164545 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [SpecialCaseList] Filtering Globs with matching prefix and suffix (PR #164543)

2025-10-24 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/164543 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [SpecialCaseList] Filtering Globs with matching prefix and suffix (PR #164543)

2025-10-24 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/164543 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [SpecialCaseList] Filtering Globs with matching prefix and suffix (PR #164543)

2025-10-24 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 -- llvm/include/llvm/Support/SpecialCaseList.h l

[llvm-branch-commits] [SpecialCaseList] Flip RadixTree key order (PR #164544)

2025-10-24 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/164544 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [SpecialCaseList] Flip RadixTree key order (PR #164544)

2025-10-24 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/164544 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [SpecialCaseList] Add RadixTree for substring matching (PR #164545)

2025-10-24 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/164545 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [SpecialCaseList] Add RadixTree for substring matching (PR #164545)

2025-10-24 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/164545 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [SpecialCaseList] Filtering Globs with matching prefix and suffix (PR #164543)

2025-10-24 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/164543 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [SpecialCaseList] Filtering Globs with matching prefix and suffix (PR #164543)

2025-10-24 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/164543 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [DirectX] Add DXIL validation of `llvm.loop` metadata (PR #164292)

2025-10-24 Thread Helena Kotas via llvm-branch-commits
@@ -314,16 +327,106 @@ static void translateBranchMetadata(Module &M, Instruction *BBTerminatorInst) { BBTerminatorInst->setMetadata("hlsl.controlflow.hint", nullptr); } -static std::array getCompatibleInstructionMDs(llvm::Module &M) { +// Determines if the metadata node wi

[llvm-branch-commits] [llvm] [DirectX] Add DXIL validation of `llvm.loop` metadata (PR #164292)

2025-10-24 Thread Helena Kotas via llvm-branch-commits
@@ -314,16 +327,106 @@ static void translateBranchMetadata(Module &M, Instruction *BBTerminatorInst) { BBTerminatorInst->setMetadata("hlsl.controlflow.hint", nullptr); } -static std::array getCompatibleInstructionMDs(llvm::Module &M) { +// Determines if the metadata node wi

[llvm-branch-commits] [llvm] [DirectX] Add DXIL validation of `llvm.loop` metadata (PR #164292)

2025-10-24 Thread Helena Kotas via llvm-branch-commits
@@ -314,16 +327,106 @@ static void translateBranchMetadata(Module &M, Instruction *BBTerminatorInst) { BBTerminatorInst->setMetadata("hlsl.controlflow.hint", nullptr); } -static std::array getCompatibleInstructionMDs(llvm::Module &M) { +// Determines if the metadata node wi

[llvm-branch-commits] [llvm] [DirectX] Add DXIL validation of `llvm.loop` metadata (PR #164292)

2025-10-24 Thread Helena Kotas via llvm-branch-commits
@@ -0,0 +1,58 @@ +; RUN: split-file %s %t +; RUN: opt -S --dxil-translate-metadata %t/not-distinct.ll 2>&1 | FileCheck %t/not-distinct.ll +; RUN: opt -S --dxil-translate-metadata %t/not-md.ll 2>&1 | FileCheck %t/not-md.ll + +; Test that DXIL incompatible loop metadata is strippe

[llvm-branch-commits] [llvm] a3d3339 - Merge branch 'main' into revert-164551-re-land

2025-10-24 Thread via llvm-branch-commits
Author: SahilPatidar Date: 2025-10-25T09:35:02+05:30 New Revision: a3d3339c96708a26132ec050ee23531e9b54204f URL: https://github.com/llvm/llvm-project/commit/a3d3339c96708a26132ec050ee23531e9b54204f DIFF: https://github.com/llvm/llvm-project/commit/a3d3339c96708a26132ec050ee23531e9b54204f.diff

[llvm-branch-commits] [llvm] a7c38b8 - [ADT][NFC] Add missing #include (#165068)

2025-10-24 Thread via llvm-branch-commits
Author: Jordan Rupprecht Date: 2025-10-25T03:58:46Z New Revision: a7c38b8a9c7feb94dc7f500e62c4197b8089da05 URL: https://github.com/llvm/llvm-project/commit/a7c38b8a9c7feb94dc7f500e62c4197b8089da05 DIFF: https://github.com/llvm/llvm-project/commit/a7c38b8a9c7feb94dc7f500e62c4197b8089da05.diff L

[llvm-branch-commits] [llvm] [openmp] [OpenMP][Offload] Add offload runtime support for dyn_groupprivate clause (PR #152831)

2025-10-24 Thread Kevin Sala Penades via llvm-branch-commits
@@ -107,7 +107,7 @@ enum TargetAllocTy : int32_t { inline KernelArgsTy CTorDTorKernelArgs = {1, 0, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, -0, {0,0,0}, {1, 0, 0}, {1, 0, 0}, 0}; +0, {0,0,0,0},

[llvm-branch-commits] [llvm] [DirectX] Add DXIL validation of `llvm.loop` metadata (PR #164292)

2025-10-24 Thread Finn Plummer via llvm-branch-commits
inbelic wrote: This should be addressed with the refactor https://github.com/llvm/llvm-project/pull/164292 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman

[llvm-branch-commits] [llvm] [DirectX] Add DXIL validation of `llvm.loop` metadata (PR #164292)

2025-10-24 Thread Finn Plummer via llvm-branch-commits
https://github.com/inbelic edited https://github.com/llvm/llvm-project/pull/164292 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU] Record old VGPR MSBs in the high bits of s_set_vgpr_msb (PR #165035)

2025-10-24 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec updated https://github.com/llvm/llvm-project/pull/165035 >From 6bcab853c394f67ba4f0b317ac7c24030c20dd4d Mon Sep 17 00:00:00 2001 From: Stanislav Mekhanoshin Date: Fri, 24 Oct 2025 13:06:11 -0700 Subject: [PATCH] [AMDGPU] Record old VGPR MSBs in the high bits of s_se

[llvm-branch-commits] [llvm] [AMDGPU] Record old VGPR MSBs in the high bits of s_set_vgpr_msb (PR #165035)

2025-10-24 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec updated https://github.com/llvm/llvm-project/pull/165035 >From 6bcab853c394f67ba4f0b317ac7c24030c20dd4d Mon Sep 17 00:00:00 2001 From: Stanislav Mekhanoshin Date: Fri, 24 Oct 2025 13:06:11 -0700 Subject: [PATCH] [AMDGPU] Record old VGPR MSBs in the high bits of s_se

[llvm-branch-commits] [llvm] X86: Make sure compiler-rt div calls are not added for msvc (PR #164591)

2025-10-24 Thread Reid Kleckner via llvm-branch-commits
https://github.com/rnk approved this pull request. We should just ship the clang_rt.builtins everywhere at this point. It's in the issue tracker somewhere, but I haven't been able to make it a priority. https://github.com/llvm/llvm-project/pull/164591 ___

[llvm-branch-commits] [llvm] [DirectX] Add DXIL validation of `llvm.loop` metadata (PR #164292)

2025-10-24 Thread Finn Plummer via llvm-branch-commits
https://github.com/inbelic updated https://github.com/llvm/llvm-project/pull/164292 >From 868c42bbd41aae5c43c89dd653d949418ec914f1 Mon Sep 17 00:00:00 2001 From: Finn Plummer Date: Fri, 17 Oct 2025 10:17:32 -0700 Subject: [PATCH 01/12] [DirectX] add a DXILValidateMetadata pass --- llvm/docs/D

[llvm-branch-commits] [llvm] [DirectX] Add DXIL validation of `llvm.loop` metadata (PR #164292)

2025-10-24 Thread Finn Plummer via llvm-branch-commits
https://github.com/inbelic updated https://github.com/llvm/llvm-project/pull/164292 >From 868c42bbd41aae5c43c89dd653d949418ec914f1 Mon Sep 17 00:00:00 2001 From: Finn Plummer Date: Fri, 17 Oct 2025 10:17:32 -0700 Subject: [PATCH 01/11] [DirectX] add a DXILValidateMetadata pass --- llvm/docs/D

[llvm-branch-commits] [clang] [FlowSensitive] [StatusOr] [8/N] Support value ctor and assignment (PR #163894)

2025-10-24 Thread Florian Mayer via llvm-branch-commits
@@ -177,6 +177,27 @@ static auto isPointerComparisonOperatorCall(std::string operator_name) { pointee(anyOf(statusOrType(), statusType(; } +static auto isStatusOrValueAssignmentCall() { + using namespace ::clang::ast_matchers; // NOLINT: T

[llvm-branch-commits] [clang] [FlowSensitive] [StatusOr] [8/N] Support value ctor and assignment (PR #163894)

2025-10-24 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer updated https://github.com/llvm/llvm-project/pull/163894 >From a410f9239726cb16960f047c67054b183035a361 Mon Sep 17 00:00:00 2001 From: Florian Mayer Date: Thu, 16 Oct 2025 17:27:24 -0700 Subject: [PATCH] fix test Created using spr 1.3.7 --- .../FlowSensitive/Models/U

[llvm-branch-commits] [clang] [FlowSensitive] [StatusOr] [8/N] Support value ctor and assignment (PR #163894)

2025-10-24 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer updated https://github.com/llvm/llvm-project/pull/163894 >From a410f9239726cb16960f047c67054b183035a361 Mon Sep 17 00:00:00 2001 From: Florian Mayer Date: Thu, 16 Oct 2025 17:27:24 -0700 Subject: [PATCH] fix test Created using spr 1.3.7 --- .../FlowSensitive/Models/U

[llvm-branch-commits] [FlowSensitive] Allow callback to initialize storagelocations (PR #164675)

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

[llvm-branch-commits] [SpecialCaseList] Filtering Globs with matching prefix and suffix (PR #164543)

2025-10-24 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer approved this pull request. https://github.com/llvm/llvm-project/pull/164543 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [DirectX] Add DXIL validation of `llvm.loop` metadata (PR #164292)

2025-10-24 Thread Helena Kotas via llvm-branch-commits
@@ -24,9 +24,9 @@ _Z4mainDv3_j.exit:; preds = %for.body.i, %entry ; These next check lines check that only the range metadata remains ; No more metadata should be necessary, the rest (the current 0 and 1) ; should be removed. -; CHECK-NOT: !{!"l

[llvm-branch-commits] [llvm] [DirectX] Add DXIL validation of `llvm.loop` metadata (PR #164292)

2025-10-24 Thread Helena Kotas via llvm-branch-commits
hekota wrote: The test does not make sense now - no metadata is getting stripped. Can you add some metadata that DXIL does not allow to test that it gets stripped? https://github.com/llvm/llvm-project/pull/164292 ___

[llvm-branch-commits] [llvm] [AMDGPU] Record old VGPR MSBs in the high bits of s_set_vgpr_msb (PR #165035)

2025-10-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Stanislav Mekhanoshin (rampitec) Changes Fixes: SWDEV-562450 --- Patch is 44.31 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/165035.diff 6 Files Affected: - (modified) llvm/lib/Ta

[llvm-branch-commits] [llvm] [AMDGPU] Record old VGPR MSBs in the high bits of s_set_vgpr_msb (PR #165035)

2025-10-24 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec ready_for_review https://github.com/llvm/llvm-project/pull/165035 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU] Record old VGPR MSBs in the high bits of s_set_vgpr_msb (PR #165035)

2025-10-24 Thread Stanislav Mekhanoshin via llvm-branch-commits
rampitec 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/165035?utm_source=stack-comment-downstack-mergeability-warning"

[llvm-branch-commits] [llvm] [AMDGPU] Record old VGPR MSBs in the high bits of s_set_vgpr_msb (PR #165035)

2025-10-24 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec created https://github.com/llvm/llvm-project/pull/165035 Fixes: SWDEV-562450 >From 80fd780fb149c2561ffa164f66f2f97bc5dc90b3 Mon Sep 17 00:00:00 2001 From: Stanislav Mekhanoshin Date: Fri, 24 Oct 2025 13:06:11 -0700 Subject: [PATCH] [AMDGPU] Record old VGPR MSBs in t

[llvm-branch-commits] [flang] [flang][OpenACC] lower acc loops with early exits (PR #164992)

2025-10-24 Thread Valentin Clement バレンタイン クレメン via llvm-branch-commits
https://github.com/clementval approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/164992 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [openmp] [OpenMP] Implement omp_get_uid_from_device() / omp_get_device_from_uid() (PR #164392)

2025-10-24 Thread Robert Imschweiler via llvm-branch-commits
https://github.com/ro-i updated https://github.com/llvm/llvm-project/pull/164392 >From 8a60fc14cfedb224a09623d2e6f4299957dc67b7 Mon Sep 17 00:00:00 2001 From: Robert Imschweiler Date: Mon, 20 Oct 2025 11:39:19 -0500 Subject: [PATCH 1/8] [OpenMP] Implement omp_get_uid_from_device() / omp_get_dev

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

2025-10-24 Thread Yingwei Zheng via llvm-branch-commits
@@ -18871,6 +18871,37 @@ SDValue DAGCombiner::visitFPOW(SDNode *N) { return SDValue(); } +/// Check if a use of a floating-point operation doesn't care about the sign of +/// zero. This allows us to optimize (sitofp (fptosi x)) -> ftrunc(x) even +/// without NoSignedZerosFPM

[llvm-branch-commits] [llvm] [DAGCombiner] Relax nsz constraint for more FP optimizations (PR #165011)

2025-10-24 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 cpp -- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp --

[llvm-branch-commits] [llvm] [DAGCombiner] Relax nsz constraint for more FP optimizations (PR #165011)

2025-10-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: Guy David (guy-david) Changes [DAGCombiner] Relax nsz constraint for more FP optimizations Some floating-point optimization don't trigger because they can produce incorrect results around signed zeros, and rely on the existence

[llvm-branch-commits] [llvm] [DAGCombiner] Relax nsz constraint for more FP optimizations (PR #165011)

2025-10-24 Thread Guy David via llvm-branch-commits
https://github.com/guy-david created https://github.com/llvm/llvm-project/pull/165011 [DAGCombiner] Relax nsz constraint for more FP optimizations Some floating-point optimization don't trigger because they can produce incorrect results around signed zeros, and rely on the existence of the nsz

[llvm-branch-commits] [llvm] RuntimeLibcalls: Split lowering decisions into LibcallLoweringInfo (PR #164987)

2025-10-24 Thread Saleem Abdulrasool via llvm-branch-commits
@@ -193,6 +193,58 @@ struct MemOp { } }; +class LibcallLoweringInfo { +private: + LLVM_ABI const RTLIB::RuntimeLibcallsInfo &RTLCI; + /// Stores the implementation choice for each each libcall. + LLVM_ABI RTLIB::LibcallImpl LibcallImpls[RTLIB::UNKNOWN_LIBCALL + 1] = { +

[llvm-branch-commits] [llvm] RuntimeLibcalls: Split lowering decisions into LibcallLoweringInfo (PR #164987)

2025-10-24 Thread Saleem Abdulrasool via llvm-branch-commits
@@ -193,6 +193,58 @@ struct MemOp { } }; +class LibcallLoweringInfo { +private: + LLVM_ABI const RTLIB::RuntimeLibcallsInfo &RTLCI; + /// Stores the implementation choice for each each libcall. + LLVM_ABI RTLIB::LibcallImpl LibcallImpls[RTLIB::UNKNOWN_LIBCALL + 1] = { +

[llvm-branch-commits] [llvm] RuntimeLibcalls: Split lowering decisions into LibcallLoweringInfo (PR #164987)

2025-10-24 Thread Saleem Abdulrasool via llvm-branch-commits
@@ -193,6 +193,58 @@ struct MemOp { } }; +class LibcallLoweringInfo { +private: + LLVM_ABI const RTLIB::RuntimeLibcallsInfo &RTLCI; + /// Stores the implementation choice for each each libcall. + LLVM_ABI RTLIB::LibcallImpl LibcallImpls[RTLIB::UNKNOWN_LIBCALL + 1] = { +

[llvm-branch-commits] [llvm] ARM: Avoid adding default libcalls overridden by AEABI functions (PR #164983)

2025-10-24 Thread Saleem Abdulrasool via llvm-branch-commits
https://github.com/compnerd approved this pull request. The AEABI names should be preferred. The aliases are for easing migration I believe. Switching to the GNU names for non-AEABI or non-AAPCS calling conventions on non-Windows targets is the correct behaviour. https://github.com/llvm/llvm-p

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

2025-10-24 Thread Guy David via llvm-branch-commits
https://github.com/guy-david updated https://github.com/llvm/llvm-project/pull/164503 >From 7f65dea126ac725b2f7cde88784845a7eb518de5 Mon Sep 17 00:00:00 2001 From: Guy David Date: Wed, 22 Oct 2025 00:07:57 +0300 Subject: [PATCH] [DAGCombiner] Relax nsz constraint with fp->int->fp optimizations

[llvm-branch-commits] [flang] [flang][OpenACC] lower acc loops with early exits (PR #164992)

2025-10-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-openacc Author: None (jeanPerier) Changes Lower acc loop with early exit using the newly added "unstructured" attribute. The core change of this patch is to refactor the loop control variable so that for loop with early exits, the induction variables a

[llvm-branch-commits] [flang] [flang][OpenACC] lower acc loops with early exits (PR #164992)

2025-10-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-fir-hlfir Author: None (jeanPerier) Changes Lower acc loop with early exit using the newly added "unstructured" attribute. The core change of this patch is to refactor the loop control variable so that for loop with early exits, the induction var

[llvm-branch-commits] [flang] [flang][OpenACC] lower acc loops with early exits (PR #164992)

2025-10-24 Thread via llvm-branch-commits
https://github.com/jeanPerier created https://github.com/llvm/llvm-project/pull/164992 Lower acc loop with early exit using the newly added "unstructured" attribute. The core change of this patch is to refactor the loop control variable so that for loop with early exits, the induction variable

[llvm-branch-commits] [llvm] RuntimeLibcalls: Split lowering decisions into LibcallLoweringInfo (PR #164987)

2025-10-24 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/164987 >From 4d1530d61354ceccbfd12c3483adcb3fce07a466 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 7 Oct 2025 20:00:23 +0900 Subject: [PATCH] RuntimeLibcalls: Split lowering decisions into LibcallLoweringIn

[llvm-branch-commits] [llvm] RuntimeLibcalls: Split lowering decisions into LibcallLoweringInfo (PR #164987)

2025-10-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-arm @llvm/pr-subscribers-llvm-ir Author: Matt Arsenault (arsenm) Changes Introduce a new class for the TargetLowering usage. This tracks the subtarget specific lowering decisions for which libcall to use. RuntimeLibcallsInfo is a module level pro

[llvm-branch-commits] [llvm] RuntimeLibcalls: Split lowering decisions into LibcallLoweringInfo (PR #164987)

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

[llvm-branch-commits] [llvm] RuntimeLibcalls: Split lowering decisions into LibcallLoweringInfo (PR #164987)

2025-10-24 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/164987?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] RuntimeLibcalls: Split lowering decisions into LibcallLoweringInfo (PR #164987)

2025-10-24 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/164987 Introduce a new class for the TargetLowering usage. This tracks the subtarget specific lowering decisions for which libcall to use. RuntimeLibcallsInfo is a module level property, which may have multiple implement

[llvm-branch-commits] [llvm] ARM: Avoid adding default libcalls overridden by AEABI functions (PR #164983)

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

[llvm-branch-commits] [llvm] ARM: Avoid adding default libcalls overridden by AEABI functions (PR #164983)

2025-10-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-ir Author: Matt Arsenault (arsenm) Changes Avoids adding alternative libcall impls for the same libcall. I'm not sure if the default names exist or not, or are just not preferred. compiler-rt appears to define aliases for all of these, so I'm not s

[llvm-branch-commits] [llvm] ARM: Avoid adding default libcalls overridden by AEABI functions (PR #164983)

2025-10-24 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/164983?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] ARM: Avoid adding default libcalls overridden by AEABI functions (PR #164983)

2025-10-24 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/164983 Avoids adding alternative libcall impls for the same libcall. I'm not sure if the default names exist or not, or are just not preferred. compiler-rt appears to define aliases for all of these, so I'm not sure why

[llvm-branch-commits] [llvm] X86: Make sure compiler-rt div calls are not added for msvc (PR #164591)

2025-10-24 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/164591 >From a84fbd5ff20026d1054f87f8a25a41f4a12eb8ae Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 22 Oct 2025 16:30:46 +0900 Subject: [PATCH] X86: Make sure compiler-rt div calls are not added for msvc The

[llvm-branch-commits] [llvm] X86: Make sure compiler-rt div calls are not added for msvc (PR #164591)

2025-10-24 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/164591 >From a84fbd5ff20026d1054f87f8a25a41f4a12eb8ae Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 22 Oct 2025 16:30:46 +0900 Subject: [PATCH] X86: Make sure compiler-rt div calls are not added for msvc The

[llvm-branch-commits] [llvm] [AMDGPU][MC][NFC] Fix True16 instructions in the literals test. (PR #164426)

2025-10-24 Thread Ivan Kosarev via llvm-branch-commits
https://github.com/kosarev updated https://github.com/llvm/llvm-project/pull/164426 >From 8e6abdcec3866ac757bae119222c32edbfd2d3a8 Mon Sep 17 00:00:00 2001 From: Ivan Kosarev Date: Tue, 21 Oct 2025 14:21:30 +0100 Subject: [PATCH] [AMDGPU][MC][NFC] Fix True16 instructions in the literals test.

[llvm-branch-commits] [llvm] [Utils][NFC] Clean up update_mc_test_checks.py. (PR #164454)

2025-10-24 Thread Ivan Kosarev via llvm-branch-commits
https://github.com/kosarev updated https://github.com/llvm/llvm-project/pull/164454 >From 548424cbcba8d24332aa597f8ceda54e10a227c8 Mon Sep 17 00:00:00 2001 From: Ivan Kosarev Date: Tue, 21 Oct 2025 17:06:56 +0100 Subject: [PATCH] [Utils][NFC] Clean up update_mc_test_checks.py. Refine the code

[llvm-branch-commits] [llvm] [AMDGPU][MC][NFC] Fix True16 instructions in the literals test. (PR #164426)

2025-10-24 Thread Ivan Kosarev via llvm-branch-commits
https://github.com/kosarev updated https://github.com/llvm/llvm-project/pull/164426 >From 8e6abdcec3866ac757bae119222c32edbfd2d3a8 Mon Sep 17 00:00:00 2001 From: Ivan Kosarev Date: Tue, 21 Oct 2025 14:21:30 +0100 Subject: [PATCH] [AMDGPU][MC][NFC] Fix True16 instructions in the literals test.

[llvm-branch-commits] [llvm] [Utils][NFC] Clean up update_mc_test_checks.py. (PR #164454)

2025-10-24 Thread Ivan Kosarev via llvm-branch-commits
https://github.com/kosarev updated https://github.com/llvm/llvm-project/pull/164454 >From 548424cbcba8d24332aa597f8ceda54e10a227c8 Mon Sep 17 00:00:00 2001 From: Ivan Kosarev Date: Tue, 21 Oct 2025 17:06:56 +0100 Subject: [PATCH] [Utils][NFC] Clean up update_mc_test_checks.py. Refine the code

[llvm-branch-commits] [clang] [llvm] [AArch64][llvm] Relax mandatory features for Armv9.6-A (PR #164950)

2025-10-24 Thread Jonathan Thackray via llvm-branch-commits
jthackray wrote: > I had to go and look at what was going on here, but yes this appears to be > valid. LGTM Thanks. It's a backport of 0e8781100. The relaxation of mandatory features will also be implemented in gcc shortly. https://github.com/llvm/llvm-project/pull/164950

[llvm-branch-commits] [llvm] [LoongArch] Custom legalize vector_shuffle to `[x]vpermi.w` (PR #164945)

2025-10-24 Thread via llvm-branch-commits
https://github.com/zhaoqi5 ready_for_review https://github.com/llvm/llvm-project/pull/164945 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [LoongArch] Custom legalize vector_shuffle to `[x]vpermi.w` (PR #164945)

2025-10-24 Thread via llvm-branch-commits
https://github.com/zhaoqi5 updated https://github.com/llvm/llvm-project/pull/164945 >From f149131d41903bda9b79b61fc9991ebf009a905c Mon Sep 17 00:00:00 2001 From: Qi Zhao Date: Fri, 24 Oct 2025 17:00:29 +0800 Subject: [PATCH 1/2] [LoongArch] Custom legalize vector_shuffle to `[x]vpermi.w` ---

[llvm-branch-commits] [clang] [llvm] [AArch64][llvm] Relax mandatory features for Armv9.6-A (PR #164950)

2025-10-24 Thread David Green via llvm-branch-commits
https://github.com/davemgreen approved this pull request. I had to go and look at what was going on here, but yes this appears to be valid. LGTM https://github.com/llvm/llvm-project/pull/164950 ___ llvm-branch-commits mailing list llvm-branch-commits@

[llvm-branch-commits] [clang] [llvm] [AArch64][llvm] Relax mandatory features for Armv9.6-A (PR #164950)

2025-10-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: Jonathan Thackray (jthackray) Changes `FEAT_FPRCVT` is removed from being mandatory in Armv9.6-A `FEAT_SVE2p2` is removed from being mandatory in Armv9.6-A --- Full diff: https://github.com/llvm/llvm-project/pull/164950.diff 2

[llvm-branch-commits] [clang] [llvm] [AArch64][llvm] Relax mandatory features for Armv9.6-A (PR #164950)

2025-10-24 Thread Jonathan Thackray via llvm-branch-commits
https://github.com/jthackray milestoned https://github.com/llvm/llvm-project/pull/164950 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [llvm] [AArch64][llvm] Relax mandatory features for Armv9.6-A (PR #164950)

2025-10-24 Thread Jonathan Thackray via llvm-branch-commits
https://github.com/jthackray created https://github.com/llvm/llvm-project/pull/164950 `FEAT_FPRCVT` is removed from being mandatory in Armv9.6-A `FEAT_SVE2p2` is removed from being mandatory in Armv9.6-A >From e9da86d042ca5a9888c00426a7422ef53ddc2444 Mon Sep 17 00:00:00 2001 From: Jonathan Thac

[llvm-branch-commits] [llvm] RuntimeLibcalls: Avoid reporting __stack_chk_guard as available for msvc (PR #164133)

2025-10-24 Thread Martin Storsjö via llvm-branch-commits
https://github.com/mstorsjo approved this pull request. Looks ok I think. https://github.com/llvm/llvm-project/pull/164133 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bran

[llvm-branch-commits] [mlir] 3b947aa - Revert "[mlir][scf] Add parallelLoopUnrollByFactors() (#163806)"

2025-10-24 Thread via llvm-branch-commits
Author: fabrizio-indirli Date: 2025-10-24T10:27:13+01:00 New Revision: 3b947aa8c6a604a8d97dc7f1933afa6306aadf93 URL: https://github.com/llvm/llvm-project/commit/3b947aa8c6a604a8d97dc7f1933afa6306aadf93 DIFF: https://github.com/llvm/llvm-project/commit/3b947aa8c6a604a8d97dc7f1933afa6306aadf93.di

[llvm-branch-commits] [llvm] [LoongArch] Custom legalize vector_shuffle to `[x]vpermi.w` (PR #164945)

2025-10-24 Thread via llvm-branch-commits
https://github.com/zhaoqi5 converted_to_draft https://github.com/llvm/llvm-project/pull/164945 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [LoongArch] Custom legalize vector_shuffle to `[x]vpermi.w` (PR #164945)

2025-10-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-loongarch Author: ZhaoQi (zhaoqi5) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/164945.diff 9 Files Affected: - (modified) llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp (+119-14) - (modified) llvm/lib/Target/LoongA

[llvm-branch-commits] [llvm] [LoongArch] Custom legalize vector_shuffle to `[x]vpermi.w` (PR #164945)

2025-10-24 Thread via llvm-branch-commits
https://github.com/zhaoqi5 created https://github.com/llvm/llvm-project/pull/164945 None >From f149131d41903bda9b79b61fc9991ebf009a905c Mon Sep 17 00:00:00 2001 From: Qi Zhao Date: Fri, 24 Oct 2025 17:00:29 +0800 Subject: [PATCH] [LoongArch] Custom legalize vector_shuffle to `[x]vpermi.w` ---

[llvm-branch-commits] [llvm] [LoongArch] Add patterns to support vector type average instructions generation (PR #161079)

2025-10-24 Thread Zhaoxin Yang via llvm-branch-commits
https://github.com/ylzsx approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/161079 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits