[llvm-branch-commits] [llvm] [X86] Add atomic vector tests for unaligned >1 sizes. (PR #148896)

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

[llvm-branch-commits] [llvm] [SelectionDAG] Legalize <1 x T> vector types for atomic load (PR #148894)

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

[llvm-branch-commits] [STLExtras] Add `take_begin` and `take_end` range adaptors. (PR #164542)

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

[llvm-branch-commits] [STLExtras] Add `take_begin` and `take_end` range adaptors. (PR #164542)

2025-10-21 Thread Jakub Kuderski via llvm-branch-commits
kuhar wrote: I'm fine with the latter options -- cleaning up drop_begin/end should be very quick since there's no issue with input iterators. That code probably predates std::next/prev being constexpr. I don't think it blocks this cleanup should block this PR though. https://github.com/llvm/

[llvm-branch-commits] [STLExtras] Add `take_begin` and `take_end` range adaptors. (PR #164542)

2025-10-21 Thread Vitaly Buka via llvm-branch-commits
vitalybuka wrote: @kuhar All those comments are greater, but it's done in a way consistent to drop_begin/drop_end. So I think we should either land it more or less as is, and fix both together, or start with fixing drop_begin/drop_end in a separate patch, and then update this one. https://

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

2025-10-21 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/164531 ___ 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 (PR #164531)

2025-10-21 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/164531 ___ 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 (PR #164531)

2025-10-21 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/164531 ___ 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 (PR #164531)

2025-10-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-support Author: Vitaly Buka (vitalybuka) Changes This commit optimizes `SpecialCaseList` by using a `RadixTree` to filter glob patterns based on their prefixes. When matching a query, the `RadixTree` quickly identifies all glob patterns whose prefix

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

2025-10-21 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/164531 This commit optimizes `SpecialCaseList` by using a `RadixTree` to filter glob patterns based on their prefixes. When matching a query, the `RadixTree` quickly identifies all glob patterns whose prefixes match

[llvm-branch-commits] [NFC][SpecialCaseList] Remove LLVM_ABI from SpecialCaseList::Matcher::preprocess. (PR #164526)

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

[llvm-branch-commits] [NFC][SpecialCaseList] Remove LLVM_ABI from SpecialCaseList::Matcher::preprocess. (PR #164526)

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

[llvm-branch-commits] [NFC][SpecialCaseList] Remove LLVM_ABI from SpecialCaseList::Matcher::preprocess. (PR #164526)

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

[llvm-branch-commits] [NFC][SpecialCaseList] Remove LLVM_ABI from SpecialCaseList::Matcher::preprocess. (PR #164526)

2025-10-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-support Author: Vitaly Buka (vitalybuka) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/164526.diff 1 Files Affected: - (modified) llvm/lib/Support/SpecialCaseList.cpp (+1-1) ``diff diff --git a/llvm/lib/Support/Spe

[llvm-branch-commits] [NFC][SpecialCaseList] Remove LLVM_ABI from SpecialCaseList::Matcher::preprocess. (PR #164526)

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

[llvm-branch-commits] [RadixTree] Add RadixTree. (PR #164524)

2025-10-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-support Author: Vitaly Buka (vitalybuka) Changes This commit introduces a RadixTree implementation to LLVM. RadixTree, as a Trie, is very efficient by searching for prefixes. A Radix Tree is more efficient implementation of Trie. The tree will be

[llvm-branch-commits] [RadixTree] Add RadixTree. (PR #164524)

2025-10-21 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/164524 This commit introduces a RadixTree implementation to LLVM. RadixTree, as a Trie, is very efficient by searching for prefixes. A Radix Tree is more efficient implementation of Trie. The tree will be used to

[llvm-branch-commits] [llvm] [MIR2Vec][llvm-ir2vec] Add MIR2Vec support to llvm-ir2vec tool (PR #164025)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164025 >From 39337b28c46100bef755a6ec681a17c33f05bceb Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 17 Oct 2025 22:36:25 + Subject: [PATCH] [llvm-ir2vec] MIR2Vec support --- llvm/docs/CommandGuide/llvm-ir

[llvm-branch-commits] [llvm] [MLGO] Add MIR2Vec embedding documentation (PR #164033)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164033 >From dcf282b25850d12b3050e6e9ffca0c5431447d81 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 17 Oct 2025 23:41:29 + Subject: [PATCH] Update MLGO Doc --- llvm/docs/MLGO.rst | 144 +++

[llvm-branch-commits] [llvm] [LVer][profcheck] explicitly set unknown branch weights for the versioned/unversioned selector (PR #164507)

2025-10-21 Thread Alan Zhao via llvm-branch-commits
https://github.com/alanzhao1 approved this pull request. https://github.com/llvm/llvm-project/pull/164507 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [MIR2Vec][llvm-ir2vec] Add MIR2Vec support to llvm-ir2vec tool (PR #164025)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164025 >From 8dfd7f029af460bcc85e720b48ac7e67f9b77a7b Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 17 Oct 2025 22:36:25 + Subject: [PATCH] [llvm-ir2vec] MIR2Vec support --- llvm/docs/CommandGuide/llvm-ir

[llvm-branch-commits] [llvm] [MLGO] Add MIR2Vec embedding documentation (PR #164033)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164033 >From 9b54ed569a0abac0f402f9256fd59c6d1c4c6941 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 17 Oct 2025 23:41:29 + Subject: [PATCH] Update MLGO Doc --- llvm/docs/MLGO.rst | 144 +++

[llvm-branch-commits] [llvm] [MIR2Vec][llvm-ir2vec] Add MIR2Vec support to llvm-ir2vec tool (PR #164025)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164025 >From 8dfd7f029af460bcc85e720b48ac7e67f9b77a7b Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 17 Oct 2025 22:36:25 + Subject: [PATCH] [llvm-ir2vec] MIR2Vec support --- llvm/docs/CommandGuide/llvm-ir

[llvm-branch-commits] [llvm] [MIR2Vec] Add MIR support to triplet generator script (PR #164332)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164332 >From b9db06b0556bf1c773743e742920e3cf706a090d Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Mon, 20 Oct 2025 23:03:17 + Subject: [PATCH] support mir vocab training --- .../mlgo-utils/IR2Vec/generateTri

[llvm-branch-commits] [llvm] [NFC][llvm-ir2vec] Standardize error message format using WithColor (PR #164032)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164032 >From 5239e0b734da6589a284fac80a6b600d81ee35cc Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 17 Oct 2025 23:25:44 + Subject: [PATCH] Use colored error messages --- .../tools/llvm-ir2vec/embeddings-

[llvm-branch-commits] [llvm] [SLU][profcheck] Propagate profile for branches on injected conditions. (PR #164476)

2025-10-21 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin edited https://github.com/llvm/llvm-project/pull/164476 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [SLU][profcheck] Use the original branch weigths in `buildPartialInvariantUnswitchConditionalBranch` (PR #164270)

2025-10-21 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin edited https://github.com/llvm/llvm-project/pull/164270 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [SLU][profcheck] Use the original branch weigths in `buildPartialInvariantUnswitchConditionalBranch` (PR #164270)

2025-10-21 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin edited https://github.com/llvm/llvm-project/pull/164270 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [SLU][profcheck] Use the original branch weigths in `buildPartialInvariantUnswitchConditionalBranch` (PR #164270)

2025-10-21 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin edited https://github.com/llvm/llvm-project/pull/164270 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [SLU][profcheck] Use the original branch weigths in `buildPartialInvariantUnswitchConditionalBranch` (PR #164270)

2025-10-21 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin edited https://github.com/llvm/llvm-project/pull/164270 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [SLU][profcheck] Use the original branch weigths in `buildPartialInvariantUnswitchConditionalBranch` (PR #164270)

2025-10-21 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin edited https://github.com/llvm/llvm-project/pull/164270 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/21.x: [Github] Only look at previous commit for MacOS Premerge (#164483) (PR #164497)

2025-10-21 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/164497 Backport 288ef04d2f19c5b0e4ce3cae450c63a365ab11e9 Requested by: @boomanaiden154 >From 5bada6f8351ec0e35301e9d9722479dad83c089c Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Tue, 21 Oct 2025 14:04:03 -070

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

2025-10-21 Thread Robert Imschweiler via llvm-branch-commits
@@ -91,6 +93,59 @@ EXTERN int omp_get_device_num(void) { return HostDevice; } +EXTERN int omp_get_device_from_uid(const char *DeviceUid) { + TIMESCOPE(); + OMPT_IF_BUILT(ReturnAddressSetterRAII RA(__builtin_return_address(0))); + + if (!DeviceUid) { +DP("Call to omp_g

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

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

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

2025-10-21 Thread Alex Duran via llvm-branch-commits
@@ -91,6 +93,59 @@ EXTERN int omp_get_device_num(void) { return HostDevice; } +EXTERN int omp_get_device_from_uid(const char *DeviceUid) { + TIMESCOPE(); + OMPT_IF_BUILT(ReturnAddressSetterRAII RA(__builtin_return_address(0))); + + if (!DeviceUid) { +DP("Call to omp_g

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

2025-10-21 Thread Robert Imschweiler via llvm-branch-commits
https://github.com/ro-i edited https://github.com/llvm/llvm-project/pull/164392 ___ 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-21 Thread Robert Imschweiler via llvm-branch-commits
@@ -91,6 +93,59 @@ EXTERN int omp_get_device_num(void) { return HostDevice; } +EXTERN int omp_get_device_from_uid(const char *DeviceUid) { + TIMESCOPE(); + OMPT_IF_BUILT(ReturnAddressSetterRAII RA(__builtin_return_address(0))); + + if (!DeviceUid) { +DP("Call to omp_g

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

2025-10-21 Thread Kevin Sala Penades via llvm-branch-commits
@@ -91,6 +93,59 @@ EXTERN int omp_get_device_num(void) { return HostDevice; } +EXTERN int omp_get_device_from_uid(const char *DeviceUid) { + TIMESCOPE(); + OMPT_IF_BUILT(ReturnAddressSetterRAII RA(__builtin_return_address(0))); + + if (!DeviceUid) { +DP("Call to omp_g

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

2025-10-21 Thread Robert Imschweiler via llvm-branch-commits
ro-i wrote: What do you mean? Regarding the discussion of the fake host devices in https://github.com/llvm/llvm-project/pull/164391? Or whether to put a shared constant in libomp and access it from libomptarget similar to `int __kmpc_get_target_offload(void) __attribute__((weak));`? https://g

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

2025-10-21 Thread Robert Imschweiler via llvm-branch-commits
@@ -91,6 +93,59 @@ EXTERN int omp_get_device_num(void) { return HostDevice; } +EXTERN int omp_get_device_from_uid(const char *DeviceUid) { + TIMESCOPE(); + OMPT_IF_BUILT(ReturnAddressSetterRAII RA(__builtin_return_address(0))); + + if (!DeviceUid) { +DP("Call to omp_g

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

2025-10-21 Thread Joseph Huber via llvm-branch-commits
jhuber6 wrote: Do we have a good way to get a UUID for the host device? https://github.com/llvm/llvm-project/pull/164392 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch

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

2025-10-21 Thread Robert Imschweiler via llvm-branch-commits
@@ -91,6 +93,59 @@ EXTERN int omp_get_device_num(void) { return HostDevice; } +EXTERN int omp_get_device_from_uid(const char *DeviceUid) { + TIMESCOPE(); + OMPT_IF_BUILT(ReturnAddressSetterRAII RA(__builtin_return_address(0))); + + if (!DeviceUid) { +DP("Call to omp_g

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

2025-10-21 Thread Robert Imschweiler via llvm-branch-commits
@@ -21,6 +21,8 @@ template using Constant = __gpu_constant T; template using Local = __gpu_local T; template using Global = __gpu_local T; +#define omp_invalid_device -2 ro-i wrote: done https://github.com/llvm/llvm-project/pull/164392 ___

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

2025-10-21 Thread Robert Imschweiler via llvm-branch-commits
@@ -91,6 +93,59 @@ EXTERN int omp_get_device_num(void) { return HostDevice; } +EXTERN int omp_get_device_from_uid(const char *DeviceUid) { + TIMESCOPE(); + OMPT_IF_BUILT(ReturnAddressSetterRAII RA(__builtin_return_address(0))); + + if (!DeviceUid) { +DP("Call to omp_g

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

2025-10-21 Thread Robert Imschweiler via llvm-branch-commits
@@ -0,0 +1,88 @@ +// RUN: %libomptarget-compile-run-and-check-generic + +#include +#include +#include + +// Note that the device UIDs for the "fake" host devices used by libomptarget +// will always be the same as the UID for the initial device (since it *is* the +// same devic

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

2025-10-21 Thread Robert Imschweiler via llvm-branch-commits
@@ -1543,14 +1543,26 @@ int FTN_STDCALL KMP_EXPAND_NAME(FTN_GET_MAX_TASK_PRIORITY)(void) { #endif } -// This function will be defined in libomptarget. When libomptarget is not -// loaded, we assume we are on the host and return KMP_HOST_DEVICE. +// These functions will be def

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

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

[llvm-branch-commits] [llvm] [SLU][profcheck] Propagate profile for branches on injected conditions. (PR #164476)

2025-10-21 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164476 >From cf0c12937ba01e9d9ed2de0cc0a041d53fe444ec Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 21 Oct 2025 11:22:01 -0700 Subject: [PATCH] [SLU][profcheck] Propagate profile for branches on injected con

[llvm-branch-commits] [llvm] [SLU][profcheck] Propagate profile for branches on injected conditions. (PR #164476)

2025-10-21 Thread Mircea Trofin via llvm-branch-commits
mtrofin 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/164476?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] [SLU][profcheck] Propagate profile for branches on injected conditions. (PR #164476)

2025-10-21 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin created https://github.com/llvm/llvm-project/pull/164476 None >From 85789bba56bd894d170fd3cb8d95a832220b1613 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 21 Oct 2025 11:22:01 -0700 Subject: [PATCH] [SLU][profcheck] Propagate profile for branches on injecte

[llvm-branch-commits] [llvm] [MIR2Vec] Add MIR support to triplet generator script (PR #164332)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164332 >From 9e7423a54f0a9308f96f529e19fe6e3e7ab7e59c Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Mon, 20 Oct 2025 23:03:17 + Subject: [PATCH] support mir vocab training --- .../mlgo-utils/IR2Vec/generateTri

[llvm-branch-commits] [llvm] [NFC][llvm-ir2vec] Standardize error message format using WithColor (PR #164032)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164032 >From ae927bf895de820588a3055fb4ffaac8f56268b9 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 17 Oct 2025 23:25:44 + Subject: [PATCH] Use colored error messages --- .../tools/llvm-ir2vec/embeddings-

[llvm-branch-commits] [llvm] [MLGO] Add MIR2Vec embedding documentation (PR #164033)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164033 >From d3ac7414dd11dd431daf86a1fb330db069261d99 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 17 Oct 2025 23:41:29 + Subject: [PATCH] Update MLGO Doc --- llvm/docs/MLGO.rst | 144 +++

[llvm-branch-commits] [llvm] [MLGO] Add MIR2Vec embedding documentation (PR #164033)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164033 >From d3ac7414dd11dd431daf86a1fb330db069261d99 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 17 Oct 2025 23:41:29 + Subject: [PATCH] Update MLGO Doc --- llvm/docs/MLGO.rst | 144 +++

[llvm-branch-commits] [llvm] [MIR2Vec][llvm-ir2vec] Add MIR2Vec support to llvm-ir2vec tool (PR #164025)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164025 >From 84d43ee5b37098b976ea2780d7881d1e2ff0 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 17 Oct 2025 22:36:25 + Subject: [PATCH] [llvm-ir2vec] MIR2Vec support --- llvm/docs/CommandGuide/llvm-ir

[llvm-branch-commits] [llvm] [MIR2Vec][llvm-ir2vec] Add MIR2Vec support to llvm-ir2vec tool (PR #164025)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164025 >From 84d43ee5b37098b976ea2780d7881d1e2ff0 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 17 Oct 2025 22:36:25 + Subject: [PATCH] [llvm-ir2vec] MIR2Vec support --- llvm/docs/CommandGuide/llvm-ir

[llvm-branch-commits] [llvm] [MIR2Vec] Add MIR support to triplet generator script (PR #164332)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164332 >From 9e7423a54f0a9308f96f529e19fe6e3e7ab7e59c Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Mon, 20 Oct 2025 23:03:17 + Subject: [PATCH] support mir vocab training --- .../mlgo-utils/IR2Vec/generateTri

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

2025-10-21 Thread Brox Chen via llvm-branch-commits
https://github.com/broxigarchen approved this pull request. https://github.com/llvm/llvm-project/pull/164454 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

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

2025-10-21 Thread Joe Nash via llvm-branch-commits
@@ -267,60 +264,47 @@ def update_test(ti: common.TestInfo): prefix_set = set([prefix for p in run_list for prefix in p[0]]) common.debug("Rewriting FileCheck prefixes:", str(prefix_set)) -for test_id in range(testnum): -input_line = testlines[test_id] - +

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

2025-10-21 Thread Joe Nash via llvm-branch-commits
https://github.com/Sisyph approved this pull request. https://github.com/llvm/llvm-project/pull/164454 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [MLGO] Add MIR2Vec embedding documentation (PR #164033)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164033 >From 4edfbb743137a78cafc9463929fc092725581f25 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 17 Oct 2025 23:41:29 + Subject: [PATCH] Update MLGO Doc --- llvm/docs/MLGO.rst | 144 +++

[llvm-branch-commits] [llvm] [NFC][llvm-ir2vec] Standardize error message format using WithColor (PR #164032)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164032 >From a3b210f7806f455004babca2f94af434c8b2b429 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 17 Oct 2025 23:25:44 + Subject: [PATCH] Use colored error messages --- .../tools/llvm-ir2vec/embeddings-

[llvm-branch-commits] [llvm] [NFC][llvm-ir2vec] Standardize error message format using WithColor (PR #164032)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164032 >From a3b210f7806f455004babca2f94af434c8b2b429 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 17 Oct 2025 23:25:44 + Subject: [PATCH] Use colored error messages --- .../tools/llvm-ir2vec/embeddings-

[llvm-branch-commits] [llvm] [MIR2Vec][llvm-ir2vec] Add MIR2Vec support to llvm-ir2vec tool (PR #164025)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164025 >From b8aff5e919bf441b363b7bca721007a06821bd07 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 17 Oct 2025 22:36:25 + Subject: [PATCH] [llvm-ir2vec] MIR2Vec support --- llvm/docs/CommandGuide/llvm-ir

[llvm-branch-commits] [llvm] [MIR2Vec][llvm-ir2vec] Add MIR2Vec support to llvm-ir2vec tool (PR #164025)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164025 >From b8aff5e919bf441b363b7bca721007a06821bd07 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 17 Oct 2025 22:36:25 + Subject: [PATCH] [llvm-ir2vec] MIR2Vec support --- llvm/docs/CommandGuide/llvm-ir

[llvm-branch-commits] [llvm] [MIR2Vec] Add MIR support to triplet generator script (PR #164332)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164332 >From 3769e8450d3e46a299e8c03f26b5caaf22fbf74a Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Mon, 20 Oct 2025 23:03:17 + Subject: [PATCH] support mir vocab training --- .../mlgo-utils/IR2Vec/generateTri

[llvm-branch-commits] [llvm] [MIR2Vec] Add MIR support to triplet generator script (PR #164332)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164332 >From 3769e8450d3e46a299e8c03f26b5caaf22fbf74a Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Mon, 20 Oct 2025 23:03:17 + Subject: [PATCH] support mir vocab training --- .../mlgo-utils/IR2Vec/generateTri

[llvm-branch-commits] [llvm] [MLGO] Add MIR2Vec embedding documentation (PR #164033)

2025-10-21 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/164033 >From 4edfbb743137a78cafc9463929fc092725581f25 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 17 Oct 2025 23:41:29 + Subject: [PATCH] Update MLGO Doc --- llvm/docs/MLGO.rst | 144 +++

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

2025-10-21 Thread Joe Nash via llvm-branch-commits
https://github.com/Sisyph approved this pull request. https://github.com/llvm/llvm-project/pull/164426 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] Document CallGraphSection option (PR #119468)

2025-10-21 Thread Prabhu Rajasekaran via llvm-branch-commits
https://github.com/Prabhuk closed https://github.com/llvm/llvm-project/pull/119468 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [Clang][CodeGen] Implement code generation for __builtin_infer_alloc_token() (PR #156842)

2025-10-21 Thread Marco Elver via llvm-branch-commits
https://github.com/melver updated https://github.com/llvm/llvm-project/pull/156842 >From 019499fd0f441ee14e71392f6d1b1219734163a3 Mon Sep 17 00:00:00 2001 From: Marco Elver Date: Wed, 15 Oct 2025 15:13:27 +0200 Subject: [PATCH] force rebase --- clang/docs/AllocToken.rst |

[llvm-branch-commits] [clang] [Clang][CodeGen] Implement code generation for __builtin_infer_alloc_token() (PR #156842)

2025-10-21 Thread Marco Elver via llvm-branch-commits
https://github.com/melver updated https://github.com/llvm/llvm-project/pull/156842 >From 019499fd0f441ee14e71392f6d1b1219734163a3 Mon Sep 17 00:00:00 2001 From: Marco Elver Date: Wed, 15 Oct 2025 15:13:27 +0200 Subject: [PATCH] force rebase --- clang/docs/AllocToken.rst |

[llvm-branch-commits] [Clang] Implement constexpr evaluation for __builtin_infer_alloc_token() (PR #163639)

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

[llvm-branch-commits] [Clang] Implement constexpr evaluation for __builtin_infer_alloc_token() (PR #163639)

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

[llvm-branch-commits] [Clang][Sema] Add __builtin_infer_alloc_token() declaration and semantic checks (PR #163638)

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

[llvm-branch-commits] [Clang][Sema] Add __builtin_infer_alloc_token() declaration and semantic checks (PR #163638)

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

[llvm-branch-commits] [Clang] Refactor allocation type inference logic (PR #163636)

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

[llvm-branch-commits] [Clang] Refactor allocation type inference logic (PR #163636)

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

[llvm-branch-commits] [Clang] Move AllocToken frontend options to LangOptions (PR #163635)

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

[llvm-branch-commits] [Clang] Move AllocToken frontend options to LangOptions (PR #163635)

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

[llvm-branch-commits] [AllocToken] Make token mode a pass parameter (PR #163634)

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

[llvm-branch-commits] [AllocToken] Make token mode a pass parameter (PR #163634)

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

[llvm-branch-commits] [llvm] [X86] Remove extra MOV after widening atomic load (PR #148898)

2025-10-21 Thread via llvm-branch-commits
@@ -1204,6 +1204,13 @@ def : Pat<(i16 (atomic_load_nonext_16 addr:$src)), (MOV16rm addr:$src)>; def : Pat<(i32 (atomic_load_nonext_32 addr:$src)), (MOV32rm addr:$src)>; def : Pat<(i64 (atomic_load_nonext_64 addr:$src)), (MOV64rm addr:$src)>; +def : Pat<(v4i32 (scalar_to_vecto

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

2025-10-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-testing-tools Author: Ivan Kosarev (kosarev) Changes Refine the code a bit to make it easier to comprehend the logic. --- Full diff: https://github.com/llvm/llvm-project/pull/164454.diff 1 Files Affected: - (modified) llvm/utils/update_mc_test_checks

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

2025-10-21 Thread Ivan Kosarev via llvm-branch-commits
kosarev 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/164454?utm_source=stack-comment-downstack-mergeability-warning";

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

2025-10-21 Thread Ivan Kosarev via llvm-branch-commits
https://github.com/kosarev ready_for_review https://github.com/llvm/llvm-project/pull/164454 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

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

2025-10-21 Thread Ivan Kosarev via llvm-branch-commits
https://github.com/kosarev created https://github.com/llvm/llvm-project/pull/164454 Refine the code a bit to make it easier to comprehend the logic. >From 55f77fcb7645421a922639c4cd00a485cef84f3e Mon Sep 17 00:00:00 2001 From: Ivan Kosarev Date: Tue, 21 Oct 2025 17:06:56 +0100 Subject: [PATCH]

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

2025-10-21 Thread Kevin Sala Penades via llvm-branch-commits
@@ -91,6 +93,59 @@ EXTERN int omp_get_device_num(void) { return HostDevice; } +EXTERN int omp_get_device_from_uid(const char *DeviceUid) { + TIMESCOPE(); + OMPT_IF_BUILT(ReturnAddressSetterRAII RA(__builtin_return_address(0))); + + if (!DeviceUid) { +DP("Call to omp_g

[llvm-branch-commits] [clang] [Clang][CodeGen] Implement code generation for __builtin_infer_alloc_token() (PR #156842)

2025-10-21 Thread Marco Elver via llvm-branch-commits
https://github.com/melver updated https://github.com/llvm/llvm-project/pull/156842 >From 019499fd0f441ee14e71392f6d1b1219734163a3 Mon Sep 17 00:00:00 2001 From: Marco Elver Date: Wed, 15 Oct 2025 15:13:27 +0200 Subject: [PATCH] force rebase --- clang/docs/AllocToken.rst |

[llvm-branch-commits] [clang] [Clang][CodeGen] Implement code generation for __builtin_infer_alloc_token() (PR #156842)

2025-10-21 Thread Marco Elver via llvm-branch-commits
https://github.com/melver updated https://github.com/llvm/llvm-project/pull/156842 >From 019499fd0f441ee14e71392f6d1b1219734163a3 Mon Sep 17 00:00:00 2001 From: Marco Elver Date: Wed, 15 Oct 2025 15:13:27 +0200 Subject: [PATCH] force rebase --- clang/docs/AllocToken.rst |

[llvm-branch-commits] [Clang] Implement constexpr evaluation for __builtin_infer_alloc_token() (PR #163639)

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

[llvm-branch-commits] [Clang] Implement constexpr evaluation for __builtin_infer_alloc_token() (PR #163639)

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

[llvm-branch-commits] [Clang][Sema] Add __builtin_infer_alloc_token() declaration and semantic checks (PR #163638)

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

[llvm-branch-commits] [Clang][Sema] Add __builtin_infer_alloc_token() declaration and semantic checks (PR #163638)

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

[llvm-branch-commits] [Clang] Refactor allocation type inference logic (PR #163636)

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

[llvm-branch-commits] [Clang] Refactor allocation type inference logic (PR #163636)

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

[llvm-branch-commits] [Clang] Move AllocToken frontend options to LangOptions (PR #163635)

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

[llvm-branch-commits] [Clang] Move AllocToken frontend options to LangOptions (PR #163635)

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

[llvm-branch-commits] [AllocToken] Make token mode a pass parameter (PR #163634)

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

[llvm-branch-commits] [AllocToken] Make token mode a pass parameter (PR #163634)

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

  1   2   >