[llvm-branch-commits] [llvm] [NFC][IR2Vec] Exposing helpers in IR2Vec Vocabulary (PR #147841)

2025-07-14 Thread S. VenkataKeerthy via llvm-branch-commits
@@ -163,6 +163,14 @@ class Vocabulary { static constexpr unsigned MaxOperandKinds = static_cast(OperandKind::MaxOperandKind); +public: svkeerthy wrote: I just prefer to have constructor in the top :) https://github.com/llvm/llvm-project/pull/147841

[llvm-branch-commits] [llvm] [IR2Vec] Add embeddings mode to llvm-ir2vec tool (PR #147844)

2025-07-14 Thread S. VenkataKeerthy via llvm-branch-commits
@@ -81,6 +136,68 @@ class IR2VecTool { OS << LocalOutput; } + /// Generate embeddings for the entire module + void generateEmbeddings(raw_ostream &OS) const { +if (!Vocab->isValid()) { + OS << "Error: Vocabulary is not valid. IR2VecTool not initialized.\n"; +

[llvm-branch-commits] [llvm] Hexagon: Add frexp intrinsic test (PR #148671)

2025-07-14 Thread via llvm-branch-commits
https://github.com/aankit-ca commented: LGTM https://github.com/llvm/llvm-project/pull/148671 ___ 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] [IR2Vec] Add embeddings mode to llvm-ir2vec tool (PR #147844)

2025-07-14 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/147844 >From ab123750a6d52faecff9276b2d06a95964857ef4 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Wed, 9 Jul 2025 22:44:03 + Subject: [PATCH] IR2Vec Tool Enhancements --- llvm/test/lit.cfg.py

[llvm-branch-commits] [clang] [LifetimeSafety] Add script for performance benchmarking (PR #147315)

2025-07-14 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/147315 >From 5fbfcd75b60d4db3a16e183f888aba1b72d87634 Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Mon, 7 Jul 2025 15:13:00 + Subject: [PATCH] [LifetimeSafety] Add script performance benchmarking --- .../Ana

[llvm-branch-commits] [llvm] [IR2Vec] Add llvm-ir2vec tool for generating triplet embeddings (PR #147842)

2025-07-14 Thread S. VenkataKeerthy via llvm-branch-commits
@@ -0,0 +1,150 @@ +//===- llvm-ir2vec.cpp - IR2Vec Embedding Generation Tool -===// +// +// 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] [IR2Vec] Add llvm-ir2vec tool for generating triplet embeddings (PR #147842)

2025-07-14 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/147842 >From 51b0120e4dd4c9052141f5b334bf9e4716721b56 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Wed, 9 Jul 2025 22:39:39 + Subject: [PATCH] IR2Vec Tool --- llvm/test/CMakeLists.txt| 1 +

[llvm-branch-commits] [llvm] [NFC][IR2Vec] Exposing helpers in IR2Vec Vocabulary (PR #147841)

2025-07-14 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/147841 >From 3f1914ea0f920f93c75557d348c53a9245a00a5b Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Wed, 9 Jul 2025 22:38:22 + Subject: [PATCH] [NFC][IR2Vec] Exposing helpers in IR2Vec Vocabulary --- llvm/incl

[llvm-branch-commits] [clang] [LifetimeSafety] Add script for performance benchmarking (PR #147315)

2025-07-14 Thread Utkarsh Saxena via llvm-branch-commits
usx95 wrote: ### Merge activity * **Jul 14, 6:16 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/147315). https://github.com/llvm/llvm-project/pull/147315 __

[llvm-branch-commits] [llvm] [AMDGPU] Use 64-bit literals in codegen on gfx1250 (PR #148727)

2025-07-14 Thread Shilei Tian via llvm-branch-commits
@@ -447,14 +447,42 @@ void AMDGPUDAGToDAGISel::SelectBuildVector(SDNode *N, unsigned RegClassID) { return; } + bool IsGCN = CurDAG->getSubtarget().getTargetTriple().isAMDGCN(); + if (IsGCN && Subtarget->has64BitLiterals() && VT.getSizeInBits() == 64 && + CurDAG->

[llvm-branch-commits] [llvm] [AMDGPU] Use 64-bit literals in codegen on gfx1250 (PR #148727)

2025-07-14 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian edited https://github.com/llvm/llvm-project/pull/148727 ___ 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] Use 64-bit literals in codegen on gfx1250 (PR #148727)

2025-07-14 Thread Stanislav Mekhanoshin via llvm-branch-commits
@@ -447,14 +447,42 @@ void AMDGPUDAGToDAGISel::SelectBuildVector(SDNode *N, unsigned RegClassID) { return; } + bool IsGCN = CurDAG->getSubtarget().getTargetTriple().isAMDGCN(); + if (IsGCN && Subtarget->has64BitLiterals() && VT.getSizeInBits() == 64 && + CurDAG->

[llvm-branch-commits] [llvm] [NFC][AMDGPU] Refactor handling of `amdgpu-synchronize-as` MD on fences (PR #148630)

2025-07-14 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh created https://github.com/llvm/llvm-project/pull/148630 Directly plug it into the MMO instead, which is much cleaner. >From d8aad39519972bf64d868e9f54ac45862b92686a Mon Sep 17 00:00:00 2001 From: pvanhout Date: Mon, 14 Jul 2025 15:02:31 +0200 Subject: [PATCH] [NFC

[llvm-branch-commits] [llvm] [NFC][AMDGPU] Refactor handling of `amdgpu-synchronize-as` MD on fences (PR #148630)

2025-07-14 Thread Pierre van Houtryve via llvm-branch-commits
Pierre-vh 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/148630?utm_source=stack-comment-downstack-mergeability-warning

[llvm-branch-commits] [llvm] [NFC][AMDGPU] Refactor handling of `amdgpu-synchronize-as` MD on fences (PR #148630)

2025-07-14 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh ready_for_review https://github.com/llvm/llvm-project/pull/148630 ___ 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][AMDGPU] Refactor handling of `amdgpu-synchronize-as` MD on fences (PR #148630)

2025-07-14 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Pierre van Houtryve (Pierre-vh) Changes Directly plug it into the MMO instead, which is much cleaner. --- Full diff: https://github.com/llvm/llvm-project/pull/148630.diff 1 Files Affected: - (modified) llvm/lib/Target/AMDGPU/SI

[llvm-branch-commits] [flang] [flang][OpenMP] Move extractOmpDirective to Utils.cpp, NFC (PR #148653)

2025-07-14 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/148653 None >From d3ed6f948468c4d27c5ac436612e650f9460 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Mon, 14 Jul 2025 10:18:07 -0500 Subject: [PATCH] [flang][OpenMP] Move extractOmpDirective to Utils.c

[llvm-branch-commits] [flang] [flang][OpenMP] Move extractOmpDirective to Utils.cpp, NFC (PR #148653)

2025-07-14 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-fir-hlfir Author: Krzysztof Parzyszek (kparzysz) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/148653.diff 3 Files Affected: - (modified) flang/lib/Lower/OpenMP/OpenMP.cpp (-84) - (modified) flang/lib/Lower/OpenMP/Utils.cpp

[llvm-branch-commits] [flang] [llvm] [flang][OpenMP] Generalize isOpenMPPrivatizingConstruct (PR #148654)

2025-07-14 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/148654 Instead of treating all block and all loop constructs as privatizing, actually check if the construct allows a privatizing clause. >From 4f58a01c96812fdb8086a9c9ad35f260451af8dc Mon Sep 17 00:00:00 2001 From:

[llvm-branch-commits] [flang] [llvm] [flang][OpenMP] Generalize isOpenMPPrivatizingConstruct (PR #148654)

2025-07-14 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-openmp Author: Krzysztof Parzyszek (kparzysz) Changes Instead of treating all block and all loop constructs as privatizing, actually check if the construct allows a privatizing clause. --- Full diff: https://github.com/llvm/llvm-project/pull/1486

[llvm-branch-commits] [flang] [llvm] [flang][OpenMP] Generalize isOpenMPPrivatizingConstruct (PR #148654)

2025-07-14 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: I have verified that 1052_0201 and 1052_0205 both pass with this change. https://github.com/llvm/llvm-project/pull/148654 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/lis

[llvm-branch-commits] [llvm] [utils][TableGen] Make some non-bitmask enums iterable (PR #148647)

2025-07-14 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: Stack: - https://github.com/llvm/llvm-project/pull/148644 - https://github.com/llvm/llvm-project/pull/148647 (this PR) - https://github.com/llvm/llvm-project/pull/148653 - https://github.com/llvm/llvm-project/pull/148654 https://github.com/llvm/llvm-project/pull/148647 __

[llvm-branch-commits] [llvm] [utils][TableGen] Make some non-bitmask enums iterable (PR #148647)

2025-07-14 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/148647 >From 82829a6f51fd96f720a64255442d96133a09b3dc Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Fri, 11 Jul 2025 13:28:02 -0500 Subject: [PATCH 1/2] [utils][TableGen] Make some non-bitmask enums iterabl

[llvm-branch-commits] [libcxx] 33fc0ae - Revert "[libc++][NFC] atomic::wait use public API on macOS (#147146)"

2025-07-14 Thread via llvm-branch-commits
Author: Michael Buch Date: 2025-07-14T20:13:50+01:00 New Revision: 33fc0aed9def535c0fa54c8919416959c6a0e19f URL: https://github.com/llvm/llvm-project/commit/33fc0aed9def535c0fa54c8919416959c6a0e19f DIFF: https://github.com/llvm/llvm-project/commit/33fc0aed9def535c0fa54c8919416959c6a0e19f.diff

[llvm-branch-commits] [llvm] [Github] Add stefanp-synopsys to release uploaders (PR #148643)

2025-07-14 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-github-workflow Author: Aiden Grossman (boomanaiden154) Changes Manual backport of df7927626bc2e6473691ce59067797c60acc2627 to release/20.x Part of fixing #132738. --- Full diff: https://github.com/llvm/llvm-project/pull/148643.diff 1 Files Affected:

[llvm-branch-commits] [llvm] [Github] Add stefanp-synopsys to release uploaders (PR #148643)

2025-07-14 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 edited https://github.com/llvm/llvm-project/pull/148643 ___ 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] [LifetimeSafety] Add expired loans analysis (PR #148222)

2025-07-14 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/148222 >From 19d033cb6aa4a84c78a9b37e25020f4e33e8976b Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Mon, 7 Jul 2025 15:13:00 + Subject: [PATCH 1/3] [LifetimeSafety] Add script performance benchmarking --- ...

[llvm-branch-commits] [clang] [LifetimeSafety] Add script for performance benchmarking (PR #147315)

2025-07-14 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/147315 >From 19d033cb6aa4a84c78a9b37e25020f4e33e8976b Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Mon, 7 Jul 2025 15:13:00 + Subject: [PATCH] [LifetimeSafety] Add script performance benchmarking --- .../Ana

[llvm-branch-commits] [llvm] RuntimeLibcalls: Invert handling of 64-bit only libcalls (PR #148571)

2025-07-14 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: ### Merge activity * **Jul 14, 3:51 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/148571). https://github.com/llvm/llvm-project/pull/148571 _

[llvm-branch-commits] [libc] 666ce63 - Revert "[libc] exp fuzz tests (#148086)"

2025-07-14 Thread via llvm-branch-commits
Author: sribee8 Date: 2025-07-14T16:43:05Z New Revision: 666ce63483c5f6b7df5833de855f8800ad2b0108 URL: https://github.com/llvm/llvm-project/commit/666ce63483c5f6b7df5833de855f8800ad2b0108 DIFF: https://github.com/llvm/llvm-project/commit/666ce63483c5f6b7df5833de855f8800ad2b0108.diff LOG: Rever

[llvm-branch-commits] [clang] [LifetimeSafety] Add expired loans analysis (PR #148222)

2025-07-14 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/148222 ___ 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] [LifetimeSafety] Add expired loans analysis (PR #148222)

2025-07-14 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/148222 >From eb33d75e1ad1faf621f90d0b8f6ac3deab267084 Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Fri, 11 Jul 2025 11:11:47 + Subject: [PATCH 1/3] [LifetimeSafety] Add expired loans analysis --- clang/lib/A

[llvm-branch-commits] [llvm] [IR2Vec] Add embeddings mode to llvm-ir2vec tool (PR #147844)

2025-07-14 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/147844 >From f975249e07c16cf621dcea0189d400ebbc8da7bc Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Wed, 9 Jul 2025 22:44:03 + Subject: [PATCH] IR2Vec Tool Enhancements --- llvm/test/lit.cfg.py

[llvm-branch-commits] [llvm] [IR2Vec] Add embeddings mode to llvm-ir2vec tool (PR #147844)

2025-07-14 Thread S. VenkataKeerthy via llvm-branch-commits
@@ -34,7 +42,7 @@ #include "llvm/Support/raw_ostream.h" using namespace llvm; -using namespace ir2vec; +using namespace llvm::ir2vec; svkeerthy wrote: Done https://github.com/llvm/llvm-project/pull/147844 ___ llvm-

[llvm-branch-commits] [SelectionDAG] Allow "kcfi" on invoke (PR #148737)

2025-07-14 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer closed https://github.com/llvm/llvm-project/pull/148737 ___ 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] [SelectionDAG] Allow "kcfi" on invoke (PR #148737)

2025-07-14 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer reopened https://github.com/llvm/llvm-project/pull/148737 ___ 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] RuntimeLibcalls: Stop opting out of exp10 (PR #148604)

2025-07-14 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/148604 >From b2fc78bc4474f85fd600a5cd2d75862938f12237 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 14 Jul 2025 16:31:00 +0900 Subject: [PATCH] RuntimeLibcalls: Stop opting out of exp10 This changes the beha

[llvm-branch-commits] [llvm] RuntimeLibcalls: Stop opting out of exp10 (PR #148604)

2025-07-14 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/148604 >From b2fc78bc4474f85fd600a5cd2d75862938f12237 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 14 Jul 2025 16:31:00 +0900 Subject: [PATCH] RuntimeLibcalls: Stop opting out of exp10 This changes the beha

[llvm-branch-commits] [llvm] StackProtector: Use RuntimeLibcalls to query libcall names (PR #147913)

2025-07-14 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: ping https://github.com/llvm/llvm-project/pull/147913 ___ 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] Hexagon: Add frexp intrinsic test (PR #148671)

2025-07-14 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: ### Merge activity * **Jul 14, 11:46 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/148671). https://github.com/llvm/llvm-project/pull/148671

[llvm-branch-commits] [llvm] RuntimeLibcalls: Stop opting out of exp10 (PR #148604)

2025-07-14 Thread Trevor Gross via llvm-branch-commits
@@ -0,0 +1,31 @@ +; RUN: %if aarch64-registered-target %{ llc < %s -mtriple=aarch64-unknown-linux-gnu| FileCheck %s --check-prefixes=CHECK-ALL,CHECK-USELD %} +; RUN: %if aarch64-registered-target %{ llc < %s -mtriple=aarch64-unknown-linux-musl | FileCheck %s --check-pref

[llvm-branch-commits] [llvm] RuntimeLibcalls: Stop opting out of exp10 (PR #148604)

2025-07-14 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/148604 >From b2fc78bc4474f85fd600a5cd2d75862938f12237 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 14 Jul 2025 16:31:00 +0900 Subject: [PATCH 1/2] RuntimeLibcalls: Stop opting out of exp10 This changes the

<    1   2