[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] [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] [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] 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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] 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] [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] [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] 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] 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] 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] 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] [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] [DirectX] Validating Root flags are denying shader stage (PR #153287)

2025-09-17 Thread via llvm-branch-commits
@@ -236,22 +273,35 @@ 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] [llvm] [DirectX] Validating Root flags are denying shader stage (PR #153287)

2025-09-17 Thread via llvm-branch-commits
https://github.com/joaosaffran edited https://github.com/llvm/llvm-project/pull/153287 ___ 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] Validating Root flags are denying shader stage (PR #153287)

2025-09-17 Thread via llvm-branch-commits
https://github.com/joaosaffran updated https://github.com/llvm/llvm-project/pull/153287 >From b1e34ff07fffe96fec438b87027bd2c450b6b36f Mon Sep 17 00:00:00 2001 From: Joao Saffran <{ID}+{username}@users.noreply.github.com> Date: Tue, 12 Aug 2025 13:07:42 -0700 Subject: [PATCH 01/24] adding valida

[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
llvmbot wrote: @llvm/pr-subscribers-backend-loongarch Author: ZhaoQi (zhaoqi5) Changes 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(

[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 created https://github.com/llvm/llvm-project/pull/158271 None >From c4dbd82d68181ea1b13318baf5f0566f02cc8c87 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] [LLVM] Update CUDA ELF flags for their new ABI (PR #159451)

2025-09-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-binary-utilities Author: Joseph Huber (jhuber6) Changes Backport fix. --- Full diff: https://github.com/llvm/llvm-project/pull/159451.diff 6 Files Affected: - (modified) llvm/include/llvm/BinaryFormat/ELF.h (+25-3) - (modified) llvm/include/llv

[llvm-branch-commits] [llvm] [LLVM] Update CUDA ELF flags for their new ABI (PR #159451)

2025-09-17 Thread Joseph Huber via llvm-branch-commits
https://github.com/jhuber6 updated https://github.com/llvm/llvm-project/pull/159451 >From d79f0b2479258004fe3770b7d14486891226452f Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Mon, 21 Jul 2025 14:38:03 -0500 Subject: [PATCH] [LLVM] Update CUDA ELF flags for their new ABI (#149534) Summary

[llvm-branch-commits] [not] Update disable-symbolization.test to work with internal shell (PR #157236)

2025-09-17 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157236 ___ 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] [InstCombine] Set !prof metadata on selects (PR #157599)

2025-09-17 Thread Mircea Trofin via llvm-branch-commits
@@ -6008,6 +6009,15 @@ static bool combineInstructionsOverFunction( if (!MadeChangeInThisIteration) break; +// Issue #147390: InstCombine emits `select` as rewrites of instructions +// without metadata. It may be possible to synthesize some more meaningful +

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

2025-09-17 Thread Christopher Bate via llvm-branch-commits
christopherbate wrote: > Yes but then you're proposing we should add to the monolithic scripts an > invocation of install-distributions? That seems fine too. I'm not familiar enough with the infra to know where tests for `install` or `install-distribution` should go. @joker-eph do you have a r

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

2025-09-17 Thread via llvm-branch-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff origin/main HEAD --extensions cpp,h -- llvm/include/llvm/CodeGen/MachineFunction.h l

[llvm-branch-commits] [llvm] [LLVM] Update CUDA ELF flags for their new ABI (PR #159451)

2025-09-17 Thread Artem Belevich via llvm-branch-commits
@@ -672,14 +675,36 @@ StringRef ELFObjectFileBase::getNVPTXCPUName() const { return "sm_86"; case ELF::EF_CUDA_SM87: return "sm_87"; + case ELF::EF_CUDA_SM88: +return "sm_88"; // Ada architecture. case ELF::EF_CUDA_SM89: return "sm_89"; // Hoppe

[llvm-branch-commits] [llvm] [LLVM] Update CUDA ELF flags for their new ABI (PR #159451)

2025-09-17 Thread Artem Belevich via llvm-branch-commits
@@ -672,14 +675,36 @@ StringRef ELFObjectFileBase::getNVPTXCPUName() const { return "sm_86"; case ELF::EF_CUDA_SM87: return "sm_87"; + case ELF::EF_CUDA_SM88: +return "sm_88"; // Ada architecture. case ELF::EF_CUDA_SM89: return "sm_89"; // Hoppe

[llvm-branch-commits] [llvm] [LLVM] Update CUDA ELF flags for their new ABI (PR #159451)

2025-09-17 Thread Artem Belevich via llvm-branch-commits
https://github.com/Artem-B edited https://github.com/llvm/llvm-project/pull/159451 ___ 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] Update CUDA ELF flags for their new ABI (PR #159451)

2025-09-17 Thread Artem Belevich via llvm-branch-commits
https://github.com/Artem-B approved this pull request. LGTM with one minor issue. https://github.com/llvm/llvm-project/pull/159451 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/l

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

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/158225?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang] [HLSL] Remove resource constructors with binding (PR #157008)

2025-09-17 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota edited https://github.com/llvm/llvm-project/pull/157008 ___ 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: Stop using aligned VGPR classes for addRegisterClass (PR #158278)

2025-09-17 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/158278 This is unnecessary. At use emission time, InstrEmitter will use the common subclass of the value type's register class and the use instruction register classes. This removes one of the obstacles to treating speci

[llvm-branch-commits] [libcxx] [libc++] Add tests for the ABI break introduced by switching to _LIBCPP_COMPRESSED_PAIR (#154559) (PR #154961)

2025-09-17 Thread Louis Dionne via llvm-branch-commits
ldionne wrote: Closing since we aren't targeting LLVM 20 anymore. Vendors who want to cherry-pick this fix are encouraged to do so on their own. https://github.com/llvm/llvm-project/pull/154961 ___ llvm-branch-commits mailing list llvm-branch-commits@

[llvm-branch-commits] [libcxx] [libc++] Add tests for the ABI break introduced by switching to _LIBCPP_COMPRESSED_PAIR (#154559) (PR #154961)

2025-09-17 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne closed https://github.com/llvm/llvm-project/pull/154961 ___ 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] Update CUDA ELF flags for their new ABI (PR #159451)

2025-09-17 Thread Joseph Huber via llvm-branch-commits
https://github.com/jhuber6 milestoned https://github.com/llvm/llvm-project/pull/159451 ___ 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] Update CUDA ELF flags for their new ABI (PR #159451)

2025-09-17 Thread Joseph Huber via llvm-branch-commits
https://github.com/jhuber6 edited https://github.com/llvm/llvm-project/pull/159451 ___ 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] Update CUDA ELF flags for their new ABI (PR #159451)

2025-09-17 Thread Joseph Huber via llvm-branch-commits
https://github.com/jhuber6 edited https://github.com/llvm/llvm-project/pull/159451 ___ 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] Add deactivation symbol operand to ConstantPtrAuth. (PR #133537)

2025-09-17 Thread Oliver Hunt via llvm-branch-commits
@@ -2135,6 +2135,11 @@ bool ConstantPtrAuth::hasSpecialAddressDiscriminator(uint64_t Value) const { bool ConstantPtrAuth::isKnownCompatibleWith(const Value *Key, const Value *Discriminator,

[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] [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] [clang] [llvm] [AMDGPU] Add gfx1251 runlines to cooperative atomcis tests. NFC (PR #159437)

2025-09-17 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec ready_for_review https://github.com/llvm/llvm-project/pull/159437 ___ 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] [AMDGPU] Add gfx1251 runlines to cooperative atomcis tests. NFC (PR #159437)

2025-09-17 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/159437.diff 3 Files Affected: - (modified) clang/test/CodeGenOpenCL/builtins-amdgcn-gfx1250-cooperative-atomics.cl (+1) - (mod

[llvm-branch-commits] [libcxx] release/21.x: [libc++] Fix broken precondition of __bit_log2 (#155476) (PR #155932)

2025-09-17 Thread Louis Dionne via llvm-branch-commits
ldionne wrote: > Anyways, my real objection here was that the underlying issue isn't addressed > - namely that we have no coverage for the integer sanitizer. Since there is a > party willing to fix that now I'm happy with merging this. To clarify, the issue I am fixing with this patch is a br

[llvm-branch-commits] [clang] [llvm] [AMDGPU] Add gfx1251 runlines to cooperative atomcis tests. NFC (PR #159437)

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

[llvm-branch-commits] [CodeGen][CFI] Generalize transparent union parameters (PR #158193)

2025-09-17 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/158193 According GCC documentation transparent union calling convention is the same as the type of the first member of the union. C++ ignores attribute. ___ llvm-branch

[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 created https://github.com/llvm/llvm-project/pull/159258 None >From e1a23dd6e31734b05af239bb827a280d403564ee Mon Sep 17 00:00:00 2001 From: yangzhaoxin Date: Wed, 17 Sep 2025 10:20:46 +0800 Subject: [PATCH] [LoongArch] Generate [x]vldi instructions with special consta

[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] [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] [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] [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] [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] [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] [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/14] [MLIR][Standalone] test Standalone against install di

[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
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] [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] 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] [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] [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] [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] 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 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] [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] [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] [compiler-rt] c75a075 - [builtins] Rename freebsd to elf_aux_info to reflect the function called. NFCI (#155749)

2025-09-17 Thread Tobias Hieta via llvm-branch-commits
Author: Brad Smith Date: 2025-09-09T10:34:13+02:00 New Revision: c75a0754d358da432f2bf18320a3208f9c06b65d URL: https://github.com/llvm/llvm-project/commit/c75a0754d358da432f2bf18320a3208f9c06b65d DIFF: https://github.com/llvm/llvm-project/commit/c75a0754d358da432f2bf18320a3208f9c06b65d.diff LO

[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

[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] 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] [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] [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] [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] 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] [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] [clang] [AMDGPU] Add builtins for wave reduction intrinsics (PR #150170)

2025-09-17 Thread via llvm-branch-commits
https://github.com/easyonaadit updated https://github.com/llvm/llvm-project/pull/150170 >From 207c0b3f427403f0e504f9631f9d7523aecdb0a8 Mon Sep 17 00:00:00 2001 From: Aaditya Date: Sat, 19 Jul 2025 12:57:27 +0530 Subject: [PATCH] Add builtins for wave reduction intrinsics --- clang/include/cla

[llvm-branch-commits] [clang] [HLSL] Use static create methods to initialize resources in arrays (PR #157005)

2025-09-17 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota edited https://github.com/llvm/llvm-project/pull/157005 ___ 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: [CMake][AIX] Enable CMP0182: Create shared library archives by default (#155686) (PR #156504)

2025-09-17 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/156504 ___ 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] X86: Switch to RegClassByHwMode (PR #158274)

2025-09-17 Thread Craig Topper via llvm-branch-commits
@@ -195,6 +195,12 @@ def Not64BitMode : Predicate<"!Subtarget->is64Bit()">, AssemblerPredicate<(all_of (not Is64Bit)), "Not 64-bit mode">; def In64BitMode : Predicate<"Subtarget->is64Bit()">, AssemblerPredicate<(all_of

[llvm-branch-commits] [llvm] IR: Introduce !elf_section_properties for setting section properties. (PR #149260)

2025-09-17 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/149260 >From 01f77d9f42a712324479e3280c57f12800655271 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Wed, 27 Aug 2025 14:51:58 -0700 Subject: [PATCH] Add verifier check Created using spr 1.3.6-beta.1 --- llvm/do

[llvm-branch-commits] [clang] release/21.x: [DebugInfo] When referencing structured bindings use the reference's location, not the binding's declaration's location (#153637) (PR #156664)

2025-09-17 Thread David Blaikie via llvm-branch-commits
dwblaikie wrote: > @tstellar I am guessing we don't have a i686 pre-commit bot then since this > wasn't caught before we merged this. > > @dwblaikie can you look into a fix for the release branch so we can fix it > for next release? Yeah, sorry for the delay - sent #159209 - hopefully that's

[llvm-branch-commits] [llvm] [mlir] [flang][OpenMP] Support multi-block reduction combiner regions on the GPU (PR #156837)

2025-09-17 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy updated https://github.com/llvm/llvm-project/pull/156837 >From ccf3696848367835c15e973c7a7b0d76297be31c Mon Sep 17 00:00:00 2001 From: ergawy Date: Thu, 4 Sep 2025 01:06:21 -0500 Subject: [PATCH 1/3] [flang][OpenMP] Support multi-block reduction combiner regions on t

  1   2   >