[llvm-branch-commits] [flang] [flang][OpenMP] Map basic `local` specifiers to `private` clauses (PR #142735)

2025-06-09 Thread Michael Klemm via llvm-branch-commits
https://github.com/mjklemm edited https://github.com/llvm/llvm-project/pull/142735 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [flang][OpenMP] Map basic `local` specifiers to `private` clauses (PR #142735)

2025-06-09 Thread Michael Klemm via llvm-branch-commits
@@ -308,10 +310,47 @@ class DoConcurrentConversion fir::DoConcurrentLoopOp loop, mlir::IRMapping &mapper, const mlir::omp::LoopNestOperands &clauseOps, bool isComposite) const { +mlir::omp::WsloopOperands wsloopClauseOps; + +//

[llvm-branch-commits] [flang] [flang][OpenMP] Map basic `local` specifiers to `private` clauses (PR #142735)

2025-06-09 Thread Michael Klemm via llvm-branch-commits
https://github.com/mjklemm approved this pull request. LGTM, maybe fix the typo. https://github.com/llvm/llvm-project/pull/142735 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/ll

[llvm-branch-commits] [CI] Use Github Native Groups in monolithic-* scripts (PR #143481)

2025-06-09 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/143481 This patch updates monolithic-linux.sh and monolithic-windows.sh to emit expandable groups in the Github logs. The syntax this replaces originally worked to produce the same functionality on Buildkite, but

[llvm-branch-commits] [llvm] [MLIniner][IR2Vec] Integrating IR2Vec with MLInliner (PR #143479)

2025-06-09 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-analysis Author: S. VenkataKeerthy (svkeerthy) Changes Changes to use Symbolic embeddings in MLInliner. (Fixes #141836, Tracking issue - #141817) --- Patch is 36.65 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-p

[llvm-branch-commits] [llvm] [MLIniner][IR2Vec] Integrating IR2Vec with MLInliner (PR #143479)

2025-06-09 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy ready_for_review https://github.com/llvm/llvm-project/pull/143479 ___ 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] reachable BB (PR #143476)

2025-06-09 Thread S. VenkataKeerthy via llvm-branch-commits
svkeerthy 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/143476?utm_source=stack-comment-downstack-mergeability-warning

[llvm-branch-commits] [llvm] [MLIniner][IR2Vec] Integrating IR2Vec with MLInliner (PR #143479)

2025-06-09 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy edited https://github.com/llvm/llvm-project/pull/143479 ___ 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] Consider only reachable BBs and non-debug instructions (PR #143476)

2025-06-09 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-analysis Author: S. VenkataKeerthy (svkeerthy) Changes Changes to consider BBs that are reachable from the entry block. Similarly we skip debug instruction while computing the embeddings. (Tracking issue - #141817) --- Full diff: https://github.c

[llvm-branch-commits] [llvm] [CI] Cleanup buildkite test report script (PR #143480)

2025-06-09 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 edited https://github.com/llvm/llvm-project/pull/143480 ___ 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] [CI] Cleanup buildkite test report script (PR #143480)

2025-06-09 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/143480 >From 4a2932807356182b03566460492a2dc17c023a85 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Mon, 9 Jun 2025 22:45:18 -0700 Subject: [PATCH] update Created using spr 1.3.6 --- .ci/generate-buildki

[llvm-branch-commits] [llvm] [IR2Vec] Consider only reachable BBs and non-debug instructions (PR #143476)

2025-06-09 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy ready_for_review https://github.com/llvm/llvm-project/pull/143476 ___ 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] Consider only reachable BBs and non-debug instructions (PR #143476)

2025-06-09 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy edited https://github.com/llvm/llvm-project/pull/143476 ___ 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] [CI] Cleanup buildkite test report script (PR #143480)

2025-06-09 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/143480 This patch removes the generate_test_report_buildkite script entrypoint as we no longer need it now that buildkite has been sunsetted. Also remove the calls in the monolithic-* scripts given they are addin

[llvm-branch-commits] [llvm] [MLIniner][IR2Vec] Integrating IR2Vec with MLInliner (PR #143479)

2025-06-09 Thread S. VenkataKeerthy via llvm-branch-commits
svkeerthy 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/143479?utm_source=stack-comment-downstack-mergeability-warning

[llvm-branch-commits] [llvm] [MLIniner][IR2Vec] Integrating IR2Vec with MLInliner (PR #143479)

2025-06-09 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy created https://github.com/llvm/llvm-project/pull/143479 None >From 58c85ec93a7d81e89ef9d9dd594aa50056e36559 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Tue, 10 Jun 2025 05:40:38 + Subject: [PATCH] [MLIniner][IR2Vec] Integrating IR2Vec with MLInliner --- .

[llvm-branch-commits] [CI] Refactor out some early exits in compute_projects (PR #143478)

2025-06-09 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/143478 I have a habit of using early exits given it is in the LLVM coding standards, but most of the early exits used within this script were trivial and actually adding complexity. These are all instances where

[llvm-branch-commits] [llvm] reachable BB (PR #143476)

2025-06-09 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy created https://github.com/llvm/llvm-project/pull/143476 None >From 79060df5f6ebb7f13bd88dd3128800790433a224 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Tue, 10 Jun 2025 04:49:59 + Subject: [PATCH] reachable BB --- llvm/lib/Analysis/IR2Vec.cpp

[llvm-branch-commits] [llvm] [CI] Migrate to runtimes build (PR #142696)

2025-06-09 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/142696 >From 360e723b51ee201603f72b56859cd7c6d6faec24 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Thu, 5 Jun 2025 06:51:37 + Subject: [PATCH 1/2] feedback Created using spr 1.3.4 --- .ci/compute_pr

[llvm-branch-commits] [llvm] [CI] Migrate to runtimes build (PR #142696)

2025-06-09 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/142696 >From 360e723b51ee201603f72b56859cd7c6d6faec24 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Thu, 5 Jun 2025 06:51:37 + Subject: [PATCH 1/2] feedback Created using spr 1.3.4 --- .ci/compute_pr

[llvm-branch-commits] [llvm] [IR2Vec] Consider only reachable BBs and non-debug instructions (PR #143476)

2025-06-09 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy edited https://github.com/llvm/llvm-project/pull/143476 ___ 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] Consider only reachable BBs and non-debug instructions (PR #143476)

2025-06-09 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy edited https://github.com/llvm/llvm-project/pull/143476 ___ 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] Minor vocab changes and exposing weights (PR #143200)

2025-06-09 Thread Aiden Grossman via llvm-branch-commits
@@ -53,7 +56,12 @@ class raw_ostream; enum class IR2VecKind { Symbolic }; namespace ir2vec { -/// Embedding is a datavtype that wraps std::vector. It provides + +LLVM_ABI extern cl::opt OpcWeight; boomanaiden154 wrote: Why do these need an `LLVM_ABI` tag? If

[llvm-branch-commits] [llvm] [RISCV] Support memcmp expansion for vectors (PR #114517)

2025-06-09 Thread Pengcheng Wang via llvm-branch-commits
@@ -2512,9 +2512,11 @@ bool RISCVTTIImpl::isProfitableToSinkOperands( RISCVTTIImpl::TTI::MemCmpExpansionOptions RISCVTTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { TTI::MemCmpExpansionOptions Options; + // Here we assume that a core that has implemented

[llvm-branch-commits] [llvm] [IR2Vec] Minor vocab changes and exposing weights (PR #143200)

2025-06-09 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/143200 >From 96e4a8b7faac3855a552ca52ff227bfc677cc6be Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 6 Jun 2025 20:32:32 + Subject: [PATCH] Vocab changes1 --- llvm/include/llvm/Analysis/IR2Vec.h| 12 +

[llvm-branch-commits] [llvm] [IR2Vec] Minor vocab changes and exposing weights (PR #143200)

2025-06-09 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/143200 >From 96e4a8b7faac3855a552ca52ff227bfc677cc6be Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 6 Jun 2025 20:32:32 + Subject: [PATCH] Vocab changes1 --- llvm/include/llvm/Analysis/IR2Vec.h| 12 +

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add namespaces to JSON generator (PR #143209)

2025-06-09 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi approved this pull request. LGTM. This seems like its in order, assuming CI is happy. https://github.com/llvm/llvm-project/pull/143209 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add namespaces to JSON generator (PR #143209)

2025-06-09 Thread Paul Kirth via llvm-branch-commits
@@ -171,5 +171,78 @@ TEST(JSONGeneratorTest, emitRecordJSON) { })raw"; EXPECT_EQ(Expected, Actual.str()); } + +TEST(JSONGeneratorTest, emitNamespaceJSON) { + NamespaceInfo I; + I.Name = "Namespace"; + I.Path = "path/to/A"; + I.Namespace.emplace_back(EmptySID, "A", InfoTyp

[llvm-branch-commits] [llvm] [IR2Vec] Minor vocab changes and exposing weights (PR #143200)

2025-06-09 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/143200 >From d3468ab37c05d4796661f13d61fffe31bcf47ba5 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 6 Jun 2025 20:32:32 + Subject: [PATCH] Vocab changes1 --- llvm/include/llvm/Analysis/IR2Vec.h| 10 +

[llvm-branch-commits] [llvm] [IR2Vec] Minor vocab changes and exposing weights (PR #143200)

2025-06-09 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/143200 >From d3468ab37c05d4796661f13d61fffe31bcf47ba5 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 6 Jun 2025 20:32:32 + Subject: [PATCH] Vocab changes1 --- llvm/include/llvm/Analysis/IR2Vec.h| 10 +

[llvm-branch-commits] [clang] 28174b6 - Revert "[alpha.webkit.NoUnretainedMemberChecker] Recognize NS_REQUIRES_PROPER…"

2025-06-09 Thread via llvm-branch-commits
Author: Ryosuke Niwa Date: 2025-06-09T20:55:54-07:00 New Revision: 28174b68fd035a5d62b68c48cc07b5334e2c3ab9 URL: https://github.com/llvm/llvm-project/commit/28174b68fd035a5d62b68c48cc07b5334e2c3ab9 DIFF: https://github.com/llvm/llvm-project/commit/28174b68fd035a5d62b68c48cc07b5334e2c3ab9.diff

[llvm-branch-commits] [IRTranslator] Handle ptrtoaddr (PR #139601)

2025-06-09 Thread Jessica Clarke via llvm-branch-commits
@@ -1583,6 +1583,26 @@ bool IRTranslator::translateCast(unsigned Opcode, const User &U, return true; } +bool IRTranslator::translatePtrToAddr(const User &U, + MachineIRBuilder &MIRBuilder) { + if (containsBF16Type(U)) +return false;

[llvm-branch-commits] [llvm] [IR] Introduce the `ptrtoaddr` instruction (PR #139357)

2025-06-09 Thread Alexander Richardson via llvm-branch-commits
arichardson wrote: > Is this PR part of a stack or something? Yes there are follow-up change to make better use of the new instruction but this one can be reviewed standalone. The `spr` tool doesn't auto link related PRs, I can add some comments to link them here. #139601 #139423 https://git

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add namespaces to JSON generator (PR #143209)

2025-06-09 Thread Erick Velez via llvm-branch-commits
@@ -0,0 +1,108 @@ +// RUN: rm -rf %t && mkdir -p %t +// RUN: clang-doc --output=%t --format=json --executor=standalone %s +// RUN: FileCheck %s < %t/GlobalNamespace/index.json + +class MyClass {}; + +void myFunction(int Param); + +namespace NestedNamespace { +} // namespace Nested

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add namespaces to JSON generator (PR #143209)

2025-06-09 Thread Erick Velez via llvm-branch-commits
@@ -0,0 +1,25 @@ +// RUN: rm -rf %t && mkdir -p %t +// RUN: clang-doc --output=%t --format=json --executor=standalone %s +// RUN: FileCheck %s < %t/GlobalNamespace/index.json + +static void myFunction() {} + +void noExceptFunction() noexcept {} + +inline void inlineFunction() {} +

[llvm-branch-commits] [MSAN] handle assorted AVX permutations (PR #143462)

2025-06-09 Thread Thurston Dang via llvm-branch-commits
@@ -5139,14 +5139,30 @@ struct MemorySanitizerVisitor : public InstVisitor { assert(Success); break; } - +case Intrinsic::x86_avx2_permd: +case Intrinsic::x86_avx2_permps: +case Intrinsic::x86_ssse3_pshuf_b_128: +case Intrinsic::x86_avx2_pshuf_b

[llvm-branch-commits] [MSAN] handle assorted AVX permutations (PR #143462)

2025-06-09 Thread Thurston Dang via llvm-branch-commits
https://github.com/thurstond requested changes to this pull request. Please add assertions and more tests (comments inline). https://github.com/llvm/llvm-project/pull/143462 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https:

[llvm-branch-commits] [MSAN] handle assorted AVX permutations (PR #143462)

2025-06-09 Thread Thurston Dang via llvm-branch-commits
@@ -4161,7 +4161,7 @@ struct MemorySanitizerVisitor : public InstVisitor { // Instrument AVX permutation intrinsic. // We apply the same permutation (argument index 1) to the shadow. - void handleAVXVpermilvar(IntrinsicInst &I) { + void handleAVXPermutation(IntrinsicIns

[llvm-branch-commits] [MSAN] handle assorted AVX permutations (PR #143462)

2025-06-09 Thread Thurston Dang via llvm-branch-commits
https://github.com/thurstond edited https://github.com/llvm/llvm-project/pull/143462 ___ 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] [MSAN] handle AVX vpermi2var (PR #143463)

2025-06-09 Thread Thurston Dang via llvm-branch-commits
@@ -4175,6 +4175,25 @@ struct MemorySanitizerVisitor : public InstVisitor { setShadow(&I, IRB.CreateBitCast(CI, getShadowTy(&I))); setOriginForNaryOp(I); } + // Instrument AVX permutation intrinsic. + // We apply the same permutation (argument index 1) to the shado

[llvm-branch-commits] [MSAN] handle AVX vpermi2var (PR #143463)

2025-06-09 Thread Thurston Dang via llvm-branch-commits
https://github.com/thurstond edited https://github.com/llvm/llvm-project/pull/143463 ___ 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] [MSAN] handle AVX vpermi2var (PR #143463)

2025-06-09 Thread Thurston Dang via llvm-branch-commits
https://github.com/thurstond requested changes to this pull request. Please add assertions and more tests (comments inline). https://github.com/llvm/llvm-project/pull/143463 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https:

[llvm-branch-commits] [MSAN] handle AVX vpermi2var (PR #143463)

2025-06-09 Thread Thurston Dang via llvm-branch-commits
@@ -5130,6 +5149,26 @@ struct MemorySanitizerVisitor : public InstVisitor { handleAVXVpermilvar(I); break; } +case Intrinsic::x86_avx512_vpermi2var_d_128: +case Intrinsic::x86_avx512_vpermi2var_d_256: +case Intrinsic::x86_avx512_vpermi2var_d_512: +

[llvm-branch-commits] [llvm] [IR] Introduce the `ptrtoaddr` instruction (PR #139357)

2025-06-09 Thread Shilei Tian via llvm-branch-commits
shiltian wrote: Is this PR part of a stack or something? https://github.com/llvm/llvm-project/pull/139357 ___ 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: Try constant fold after folding immediate (PR #141862)

2025-06-09 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: ### Merge activity * **Jun 10, 2:36 AM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/141862). https://github.com/llvm/llvm-project/pull/141862 _

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add namespaces to JSON generator (PR #143209)

2025-06-09 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/143209 >From dd5653605e838e7df8ade308f0cfff1d0113790a Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Tue, 3 Jun 2025 11:39:48 -0700 Subject: [PATCH] [clang-doc] add namespaces to JSON generator --- clang-tools-extr

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add namespaces to JSON generator (PR #143209)

2025-06-09 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/143209 >From dd5653605e838e7df8ade308f0cfff1d0113790a Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Tue, 3 Jun 2025 11:39:48 -0700 Subject: [PATCH] [clang-doc] add namespaces to JSON generator --- clang-tools-extr

[llvm-branch-commits] [llvm] [IR] Introduce the `ptrtoaddr` instruction (PR #139357)

2025-06-09 Thread Alexander Richardson via llvm-branch-commits
arichardson wrote: Sorry for the delay here. Updated and hopefully addressed outstanding feedback https://github.com/llvm/llvm-project/pull/139357 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/ma

[llvm-branch-commits] [llvm] [IR] Introduce the `ptrtoaddr` instruction (PR #139357)

2025-06-09 Thread Alexander Richardson via llvm-branch-commits
https://github.com/arichardson updated https://github.com/llvm/llvm-project/pull/139357 >From 25dc175562349410f161ef0e80246301d9a7ba79 Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Fri, 9 May 2025 22:43:37 -0700 Subject: [PATCH] fix docs build Created using spr 1.3.6-beta.1 --- llvm/do

[llvm-branch-commits] [llvm] [IR] Introduce the `ptrtoaddr` instruction (PR #139357)

2025-06-09 Thread Alexander Richardson via llvm-branch-commits
https://github.com/arichardson updated https://github.com/llvm/llvm-project/pull/139357 >From 25dc175562349410f161ef0e80246301d9a7ba79 Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Fri, 9 May 2025 22:43:37 -0700 Subject: [PATCH] fix docs build Created using spr 1.3.6-beta.1 --- llvm/do

[llvm-branch-commits] [llvm] [IR] Introduce the `ptrtoaddr` instruction (PR #139357)

2025-06-09 Thread Alexander Richardson via llvm-branch-commits
@@ -0,0 +1,14 @@ +; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s arichardson wrote: I see 79 tests that use this, but can drop if you think it makes sense. https://github.com/llvm/llvm-project/pull/139357 _

[llvm-branch-commits] [GISelValueTracking] Add test case for G_PTRTOINT (PR #139608)

2025-06-09 Thread Alexander Richardson via llvm-branch-commits
https://github.com/arichardson updated https://github.com/llvm/llvm-project/pull/139608 ___ 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] [GISelValueTracking] Add test case for G_PTRTOINT (PR #139608)

2025-06-09 Thread Alexander Richardson via llvm-branch-commits
https://github.com/arichardson edited https://github.com/llvm/llvm-project/pull/139608 ___ 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] [GISelValueTracking] Add test case for G_PTRTOINT (PR #139608)

2025-06-09 Thread Alexander Richardson via llvm-branch-commits
https://github.com/arichardson updated https://github.com/llvm/llvm-project/pull/139608 ___ 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] [GISelValueTracking] Use representation size for G_PTRTOINT src width (PR #139608)

2025-06-09 Thread Alexander Richardson via llvm-branch-commits
arichardson wrote: Looks like this was fixed while I was busy with other things - https://github.com/llvm/llvm-project/pull/140213 changed this code to drop the invalid width usage. I'll update this PR to just add a test for the ptrtoint case. https://github.com/llvm/llvm-project/pull/139608

[llvm-branch-commits] [llvm] DAG: Move soft float predicate management into RuntimeLibcalls (PR #142905)

2025-06-09 Thread Matt Arsenault via llvm-branch-commits
@@ -11,12 +11,48 @@ using namespace llvm; using namespace RTLIB; +void RuntimeLibcallsInfo::initSoftFloatCmpLibcallPredicates() { + std::fill(SoftFloatCompareLibcallPredicates, arsenm wrote: Actually we can drop this initialization altogether, I did that in

[llvm-branch-commits] [llvm] AMDGPU: Try constant fold after folding immediate (PR #141862)

2025-06-09 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian approved this pull request. https://github.com/llvm/llvm-project/pull/141862 ___ 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] [lld] ELF: Add branch-to-branch optimization. (PR #138366)

2025-06-09 Thread Peter Collingbourne via llvm-branch-commits
pcc wrote: @MaskRay ping. https://github.com/llvm/llvm-project/pull/138366 ___ 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] [MSAN] handle AVX vpermi2var (PR #143463)

2025-06-09 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Florian Mayer (fmayer) Changes --- Patch is 71.59 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/143463.diff 3 Files Affected: - (modified) llvm/lib/Transforms/Instrumentati

[llvm-branch-commits] [MSAN] handle AVX vpermi2var (PR #143463)

2025-06-09 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer created https://github.com/llvm/llvm-project/pull/143463 None ___ 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] [MSAN] handle assorted AVX permutations (PR #143462)

2025-06-09 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Florian Mayer (fmayer) Changes --- Patch is 56.42 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/143462.diff 5 Files Affected: - (modified) llvm/lib/Transforms/Instrumentati

[llvm-branch-commits] [MSAN] handle assorted AVX permutations (PR #143462)

2025-06-09 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer created https://github.com/llvm/llvm-project/pull/143462 None ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [DirectX] Add static sampler support to root signature and fix descriptor range flags (PR #143422)

2025-06-09 Thread via llvm-branch-commits
https://github.com/joaosaffran updated https://github.com/llvm/llvm-project/pull/143422 >From 26c7ccab57c53cffd545277555f131fae50520d9 Mon Sep 17 00:00:00 2001 From: joaosaffran Date: Wed, 4 Jun 2025 21:42:20 + Subject: [PATCH 1/6] adding metadata support for static samplers --- llvm/lib/

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add namespaces to JSON generator (PR #143209)

2025-06-09 Thread Erick Velez via llvm-branch-commits
@@ -171,5 +171,78 @@ TEST(JSONGeneratorTest, emitRecordJSON) { })raw"; EXPECT_EQ(Expected, Actual.str()); } + +TEST(JSONGeneratorTest, emitNamespaceJSON) { + NamespaceInfo I; + I.Name = "Namespace"; + I.Path = "path/to/A"; + I.Namespace.emplace_back(EmptySID, "A", InfoTyp

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add namespaces to JSON generator (PR #143209)

2025-06-09 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 edited https://github.com/llvm/llvm-project/pull/143209 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add namespaces to JSON generator (PR #143209)

2025-06-09 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 edited https://github.com/llvm/llvm-project/pull/143209 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add namespaces to JSON generator (PR #143209)

2025-06-09 Thread Erick Velez via llvm-branch-commits
@@ -171,5 +171,78 @@ TEST(JSONGeneratorTest, emitRecordJSON) { })raw"; EXPECT_EQ(Expected, Actual.str()); } + +TEST(JSONGeneratorTest, emitNamespaceJSON) { + NamespaceInfo I; + I.Name = "Namespace"; + I.Path = "path/to/A"; + I.Namespace.emplace_back(EmptySID, "A", InfoTyp

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add namespaces to JSON generator (PR #143209)

2025-06-09 Thread Paul Kirth via llvm-branch-commits
@@ -171,5 +171,78 @@ TEST(JSONGeneratorTest, emitRecordJSON) { })raw"; EXPECT_EQ(Expected, Actual.str()); } + +TEST(JSONGeneratorTest, emitNamespaceJSON) { + NamespaceInfo I; + I.Name = "Namespace"; + I.Path = "path/to/A"; + I.Namespace.emplace_back(EmptySID, "A", InfoTyp

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add namespaces to JSON generator (PR #143209)

2025-06-09 Thread Paul Kirth via llvm-branch-commits
@@ -171,5 +171,78 @@ TEST(JSONGeneratorTest, emitRecordJSON) { })raw"; EXPECT_EQ(Expected, Actual.str()); } + +TEST(JSONGeneratorTest, emitNamespaceJSON) { + NamespaceInfo I; + I.Name = "Namespace"; + I.Path = "path/to/A"; + I.Namespace.emplace_back(EmptySID, "A", InfoTyp

[llvm-branch-commits] [llvm] [AMDGPU] Autogenerate bitop3 asm and dags. NFCI. (PR #143430)

2025-06-09 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/143430 ___ 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] Autogenerate dst bytesel asm. NFCI. (PR #143429)

2025-06-09 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/143429 ___ 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] Minor vocab changes and exposing weights (PR #143200)

2025-06-09 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/143200 >From 7f2012cd56db0fc6e1c430a8d5b38d360b33145f Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 6 Jun 2025 20:32:32 + Subject: [PATCH] Vocab changes1 --- llvm/include/llvm/Analysis/IR2Vec.h| 10 +

[llvm-branch-commits] [llvm] [IR2Vec] Minor vocab changes and exposing weights (PR #143200)

2025-06-09 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/143200 >From 7f2012cd56db0fc6e1c430a8d5b38d360b33145f Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 6 Jun 2025 20:32:32 + Subject: [PATCH] Vocab changes1 --- llvm/include/llvm/Analysis/IR2Vec.h| 10 +

[llvm-branch-commits] [llvm] release/20.x: [AArch64][SME] Fix accessing the emergency spill slot with hazard padding (#142190) (PR #142741)

2025-06-09 Thread Eli Friedman via llvm-branch-commits
https://github.com/efriedma-quic approved this pull request. LGTM I think this makes sense for the branch: it fixes a miscompile with hazard padding, and it's clearly a no-op if hazard padding is disabled. https://github.com/llvm/llvm-project/pull/142741 ___

[llvm-branch-commits] [llvm] RuntimeLibcalls: Cleanup sincos predicate functions (PR #143081)

2025-06-09 Thread Eli Friedman via llvm-branch-commits
https://github.com/efriedma-quic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/143081 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commi

[llvm-branch-commits] [llvm] [AMDGPU] Autogenerate bitop3 asm and dags. NFCI. (PR #143430)

2025-06-09 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Stanislav Mekhanoshin (rampitec) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/143430.diff 2 Files Affected: - (modified) llvm/lib/Target/AMDGPU/SIInstrInfo.td (+23-15) - (modified) llvm/lib/Target/AMDGPU/V

[llvm-branch-commits] [llvm] [AMDGPU] Autogenerate bitop3 asm and dags. NFCI. (PR #143430)

2025-06-09 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec ready_for_review https://github.com/llvm/llvm-project/pull/143430 ___ 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] Autogenerate dst bytesel asm. NFCI. (PR #143429)

2025-06-09 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Stanislav Mekhanoshin (rampitec) Changes Needed for future t16 support. --- Full diff: https://github.com/llvm/llvm-project/pull/143429.diff 3 Files Affected: - (modified) llvm/lib/Target/AMDGPU/SIInstrInfo.td (+12-6) - (modif

[llvm-branch-commits] [llvm] [AMDGPU] Autogenerate dst bytesel asm. NFCI. (PR #143429)

2025-06-09 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec ready_for_review https://github.com/llvm/llvm-project/pull/143429 ___ 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] Autogenerate bitop3 asm and dags. NFCI. (PR #143430)

2025-06-09 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/143430?utm_source=stack-comment-downstack-mergeability-warning"

[llvm-branch-commits] [llvm] [AMDGPU] Autogenerate dst bytesel asm. NFCI. (PR #143429)

2025-06-09 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/143429?utm_source=stack-comment-downstack-mergeability-warning"

[llvm-branch-commits] [llvm] [AMDGPU] Autogenerate bitop3 asm and dags. NFCI. (PR #143430)

2025-06-09 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec created https://github.com/llvm/llvm-project/pull/143430 None >From 1d58dc465ebd0049e9f4d6b9c32b65b72b88be3e Mon Sep 17 00:00:00 2001 From: Stanislav Mekhanoshin Date: Mon, 9 Jun 2025 12:47:55 -0700 Subject: [PATCH] [AMDGPU] Autogenerate bitop3 asm and dags. NFCI.

[llvm-branch-commits] [llvm] [AMDGPU] Autogenerate dst bytesel asm. NFCI. (PR #143429)

2025-06-09 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec created https://github.com/llvm/llvm-project/pull/143429 Needed for future t16 support. >From 3c462dc48271923cf466e0e0c2c86f26bb69eb11 Mon Sep 17 00:00:00 2001 From: Stanislav Mekhanoshin Date: Mon, 9 Jun 2025 11:53:11 -0700 Subject: [PATCH] [AMDGPU] Autogenerate ds

[llvm-branch-commits] [llvm] [DirectX] Add static sampler support to root signature and fix descriptor range flags (PR #143422)

2025-06-09 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-directx Author: None (joaosaffran) Changes This patch introduces the following changes to the DirectX container implementation: 1. Add static sampler support to root signatures: - Implement parsing and validation of static sampler parameters

[llvm-branch-commits] [llvm] [DirectX] Add static sampler support to root signature and fix descriptor range flags (PR #143422)

2025-06-09 Thread via llvm-branch-commits
https://github.com/joaosaffran edited https://github.com/llvm/llvm-project/pull/143422 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [DirectX] Add static sampler support to root signature and fix descriptor range flags (PR #143422)

2025-06-09 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mc Author: None (joaosaffran) Changes This patch introduces the following changes to the DirectX container implementation: 1. Add static sampler support to root signatures: - Implement parsing and validation of static sampler parameters - Add ver

[llvm-branch-commits] [llvm] [DirectX] Add static sampler support to root signature and fix descriptor range flags (PR #143422)

2025-06-09 Thread via llvm-branch-commits
https://github.com/joaosaffran created https://github.com/llvm/llvm-project/pull/143422 This patch introduces the following changes to the DirectX container implementation: 1. Add static sampler support to root signatures: - Implement parsing and validation of static sampler parameters -

[llvm-branch-commits] [llvm] [IR2Vec] Minor vocab changes and exposing weights (PR #143200)

2025-06-09 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/143200 >From c1842ec938d27261a0b18bc9bcbb20328713f20a Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 6 Jun 2025 20:32:32 + Subject: [PATCH] Vocab changes1 --- llvm/include/llvm/Analysis/IR2Vec.h| 10 +

[llvm-branch-commits] [llvm] [IR2Vec] Minor vocab changes and exposing weights (PR #143200)

2025-06-09 Thread S. VenkataKeerthy via llvm-branch-commits
@@ -83,9 +85,10 @@ void Embedding::scaleAndAdd(const Embedding &Src, float Factor) { bool Embedding::approximatelyEquals(const Embedding &RHS, double Tolerance) const { assert(this->size() == RHS.size() && "Vectors must have the same dimen

[llvm-branch-commits] [llvm] [IR2Vec] Minor vocab changes and exposing weights (PR #143200)

2025-06-09 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/143200 >From 750cb2f730cb1f8d38fc29fa63b92efd53b82eac Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 6 Jun 2025 20:32:32 + Subject: [PATCH] Vocab changes1 --- llvm/include/llvm/Analysis/IR2Vec.h| 10 +

[llvm-branch-commits] [llvm] [IR2Vec] Minor vocab changes and exposing weights (PR #143200)

2025-06-09 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/143200 >From 750cb2f730cb1f8d38fc29fa63b92efd53b82eac Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 6 Jun 2025 20:32:32 + Subject: [PATCH] Vocab changes1 --- llvm/include/llvm/Analysis/IR2Vec.h| 10 +

[llvm-branch-commits] [llvm] [RISCV] Support memcmp expansion for vectors (PR #114517)

2025-06-09 Thread Craig Topper via llvm-branch-commits
@@ -2512,9 +2512,11 @@ bool RISCVTTIImpl::isProfitableToSinkOperands( RISCVTTIImpl::TTI::MemCmpExpansionOptions RISCVTTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { TTI::MemCmpExpansionOptions Options; + // Here we assume that a core that has implemented

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add namespaces to JSON generator (PR #143209)

2025-06-09 Thread Paul Kirth via llvm-branch-commits
@@ -0,0 +1,108 @@ +// RUN: rm -rf %t && mkdir -p %t +// RUN: clang-doc --output=%t --format=json --executor=standalone %s +// RUN: FileCheck %s < %t/GlobalNamespace/index.json + +class MyClass {}; + +void myFunction(int Param); + +namespace NestedNamespace { +} // namespace Nested

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add namespaces to JSON generator (PR #143209)

2025-06-09 Thread Paul Kirth via llvm-branch-commits
@@ -0,0 +1,25 @@ +// RUN: rm -rf %t && mkdir -p %t +// RUN: clang-doc --output=%t --format=json --executor=standalone %s +// RUN: FileCheck %s < %t/GlobalNamespace/index.json + +static void myFunction() {} + +void noExceptFunction() noexcept {} + +inline void inlineFunction() {} +

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add namespaces to JSON generator (PR #143209)

2025-06-09 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi edited https://github.com/llvm/llvm-project/pull/143209 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang-tools-extra] [clang-doc] add namespaces to JSON generator (PR #143209)

2025-06-09 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi approved this pull request. LGTM. I left some comments inline, but I'm fine if we plan to address them later. https://github.com/llvm/llvm-project/pull/143209 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.ll

[llvm-branch-commits] [mlir] [MLIR] Legalize certain `vector.transfer_read` ops of scalable vectors (PR #143146)

2025-06-09 Thread Momchil Velikov via llvm-branch-commits
https://github.com/momchil-velikov updated https://github.com/llvm/llvm-project/pull/143146 >From 6a6d6037b6da51b2da474c99751433542cf35603 Mon Sep 17 00:00:00 2001 From: Momchil Velikov Date: Wed, 14 May 2025 09:03:49 + Subject: [PATCH 1/2] [MLIR] Legalize certain `vector.transfer_read` ops

[llvm-branch-commits] [mlir] [MLIR] Fix incorrect slice contiguity inference in `vector::isContiguousSlice` (PR #142422)

2025-06-09 Thread Momchil Velikov via llvm-branch-commits
https://github.com/momchil-velikov updated https://github.com/llvm/llvm-project/pull/142422 >From b950757c234900db941ed950ea3469b520d2e28a Mon Sep 17 00:00:00 2001 From: Momchil Velikov Date: Mon, 2 Jun 2025 15:13:13 + Subject: [PATCH 1/6] [MLIR] Fix incorrect slice contiguity inference in

[llvm-branch-commits] [mlir] [MLIR] Fix incorrect slice contiguity inference in `vector::isContiguousSlice` (PR #142422)

2025-06-09 Thread Momchil Velikov via llvm-branch-commits
https://github.com/momchil-velikov updated https://github.com/llvm/llvm-project/pull/142422 >From b950757c234900db941ed950ea3469b520d2e28a Mon Sep 17 00:00:00 2001 From: Momchil Velikov Date: Mon, 2 Jun 2025 15:13:13 + Subject: [PATCH 1/6] [MLIR] Fix incorrect slice contiguity inference in

[llvm-branch-commits] [mlir] [MLIR] Legalize certain `vector.transfer_read` ops of scalable vectors (PR #143146)

2025-06-09 Thread Momchil Velikov via llvm-branch-commits
https://github.com/momchil-velikov updated https://github.com/llvm/llvm-project/pull/143146 >From 6a6d6037b6da51b2da474c99751433542cf35603 Mon Sep 17 00:00:00 2001 From: Momchil Velikov Date: Wed, 14 May 2025 09:03:49 + Subject: [PATCH 1/2] [MLIR] Legalize certain `vector.transfer_read` ops

  1   2   >