[llvm-branch-commits] [llvm] [DirectX] Validating Root flags are denying shader stage (PR #153287)

2025-09-17 Thread Justin Bogner via llvm-branch-commits
@@ -236,21 +272,33 @@ static void validateRootSignature(Module &M, BoundRegs.findBoundReg(RC, Binding.Space, Binding.LowerBound, Binding.LowerBound + Binding.Size - 1); -if (Reg != nullptr) { - const auto *ParamInfo = -

[llvm-branch-commits] [Remarks] Restructure bitstream remarks to be fully standalone (PR #156715)

2025-09-17 Thread Tobias Stadler via llvm-branch-commits
https://github.com/tobias-stadler updated https://github.com/llvm/llvm-project/pull/156715 ___ 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] [Remarks] Restructure bitstream remarks to be fully standalone (PR #156715)

2025-09-17 Thread Tobias Stadler via llvm-branch-commits
https://github.com/tobias-stadler updated https://github.com/llvm/llvm-project/pull/156715 ___ 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] Refactor vocabulary to use section-based storage (PR #158376)

2025-09-17 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin commented: overall lgtm, some questions https://github.com/llvm/llvm-project/pull/158376 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-comm

[llvm-branch-commits] [llvm] AMDGPU: Remove unnecessary operand legalization for WMMAs (PR #159370)

2025-09-17 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/159370 The operand constraints already express this constraint, and InstrEmitter will respect them. >From 257ef69737087efe560c067660a32182ab827e03 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 17 Sep 2025 23

[llvm-branch-commits] [llvm] [LoopUnroll] Fix block frequencies when no runtime (PR #157754)

2025-09-17 Thread Joel E. Denny via llvm-branch-commits
@@ -1,4 +1,5 @@ ; RUN: opt < %s -S -passes=loop-unroll -unroll-runtime=true -unroll-count=4 | FileCheck %s +; XFAIL: * jdenny-ornl wrote: I removed the xfails and made the tests pass. Let me know whether it's what you had in mind. https://github.com/llvm/llv

[llvm-branch-commits] [llvm] [LoopUnroll] Fix block frequencies for epilogue (PR #159163)

2025-09-17 Thread Joel E. Denny via llvm-branch-commits
https://github.com/jdenny-ornl updated https://github.com/llvm/llvm-project/pull/159163 >From 5a9959313c0aebc1c707d19e30055cb925be7760 Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Tue, 16 Sep 2025 16:03:11 -0400 Subject: [PATCH 1/2] [LoopUnroll] Fix block frequencies for epilogue As an

[llvm-branch-commits] [llvm] [IR2Vec] Refactor vocabulary to use section-based storage (PR #158376)

2025-09-17 Thread Mircea Trofin via llvm-branch-commits
@@ -301,12 +380,16 @@ class Vocabulary { constexpr static unsigned NumCanonicalEntries = MaxOpcodes + MaxCanonicalTypeIDs + MaxOperandKinds + MaxPredicateKinds; - // Base offsets for slot layout to simplify index computation + // Base offsets for flat index computati

[llvm-branch-commits] [llvm] AMDGPU: Remove unnecessary operand legalization for WMMAs (PR #159370)

2025-09-17 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/159370 ___ 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] [clang][LoongArch] Introduce LASX and LSX conversion intrinsics (PR #157819)

2025-09-17 Thread via llvm-branch-commits
https://github.com/heiher updated https://github.com/llvm/llvm-project/pull/157819 >From 42b3d4745113019d68198fb6b0a05e88762553cb Mon Sep 17 00:00:00 2001 From: WANG Rui Date: Wed, 10 Sep 2025 17:11:10 +0800 Subject: [PATCH] [clang][LoongArch] Introduce LASX and LSX conversion intrinsics This

[llvm-branch-commits] [llvm] [IR2Vec] Refactor vocabulary to use section-based storage (PR #158376)

2025-09-17 Thread S. VenkataKeerthy via llvm-branch-commits
@@ -144,6 +145,73 @@ struct Embedding { using InstEmbeddingsMap = DenseMap; using BBEmbeddingsMap = DenseMap; +/// Generic storage class for section-based vocabularies. +/// VocabStorage provides a generic foundation for storing and accessing +/// embeddings organized into sec

[llvm-branch-commits] [llvm] release/21.x: MC: Better handle backslash-escaped symbols (PR #159420)

2025-09-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: Nikita Popov (nikic) Changes --- Patch is 36.88 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/159420.diff 15 Files Affected: - (modified) llvm/include/llvm/MC/MCContext.h (+4) - (mo

[llvm-branch-commits] [llvm] release/21.x: MC: Better handle backslash-escaped symbols (PR #159420)

2025-09-17 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic created https://github.com/llvm/llvm-project/pull/159420 None >From 0dca43897ece415a59345b11dd86854d60a3a640 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 12 Sep 2025 09:11:08 +0200 Subject: [PATCH 1/2] [MC] Add parseSymbol() helper (NFC) (#158106) This combi

[llvm-branch-commits] [llvm] release/21.x: MC: Better handle backslash-escaped symbols (PR #159420)

2025-09-17 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/159420 ___ 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] [lit] Add support for readfile to external shell (PR #159431)

2025-09-17 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/159431 This patch adds support for the new lit %{readfile:} substitution to the external shell. The implementation currently just appends some test commands to ensure the file exists and uses a subshell with cat.

[llvm-branch-commits] [Clang] Rewrite tests using subshells to set env variables (PR #158446)

2025-09-17 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/158446 ___ 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] [lit] Add support for readfile to external shell (PR #159431)

2025-09-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-testing-tools Author: Aiden Grossman (boomanaiden154) Changes This patch adds support for the new lit %{readfile:} substitution to the external shell. The implementation currently just appends some test commands to ensure the file exists and us

[llvm-branch-commits] [clang] [llvm] [lit] Make builtin cat work with stdin (PR #158447)

2025-09-17 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/158447 >From 5bd8d4f925f3b5f82d85ef693861b6b1067d9f38 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sat, 13 Sep 2025 22:54:58 + Subject: [PATCH 1/3] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20i

[llvm-branch-commits] [clang] [llvm] [lit] Make builtin cat work with stdin (PR #158447)

2025-09-17 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/158447 >From 5bd8d4f925f3b5f82d85ef693861b6b1067d9f38 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sat, 13 Sep 2025 22:54:58 + Subject: [PATCH 1/3] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20i

[llvm-branch-commits] [Clang] Enable lit internal shell by default (PR #158465)

2025-09-17 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/158465 ___ 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] [lit] Add support for deleting symlinks to directories without -r (PR #158464)

2025-09-17 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/158464 ___ 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] [lit] Add support for deleting symlinks to directories without -r (PR #158464)

2025-09-17 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/158464 ___ 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] Make rewrite-includes-bom.c work with internal shell (PR #158463)

2025-09-17 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/158463 ___ 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] Make rewrite-includes-bom.c work with internal shell (PR #158463)

2025-09-17 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/158463 ___ 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] [lit] Add support for readfile to external shell (PR #159431)

2025-09-17 Thread via llvm-branch-commits
github-actions[bot] wrote: :warning: Python code formatter, darker found issues in your code. :warning: You can test this locally with the following command: ``bash darker --check --diff -r origin/main...HEAD llvm/utils/lit/tests/shtest-readfile-external.py llvm/utils/lit/lit/Te

[llvm-branch-commits] [mlir] [MLIR][Standalone] test Standalone against install distributions (PR #157944)

2025-09-17 Thread Maksim Levental via llvm-branch-commits
https://github.com/makslevental updated https://github.com/llvm/llvm-project/pull/157944 >From f9dbe48eaa691ca9f8161e9dc3a800bb613d5bc9 Mon Sep 17 00:00:00 2001 From: makslevental Date: Wed, 10 Sep 2025 12:57:54 -0700 Subject: [PATCH 01/14] [MLIR][Standalone] test Standalone against install di

[llvm-branch-commits] [llvm] [llvm][mustache] Add support for Triple Mustache (PR #159183)

2025-09-17 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 approved this pull request. https://github.com/llvm/llvm-project/pull/159183 ___ 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] [lldb] release/21.x: [lldb][Instrumentation] Set selected frame to outside sanitizer libraries (PR #157568)

2025-09-17 Thread Michael Buch via llvm-branch-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/157568 ___ 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] Rewrite tests using subshells to set env variables (PR #158446)

2025-09-17 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/158446 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [llvm] release/21.x: [RISCV] Reduce RISCV code generation build time (PR #158164)

2025-09-17 Thread Fabrice de Gans via llvm-branch-commits
Steelskin wrote: > This just needs to be updated in CMakeLists.txt Thanks, I think I updated the right thing. https://github.com/llvm/llvm-project/pull/158164 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.o

[llvm-branch-commits] [mlir] [MLIR][Standalone] test Standalone against install distributions (PR #157944)

2025-09-17 Thread Maksim Levental via llvm-branch-commits
https://github.com/makslevental updated https://github.com/llvm/llvm-project/pull/157944 >From f9dbe48eaa691ca9f8161e9dc3a800bb613d5bc9 Mon Sep 17 00:00:00 2001 From: makslevental Date: Wed, 10 Sep 2025 12:57:54 -0700 Subject: [PATCH 01/13] [MLIR][Standalone] test Standalone against install di

[llvm-branch-commits] [llvm] AMDGPU: Remove unnecessary operand legalization for WMMAs (PR #159370)

2025-09-17 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/159370?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] [IR2Vec] Refactor vocabulary to use section-based storage (PR #158376)

2025-09-17 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin edited https://github.com/llvm/llvm-project/pull/158376 ___ 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] Refactor vocabulary to use section-based storage (PR #158376)

2025-09-17 Thread Mircea Trofin via llvm-branch-commits
@@ -261,55 +262,106 @@ void FlowAwareEmbedder::computeEmbeddings(const BasicBlock &BB) const { BBVecMap[&BB] = BBVector; } +// ==--===// +// VocabStorage +//===-

[llvm-branch-commits] [llvm] [IR2Vec] Refactor vocabulary to use section-based storage (PR #158376)

2025-09-17 Thread Mircea Trofin via llvm-branch-commits
@@ -144,6 +145,73 @@ struct Embedding { using InstEmbeddingsMap = DenseMap; using BBEmbeddingsMap = DenseMap; +/// Generic storage class for section-based vocabularies. +/// VocabStorage provides a generic foundation for storing and accessing +/// embeddings organized into sec

[llvm-branch-commits] [llvm] [IR2Vec] Refactor vocabulary to use section-based storage (PR #158376)

2025-09-17 Thread Mircea Trofin via llvm-branch-commits
@@ -144,6 +145,73 @@ struct Embedding { using InstEmbeddingsMap = DenseMap; using BBEmbeddingsMap = DenseMap; +/// Generic storage class for section-based vocabularies. +/// VocabStorage provides a generic foundation for storing and accessing +/// embeddings organized into sec

[llvm-branch-commits] [clang-tools-extra] 30f88b9 - Revert "[clang-tidy] support query based custom check (#131804)"

2025-09-17 Thread via llvm-branch-commits
Author: Ingo Müller Date: 2025-09-17T17:12:29+02:00 New Revision: 30f88b9a24f17f079b708431407dd346a7decf07 URL: https://github.com/llvm/llvm-project/commit/30f88b9a24f17f079b708431407dd346a7decf07 DIFF: https://github.com/llvm/llvm-project/commit/30f88b9a24f17f079b708431407dd346a7decf07.diff L

[llvm-branch-commits] [llvm] release/21.x: [Mips] Fix atomic min/max generate mips4 instructions when compiling for mips2 (#149983) (PR #159391)

2025-09-17 Thread via llvm-branch-commits
github-actions[bot] wrote: ⚠️ We detected that you are using a GitHub private e-mail address to contribute to the repo. Please turn off [Keep my email addresses private](https://github.com/settings/emails) setting in your account. See [LLVM Developer Policy](https://llvm.org/docs/DeveloperPol

[llvm-branch-commits] [llvm] [IR2Vec] Refactor vocabulary to use section-based storage (PR #158376)

2025-09-17 Thread Mircea Trofin via llvm-branch-commits
@@ -261,55 +262,106 @@ void FlowAwareEmbedder::computeEmbeddings(const BasicBlock &BB) const { BBVecMap[&BB] = BBVector; } +// ==--===// +// VocabStorage +//===-

[llvm-branch-commits] [llvm] AMDGPU: Remove unnecessary operand legalization for WMMAs (PR #159370)

2025-09-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes The operand constraints already express this constraint, and InstrEmitter will respect them. --- Full diff: https://github.com/llvm/llvm-project/pull/159370.diff 1 Files Affected: - (modified) ll

[llvm-branch-commits] [llvm] CodeGen: Remove TRI argument from getRegClass (PR #158225)

2025-09-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v Author: Matt Arsenault (arsenm) Changes TargetInstrInfo now directly holds a reference to TargetRegisterInfo and does not need TRI passed in anywhere. --- Full diff: https://github.com/llvm/llvm-project/pull/158225.diff 45 Files Affecte

[llvm-branch-commits] [llvm] [AMDGPU][Attributor] Add `AAAMDGPUClusterDims` (PR #158076)

2025-09-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Shilei Tian (shiltian) Changes --- Patch is 160.84 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/158076.diff 27 Files Affected: - (modified) llvm/lib/Target/AMDGPU/AMDGPUAttribute

[llvm-branch-commits] [clang] [PAC][clang] Handle pauthtest environment and ABI in Linux-specific code (PR #113151)

2025-09-17 Thread Daniil Kovalev via llvm-branch-commits
https://github.com/kovdan01 updated https://github.com/llvm/llvm-project/pull/113151 >From 7af8e3d4514626ca2dacde8cbaa33d568b1f4aed Mon Sep 17 00:00:00 2001 From: Daniil Kovalev Date: Mon, 21 Oct 2024 12:00:19 +0300 Subject: [PATCH 1/2] [PAC][clang] Handle pauthtest environment and ABI in Linu

[llvm-branch-commits] [NFC][CFI][CodeGen] Move GeneralizeFunctionType out of CreateMetadataIdentifierGeneralized (PR #158190)

2025-09-17 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/158190 ___ 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] PPC: Replace PointerLikeRegClass with RegClassByHwMode (PR #158777)

2025-09-17 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/158777 >From c386096eeb2b87ccd1e5187666cfe11a2be61d6a Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 5 Sep 2025 18:03:59 +0900 Subject: [PATCH 1/3] PPC: Replace PointerLikeRegClass with RegClassByHwMode ---

[llvm-branch-commits] [llvm] SPARC: Use RegClassByHwMode instead of PointerLikeRegClass (PR #158271)

2025-09-17 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/158271 >From 0836893a46f7b835ba658271bed698b8e979a6d1 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 8 Sep 2025 14:04:59 +0900 Subject: [PATCH] SPARC: Use RegClassByHwMode instead of PointerLikeRegClass ---

[llvm-branch-commits] [llvm] [AMDGPU] Improve StructurizeCFG pass performance by using SSAUpdaterBulk. (PR #150937)

2025-09-17 Thread Valery Pykhtin via llvm-branch-commits
https://github.com/vpykhtin updated https://github.com/llvm/llvm-project/pull/150937 >From 654a23baa8c2db69a0dc212ec43c2dd6cdb3c0a5 Mon Sep 17 00:00:00 2001 From: Valery Pykhtin Date: Thu, 10 Apr 2025 11:58:13 + Subject: [PATCH] amdgpu_use_ssaupdaterbulk_in_structurizecfg --- llvm/lib/Tra

[llvm-branch-commits] [llvm] [AMDGPU] Improve StructurizeCFG pass performance by using SSAUpdaterBulk. (PR #150937)

2025-09-17 Thread Valery Pykhtin via llvm-branch-commits
https://github.com/vpykhtin updated https://github.com/llvm/llvm-project/pull/150937 >From 654a23baa8c2db69a0dc212ec43c2dd6cdb3c0a5 Mon Sep 17 00:00:00 2001 From: Valery Pykhtin Date: Thu, 10 Apr 2025 11:58:13 + Subject: [PATCH] amdgpu_use_ssaupdaterbulk_in_structurizecfg --- llvm/lib/Tra

[llvm-branch-commits] [llvm] Mips: Switch to RegClassByHwMode (PR #158273)

2025-09-17 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/158273 >From 6d6e9fde6d4db07dce3bee1085d230ba9bc7b136 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Sat, 6 Sep 2025 21:14:45 +0900 Subject: [PATCH] Mips: Switch to RegClassByHwMode --- .../Target/Mips/AsmParser/

[llvm-branch-commits] [llvm] [LoopUnroll] Fix block frequencies when no runtime (PR #157754)

2025-09-17 Thread Joel E. Denny via llvm-branch-commits
https://github.com/jdenny-ornl updated https://github.com/llvm/llvm-project/pull/157754 >From 75a8df62df2ef7e8c02d7a76120e57e2dd1a1539 Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Tue, 9 Sep 2025 17:33:38 -0400 Subject: [PATCH 1/3] [LoopUnroll] Fix block frequencies when no runtime Thi

[llvm-branch-commits] [llvm] [LoongArch] Support vector types for hasAndNot to enable more DAG combines (PR #159056)

2025-09-17 Thread via llvm-branch-commits
https://github.com/zhaoqi5 created https://github.com/llvm/llvm-project/pull/159056 After this commit, DAGCombiner will have more opportunities to optimize vector types `and+...+not` to `andn`. Many combines in DAGCombiner will be enabled, but only shows changes after combining `and(add(not))

[llvm-branch-commits] [llvm] [IR2Vec] Refactor vocabulary to use section-based storage (PR #158376)

2025-09-17 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy edited https://github.com/llvm/llvm-project/pull/158376 ___ 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] [Offload] Add GenericPluginTy::get_mem_info (PR #157484)

2025-09-17 Thread Ross Brunton via llvm-branch-commits
https://github.com/RossBrunton updated https://github.com/llvm/llvm-project/pull/157484 >From 7bf7fe1df8a873964df2ebc17328d9bef00f1347 Mon Sep 17 00:00:00 2001 From: Ross Brunton Date: Mon, 8 Sep 2025 10:45:42 +0100 Subject: [PATCH] [Offload] Add GenericPluginTy::get_mem_info This takes a poin

[llvm-branch-commits] [llvm] AMDGPU/UniformityAnalysis: fix G_ZEXTLOAD and G_SEXTLOAD (PR #157845)

2025-09-17 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic created https://github.com/llvm/llvm-project/pull/157845 Use same rules for G_ZEXTLOAD and G_SEXTLOAD as for G_LOAD. Flat addrspace(0) and private addrspace(5) G_ZEXTLOAD and G_SEXTLOAD should be always divergent. >From 8573b1705133c5284a283d170643b8e30bfc4a20

[llvm-branch-commits] [llvm] [Offload] Add GenericPluginTy::get_mem_info (PR #157484)

2025-09-17 Thread Matt Arsenault via llvm-branch-commits
@@ -624,32 +622,15 @@ Error olMemAlloc_impl(ol_device_handle_t Device, ol_alloc_type_t Type, return Alloc.takeError(); *AllocationOut = *Alloc; - { -std::lock_guard Lock(OffloadContext::get().AllocInfoMapMutex); -OffloadContext::get().AllocInfoMap.insert_or_ass

[llvm-branch-commits] [lld] CodeGen: Emit .prefalign directives based on the prefalign attribute. (PR #155529)

2025-09-17 Thread Peter Collingbourne via llvm-branch-commits
pcc wrote: > Can you split "implement basic codegen support for prefalign" (the bits which > don't depend on the .prefalign directive) into a separate patch? It's not > clear what's causing the test changes here. Done: #158368 https://github.com/llvm/llvm-project/pull/155529 _

[llvm-branch-commits] [llvm] CodeGen: Remove TRI argument from getRegClass (PR #158225)

2025-09-17 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/158225 ___ 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: Select VGPR MFMAs by default (PR #159493)

2025-09-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes AGPRs are undesirable since they are only usable by a handful instructions like loads, stores and mfmas and everything else requires copies to/from VGPRs. Using the AGPR form should be a measure of l

[llvm-branch-commits] [llvm] release/21.x: [LoongArch] Fix MergeBaseOffset for constant pool index operand (#159336) (PR #159496)

2025-09-17 Thread via llvm-branch-commits
https://github.com/zhaoqi5 approved this pull request. LGTM. Bugfix. https://github.com/llvm/llvm-project/pull/159496 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-co

[llvm-branch-commits] [clang] [AllocToken, Clang] Implement TypeHashPointerSplit mode (PR #156840)

2025-09-17 Thread Marco Elver via llvm-branch-commits
https://github.com/melver ready_for_review https://github.com/llvm/llvm-project/pull/156840 ___ 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] [mlir] [MLIR][Standalone] test Standalone against install distributions (PR #157944)

2025-09-17 Thread Renato Golin via llvm-branch-commits
https://github.com/rengolin commented: I don't know much about CMake, so my comments aren't very helpful. https://github.com/llvm/llvm-project/pull/157944 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cg

[llvm-branch-commits] [llvm] [DA] Add test where WeakCrossingSIV misses dependency due to overflow (NFC) (PR #158281)

2025-09-17 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj updated https://github.com/llvm/llvm-project/pull/158281 >From a42c8002548c97d6c7755b1db821a5c682881efe Mon Sep 17 00:00:00 2001 From: Ryotaro Kasuga Date: Fri, 12 Sep 2025 11:06:39 + Subject: [PATCH] [DA] Add test where WeakCrossingSIV misses dependency due to

[llvm-branch-commits] [llvm] release/21.x: [VectorCombine] Fix scalarizeExtExtract for big-endian (#157962) (PR #159286)

2025-09-17 Thread Simon Pilgrim via llvm-branch-commits
RKSimon wrote: CC @fhahn who wrote the original fold https://github.com/llvm/llvm-project/pull/159286 ___ 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] [clang][LoongArch] Introduce LASX and LSX conversion intrinsics (PR #157819)

2025-09-17 Thread via llvm-branch-commits
https://github.com/heiher updated https://github.com/llvm/llvm-project/pull/157819 >From fc722d5bd2a6d53df029df2396d533d7384194a6 Mon Sep 17 00:00:00 2001 From: WANG Rui Date: Wed, 10 Sep 2025 17:11:10 +0800 Subject: [PATCH] [clang][LoongArch] Introduce LASX and LSX conversion intrinsics This

[llvm-branch-commits] [clang] [clang][LoongArch] Introduce LASX and LSX conversion intrinsics (PR #157819)

2025-09-17 Thread via llvm-branch-commits
https://github.com/heiher updated https://github.com/llvm/llvm-project/pull/157819 >From fc722d5bd2a6d53df029df2396d533d7384194a6 Mon Sep 17 00:00:00 2001 From: WANG Rui Date: Wed, 10 Sep 2025 17:11:10 +0800 Subject: [PATCH] [clang][LoongArch] Introduce LASX and LSX conversion intrinsics This

[llvm-branch-commits] [clang] [llvm] [lit] Make builtin cat work with stdin (PR #158447)

2025-09-17 Thread James Henderson via llvm-branch-commits
https://github.com/jh7370 approved this pull request. https://github.com/llvm/llvm-project/pull/158447 ___ 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] AlwaysInliner: A new inlining algorithm to interleave alloca promotion with inlines. (PR #145613)

2025-09-17 Thread Amara Emerson via llvm-branch-commits
aemerson wrote: > > Final ping. Does anyone have _objections_ to this patch? > > It seems very odd to tackle this in the always inliner, as it adds a new > concern to a fairly scoped pass. Are you sure there are no alternatives, for > instance, having a pre-AlwaysInliner pass to mark off calls

[llvm-branch-commits] [llvm] [Xtensa] Fix lowering FP compare operations. (PR #157520)

2025-09-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-xtensa Author: Andrei Safronov (andreisfr) Changes Implement lowering of the SETONE/SETOGT/SETOGE/SETUGT/SETUGE operations. This fixes f32 "copysign" and "ueq" tests. --- Full diff: https://github.com/llvm/llvm-project/pull/157520.diff 2 File

[llvm-branch-commits] [clang] port 5b4819e to release (PR #159209)

2025-09-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: David Blaikie (dwblaikie) Changes Applies the fix on top of the backport made in #156664 --- Full diff: https://github.com/llvm/llvm-project/pull/159209.diff 1 Files Affected: - (modified) clang/test/CodeGenCXX/debug-info-structured-bi

[llvm-branch-commits] [flang] [mlir] [MLIR] Add new complex.powi op (PR #158722)

2025-09-17 Thread Mehdi Amini via llvm-branch-commits
https://github.com/joker-eph edited https://github.com/llvm/llvm-project/pull/158722 ___ 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: Select VGPR MFMAs by default (PR #159493)

2025-09-17 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/159493 ___ 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: Select VGPR MFMAs by default (PR #159493)

2025-09-17 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/159493?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] [Remarks] Remove redundant size from StringRefs (NFC) (PR #156357)

2025-09-17 Thread Tobias Stadler via llvm-branch-commits
https://github.com/tobias-stadler updated https://github.com/llvm/llvm-project/pull/156357 >From e3951bca5a4a5c169975f13faa679a761455976a Mon Sep 17 00:00:00 2001 From: Tobias Stadler Date: Mon, 1 Sep 2025 19:02:32 +0100 Subject: [PATCH] fix format Created using spr 1.3.7-wip --- llvm/include

[llvm-branch-commits] [llvm] CodeGen: Keep reference to TargetRegisterInfo in TargetInstrInfo (PR #158224)

2025-09-17 Thread Matt Arsenault via llvm-branch-commits
@@ -1070,8 +1070,8 @@ void InstrInfoEmitter::run(raw_ostream &OS) { OS << "namespace llvm {\n"; OS << "struct " << ClassName << " : public TargetInstrInfo {\n" << " explicit " << ClassName - << "(const TargetSubtargetInfo &STI, unsigned CFSetupOpcode = ~0u, " -

[llvm-branch-commits] [llvm] llvm-mca: Error on MCSubtargetInfo construction failure (PR #159215)

2025-09-17 Thread Min-Yih Hsu via llvm-branch-commits
https://github.com/mshockwave approved this pull request. https://github.com/llvm/llvm-project/pull/159215 ___ 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] SPARC: Use RegClassByHwMode instead of PointerLikeRegClass (PR #158271)

2025-09-17 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/158271 >From a349f1ad18e539cd9ce1d036faae37710a3e288c Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 8 Sep 2025 14:04:59 +0900 Subject: [PATCH] SPARC: Use RegClassByHwMode instead of PointerLikeRegClass ---

[llvm-branch-commits] [llvm] [DirectX] Validating Root flags are denying shader stage (PR #153287)

2025-09-17 Thread via llvm-branch-commits
@@ -0,0 +1,20 @@ +; RUN: not opt -S -passes='dxil-post-optimization-validation' %s 2>&1 | FileCheck %s joaosaffran wrote: `opt` doesn't have preprocessing, so I cannot define macros with it :/ https://github.com/llvm/llvm-project/pull/153287 ___

[llvm-branch-commits] [llvm] [LoongArch] Generate [x]vldi instructions with special constant splats (PR #159258)

2025-09-17 Thread Zhaoxin Yang via llvm-branch-commits
https://github.com/ylzsx updated https://github.com/llvm/llvm-project/pull/159258 >From e1a23dd6e31734b05af239bb827a280d403564ee Mon Sep 17 00:00:00 2001 From: yangzhaoxin Date: Wed, 17 Sep 2025 10:20:46 +0800 Subject: [PATCH 1/2] [LoongArch] Generate [x]vldi instructions with special constant

[llvm-branch-commits] [llvm] [LoongArch] Split 256-bit build_vector to avoid using LASX element insertion (PR #154918)

2025-09-17 Thread via llvm-branch-commits
zhaoqi5 wrote: ping https://github.com/llvm/llvm-project/pull/154918 ___ 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] [llvm][mustache] Precommit test for StandaloneIndentation (PR #159184)

2025-09-17 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 approved this pull request. https://github.com/llvm/llvm-project/pull/159184 ___ 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] [LoopUnroll] Fix block frequencies when no runtime (PR #157754)

2025-09-17 Thread Joel E. Denny via llvm-branch-commits
@@ -1,4 +1,5 @@ ; RUN: opt < %s -S -passes=loop-unroll -unroll-runtime=true -unroll-count=4 | FileCheck %s +; XFAIL: * jdenny-ornl wrote: See last paragraph of https://github.com/llvm/llvm-project/pull/157754#issue-3400082318. https://github.com/llvm/llvm-pro

[llvm-branch-commits] [llvm] [LoopUnroll] Fix block frequencies when no runtime (PR #157754)

2025-09-17 Thread Joel E. Denny via llvm-branch-commits
@@ -1,4 +1,5 @@ ; RUN: opt < %s -S -passes=loop-unroll -unroll-runtime=true -unroll-count=4 | FileCheck %s +; XFAIL: * jdenny-ornl wrote: > check the actual baseline content Sorry, what do you mean? https://github.com/llvm/llvm-project/pull/157754 ___

[llvm-branch-commits] [mlir] b5c72af - Revert "[mlir] move if-condition propagation to a standalone pass (#150278)"

2025-09-17 Thread via llvm-branch-commits
Author: Mehdi Amini Date: 2025-09-17T10:17:15+02:00 New Revision: b5c72affe48e74abdb0898a89aeefa8edfa81065 URL: https://github.com/llvm/llvm-project/commit/b5c72affe48e74abdb0898a89aeefa8edfa81065 DIFF: https://github.com/llvm/llvm-project/commit/b5c72affe48e74abdb0898a89aeefa8edfa81065.diff L

[llvm-branch-commits] [llvm] release/21.x: [VectorCombine] Fix scalarizeExtExtract for big-endian (#157962) (PR #159286)

2025-09-17 Thread Florian Hahn via llvm-branch-commits
https://github.com/fhahn approved this pull request. LGTM, thanks for the fix + backport! https://github.com/llvm/llvm-project/pull/159286 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/li

[llvm-branch-commits] [llvm] [LoongArch] Generate [x]vldi instructions with special constant splats (PR #159258)

2025-09-17 Thread Zhaoxin Yang via llvm-branch-commits
https://github.com/ylzsx ready_for_review https://github.com/llvm/llvm-project/pull/159258 ___ 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] [LoongArch] Generate [x]vldi instructions with special constant splats (PR #159258)

2025-09-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-loongarch Author: Zhaoxin Yang (ylzsx) Changes --- Patch is 42.97 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/159258.diff 15 Files Affected: - (modified) llvm/lib/Target/LoongArch/LoongArchISe

[llvm-branch-commits] [llvm] release/21.x: [VectorCombine] Fix scalarizeExtExtract for big-endian (#157962) (PR #159286)

2025-09-17 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/159286 Backport 994a6a39e13dcc335247a127a5da05905d1ac541 Requested by: @RKSimon >From 1cb48878f5e3a7695e7b31ebb883dd449b0a315b Mon Sep 17 00:00:00 2001 From: Uyiosa Iyekekpolor <9632+uyo...@users.noreply.github.co

[llvm-branch-commits] [llvm] release/21.x: [VectorCombine] Fix scalarizeExtExtract for big-endian (#157962) (PR #159286)

2025-09-17 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/159286 ___ 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] release/21.x: [VectorCombine] Fix scalarizeExtExtract for big-endian (#157962) (PR #159286)

2025-09-17 Thread via llvm-branch-commits
llvmbot wrote: @RKSimon What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/159286 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listi

[llvm-branch-commits] [llvm] [LoongArch] Generate [x]vldi instructions with special constant splats (PR #159258)

2025-09-17 Thread Zhaoxin Yang via llvm-branch-commits
https://github.com/ylzsx converted_to_draft https://github.com/llvm/llvm-project/pull/159258 ___ 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] release/21.x: [VectorCombine] Fix scalarizeExtExtract for big-endian (#157962) (PR #159286)

2025-09-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-powerpc Author: None (llvmbot) Changes Backport 994a6a39e13dcc335247a127a5da05905d1ac541 Requested by: @RKSimon --- Full diff: https://github.com/llvm/llvm-project/pull/159286.diff 4 Files Affected: - (modified) llvm/lib/Transforms/Vectorize

[llvm-branch-commits] [llvm] release/21.x: [VectorCombine] Fix scalarizeExtExtract for big-endian (#157962) (PR #159286)

2025-09-17 Thread via llvm-branch-commits
github-actions[bot] wrote: ⚠️ We detected that you are using a GitHub private e-mail address to contribute to the repo. Please turn off [Keep my email addresses private](https://github.com/settings/emails) setting in your account. See [LLVM Developer Policy](https://llvm.org/docs/DeveloperPol

[llvm-branch-commits] [CGData] Rewrite tests to not use subshells (PR #157234)

2025-09-17 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157234 ___ 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] [MC] Rewrite stdin.s to use python (PR #157232)

2025-09-17 Thread Petr Hosek via llvm-branch-commits
@@ -0,0 +1,25 @@ +# RUN: echo "// comment" > %t.input +# RUN: which llvm-mc | %python %s %t petrhosek wrote: I'd make this even more explicit: ```suggestion # RUN: which llvm-mc | %python %s %t.input %t ``` https://github.com/llvm/llvm-project/pull/157232 __

[llvm-branch-commits] [flang] [flang] Consolidate copy-in/copy-out determination in evaluate framework (PR #155810)

2025-09-17 Thread Tobias Hieta via llvm-branch-commits
tru wrote: @sscalpone can you weigh in on this - do you think it's a big enough problem to be merged into the release branch? I am wary about the size of this PR. https://github.com/llvm/llvm-project/pull/155810 ___ llvm-branch-commits mailing list ll

[llvm-branch-commits] [lld] ELF: CFI jump table relaxation. (PR #147424)

2025-09-17 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/147424 >From 5bce06b0d8db161a2e09709bcfe15b4623e43d01 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Mon, 7 Jul 2025 16:41:10 -0700 Subject: [PATCH 1/3] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?U

[llvm-branch-commits] CodeGen: Introduce MachineFunction::getPreferredAlignment(). (PR #158368)

2025-09-17 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc created https://github.com/llvm/llvm-project/pull/158368 MachineFunction can now be queried for the preferred alignment which comes from the function attributes (optsize, minsize, prefalign) and TargetLowering. Part of this RFC: https://discourse.llvm.org/t/rfc-enhancing-f

[llvm-branch-commits] [llvm] Sparc: Remove Is64Bit field from SparcTargetMachine (PR #157400)

2025-09-17 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/157400 Directly use the triple instead of having an additional field. >From 27e0075d67fa33345bfb361fecac6ec7636cd442 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 8 Sep 2025 16:35:42 +0900 Subject: [PATCH] S

[llvm-branch-commits] [llvm] AMDGPU: Remove getLdStRegisterOperandForSize (PR #157216)

2025-09-17 Thread Christudasan Devadasan via llvm-branch-commits
https://github.com/cdevadas approved this pull request. https://github.com/llvm/llvm-project/pull/157216 ___ 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] Generate canonical additions in AMDGPUPromoteAlloca (PR #157810)

2025-09-17 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a created https://github.com/llvm/llvm-project/pull/157810 When we know that one operand of an addition is a constant, we might was well put it on the right-hand side and avoid the work to canonicalize it in a later pass. >From f6a8f012f387b906f845b7a57c4e88bd7f490bc

  1   2   >