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

2025-09-12 Thread Maksim Levental via llvm-branch-commits
https://github.com/makslevental edited https://github.com/llvm/llvm-project/pull/157944 ___ 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-12 Thread Maksim Levental via llvm-branch-commits
makslevental wrote: > should set config.host_cmake_install_prefix And I'm saying that currently that will have no effect because we do not use that string to reconfigure CMAKE_INSTALL_PREFIX and that if we did that it would be bad for the user. https://github.com/llvm/llvm-project/pull/157944

[llvm-branch-commits] [llvm] [lit] Implement ulimit builtin (PR #157958)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157958 >From 030af4e2e48510334aa3001275f43132a7042f5c Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Wed, 10 Sep 2025 21:16:59 + Subject: [PATCH 1/2] formatting Created using spr 1.3.6 --- llvm/utils/

[llvm-branch-commits] [Clang] Port ulimit tests to work with internal shell (PR #157977)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157977 ___ 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] Invoke shell script with bash (PR #157608)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157608 ___ 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] [lit] Implement ulimit builtin (PR #157958)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157958 >From 030af4e2e48510334aa3001275f43132a7042f5c Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Wed, 10 Sep 2025 21:16:59 + Subject: [PATCH 1/2] formatting Created using spr 1.3.6 --- llvm/utils/

[llvm-branch-commits] [Clang] Port ulimit tests to work with internal shell (PR #157977)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157977 ___ 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 ulimit tests to work with internal shell (PR #157977)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157977 ___ 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-12 Thread Maksim Levental via llvm-branch-commits
https://github.com/makslevental updated https://github.com/llvm/llvm-project/pull/157944 >From 888cca06e4c81b1b12c85ec0ac48408e53ad57bd 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] [mlir] [MLIR][Standalone] test Standalone against install distributions (PR #157944)

2025-09-12 Thread Maksim Levental via llvm-branch-commits
https://github.com/makslevental edited https://github.com/llvm/llvm-project/pull/157944 ___ 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] MC: Add directive for specifying a section's preferred alignment. (PR #150151)

2025-09-12 Thread Peter Collingbourne via llvm-branch-commits
pcc wrote: Ping https://github.com/llvm/llvm-project/pull/150151 ___ 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-12 Thread Maksim Levental via llvm-branch-commits
https://github.com/makslevental edited https://github.com/llvm/llvm-project/pull/157944 ___ 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] [NO MERGE] test CI install (PR #158180)

2025-09-12 Thread Maksim Levental via llvm-branch-commits
https://github.com/makslevental created https://github.com/llvm/llvm-project/pull/158180 None >From ef41e8c57b34b87bb70c677750518e42fc0cbc57 Mon Sep 17 00:00:00 2001 From: Maksim Levental Date: Thu, 11 Sep 2025 22:32:18 -0500 Subject: [PATCH] [NO MERGE] test CI install --- .ci/monolithic-lin

[llvm-branch-commits] [NFC][CodeGen][CFI] Pre-commit transparent_union tests (PR #158192)

2025-09-12 Thread Thurston Dang via llvm-branch-commits
https://github.com/thurstond approved this pull request. https://github.com/llvm/llvm-project/pull/158192 ___ 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][CFI] Generalize transparent union in args of args of functions (PR #158194)

2025-09-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Vitaly Buka (vitalybuka) Changes According GCC documentation transparent union calling convention is the same as the type of the first member of the union. C++ ignores attribute. --- Full diff: https://github.com/llvm/llvm-projec

[llvm-branch-commits] [CodeGen][CFI] Generalize transparent union in args of args of functions (PR #158194)

2025-09-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Vitaly Buka (vitalybuka) Changes According GCC documentation transparent union calling convention is the same as the type of the first member of the union. C++ ignores attribute. --- Full diff: https://github.com/llvm/llvm-project/pull/1

[llvm-branch-commits] [llvm] [NFC] Leave a comment in `Local.cpp` about debug info & sample profiling (PR #155296)

2025-09-12 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/155296 >From 38f01351d89a8f5103879a7333af2a6f6db882d0 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Mon, 25 Aug 2025 21:04:05 + Subject: [PATCH] [NFC] Leave a comment in `Local.cpp` about debug info & sample

[llvm-branch-commits] [llvm] Add deactivation symbol operand to ConstantPtrAuth. (PR #133537)

2025-09-12 Thread Peter Collingbourne 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] [llvm] CodeGen: Keep reference to TargetRegisterInfo in TargetInstrInfo (PR #158224)

2025-09-12 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/158224 ___ 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-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes Both conceptually belong to the same subtarget, so it should not be necessary to pass in the context TargetRegisterInfo to any TargetInstrInfo member. Add this reference so those superfluous argument

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

2025-09-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-loongarch @llvm/pr-subscribers-backend-nvptx Author: Matt Arsenault (arsenm) Changes TargetInstrInfo now directly holds a reference to TargetRegisterInfo and does not need TRI passed in anywhere. --- Patch is 51.28 KiB, truncated to 20.00 KiB b

[llvm-branch-commits] [llvm] ARM: Remove TRI argument from AddDReg (PR #158228)

2025-09-12 Thread David Green via llvm-branch-commits
https://github.com/davemgreen approved this pull request. This could maybe do with a better description of why it is changing, but it LGTM. https://github.com/llvm/llvm-project/pull/158228 ___ llvm-branch-commits mailing list llvm-branch-commits@lists

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

2025-09-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-globalisel @llvm/pr-subscribers-backend-risc-v Author: Matt Arsenault (arsenm) Changes Both conceptually belong to the same subtarget, so it should not be necessary to pass in the context TargetRegisterInfo to any TargetInstrInfo member. Add this re

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

2025-09-12 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/158225 TargetInstrInfo now directly holds a reference to TargetRegisterInfo and does not need TRI passed in anywhere. >From 808f13e18dc34dba52fa06b8e6281e06dbbcac45 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: F

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

2025-09-12 Thread Sergei Barannikov via llvm-branch-commits
@@ -113,9 +113,12 @@ struct ExtAddrMode { /// class LLVM_ABI TargetInstrInfo : public MCInstrInfo { protected: - TargetInstrInfo(unsigned CFSetupOpcode = ~0u, unsigned CFDestroyOpcode = ~0u, - unsigned CatchRetOpcode = ~0u, unsigned ReturnOpcode = ~0u) -

[llvm-branch-commits] [llvm] AMDGPU: Move spill pseudo special case out of adjustAllocatableRegClass (PR #158246)

2025-09-12 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/158246 >From e5032294b4979c4b7f2367cee30c24d42901714b Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 5 Sep 2025 17:27:37 +0900 Subject: [PATCH 1/2] AMDGPU: Move spill pseudo special case out of adjustAllocata

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

2025-09-12 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] CodeGen: Remove TRI arguments from stack load/store hooks (PR #158240)

2025-09-12 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: > LGTM with the clang-format fix I'm specifically ignoring that one since it's reformatting the entire large function https://github.com/llvm/llvm-project/pull/158240 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.

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

2025-09-12 Thread Sergei Barannikov 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] CodeGen: Keep reference to TargetRegisterInfo in TargetInstrInfo (PR #158224)

2025-09-12 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov edited https://github.com/llvm/llvm-project/pull/158224 ___ 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 ExactSIV misses dependency due to overflow (NFC) (PR #157085)

2025-09-12 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj updated https://github.com/llvm/llvm-project/pull/157085 >From 8377460fb09352f4801f62bd0bfa016e9debfb37 Mon Sep 17 00:00:00 2001 From: Ryotaro Kasuga Date: Fri, 5 Sep 2025 11:32:54 + Subject: [PATCH] [DA] Add test where ExactSIV misses dependency due to overflo

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

2025-09-12 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj updated https://github.com/llvm/llvm-project/pull/157085 >From 8377460fb09352f4801f62bd0bfa016e9debfb37 Mon Sep 17 00:00:00 2001 From: Ryotaro Kasuga Date: Fri, 5 Sep 2025 11:32:54 + Subject: [PATCH] [DA] Add test where ExactSIV misses dependency due to overflo

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

2025-09-12 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj updated https://github.com/llvm/llvm-project/pull/157085 >From 059708d5cdd61a2f2826667bbab45d8ee931cd79 Mon Sep 17 00:00:00 2001 From: Ryotaro Kasuga Date: Fri, 5 Sep 2025 11:32:54 + Subject: [PATCH] [DA] Add test where ExactSIV misses dependency due to overflo

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

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

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

2025-09-12 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/158273 None >From f1396376f57e2ce24cabbdf5324a9f14e3bf837c 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/AsmP

[llvm-branch-commits] [llvm] AMDGPU: Stop using aligned VGPR classes for addRegisterClass (PR #158278)

2025-09-12 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/158278 ___ 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] [mlir] [OMPIRBuilder] Add support for explicit deallocation points (PR #154752)

2025-09-12 Thread Tom Eccles via llvm-branch-commits
tblah wrote: > I don't know about this. However, I wasn't aware mixing allocas and heap > allocations in the same block could cause issues, could you share an example > where that would be problematic? I see the benefit of splitting allocations > from initializations and other instructions, be

[llvm-branch-commits] [llvm] AMDGPU: Stop using aligned VGPR classes for addRegisterClass (PR #158278)

2025-09-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes 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

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

2025-09-12 Thread Ryotaro Kasuga via llvm-branch-commits
kasuga-fj 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/158281?utm_source=stack-comment-downstack-mergeability-warning

[llvm-branch-commits] [llvm] AMDGPU: Stop using aligned VGPR classes for addRegisterClass (PR #158278)

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

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

2025-09-12 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj edited https://github.com/llvm/llvm-project/pull/158281 ___ 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 (PR #158281)

2025-09-12 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj created https://github.com/llvm/llvm-project/pull/158281 None >From efef32b7c2eb4e8c151872d35e4005a137cb47da 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 d

[llvm-branch-commits] [llvm] AMDGPU: Stop using aligned VGPR classes for addRegisterClass (PR #158278)

2025-09-12 Thread Jay Foad via llvm-branch-commits
https://github.com/jayfoad approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/158278 ___ 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] [NFC][CodeGen][CFI] Pre-commit transparent_union tests (PR #158192)

2025-09-12 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/158192 ___ 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-12 Thread Sergei Barannikov via llvm-branch-commits
@@ -95,10 +95,27 @@ def HasFSMULD : Predicate<"!Subtarget->hasNoFSMULD()">; // will pick deprecated instructions. def UseDeprecatedInsts : Predicate<"Subtarget->useV8DeprecatedInsts()">; +//===--===// +// HwMo

[llvm-branch-commits] [llvm] [DA] Add option to run only SIV routines (PR #157084)

2025-09-12 Thread Ryotaro Kasuga via llvm-branch-commits
kasuga-fj wrote: @sjoerdmeijer In light of the goal of default enablement, I personally think that disabling routines other than SIV by default could be a viable approach (though this option is just for testing purposes, and if we decide to move forward with it, a much more robust mechanism wo

[llvm-branch-commits] [mlir] db67d6a - Revert "[mlir][Transforms] Fix crash in `reconcile-unrealized-casts` (#158067)"

2025-09-12 Thread via llvm-branch-commits
Author: Mehdi Amini Date: 2025-09-12T14:50:53+01:00 New Revision: db67d6aa9438f09f72c8574264e1d6c98bfc2d5f URL: https://github.com/llvm/llvm-project/commit/db67d6aa9438f09f72c8574264e1d6c98bfc2d5f DIFF: https://github.com/llvm/llvm-project/commit/db67d6aa9438f09f72c8574264e1d6c98bfc2d5f.diff L

[llvm-branch-commits] [llvm] [DA] Add option to run only SIV routines (PR #157084)

2025-09-12 Thread Ryotaro Kasuga via llvm-branch-commits
kasuga-fj wrote: Backgrounds: DA uses SCEV to represent and solve mathematical inequalities, such as: $$a x + b y < c x + d y$$ To solve this, equation transformations (e.g., transposition) are applied, resulting in: $$(a - c) x + (b - d) y < 0$$ However, the terms $(a - c)$ and/or $(b - d

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

2025-09-12 Thread Christopher Bate via llvm-branch-commits
christopherbate wrote: I don't fully understand the rationale for adding this test. I followed the links, and it seems to stem from [this comment](https://github.com/llvm/llvm-project/pull/157583#issuecomment-3274164357). But the relationship between that failure and this test is not clear to

[llvm-branch-commits] [Clang] Port ulimit tests to work with internal shell (PR #157977)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157977 ___ 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-12 Thread Maksim Levental via llvm-branch-commits
@@ -65,6 +65,12 @@ if (MLIR_INCLUDE_INTEGRATION_TESTS) endif() +option(MLIR_RUN_STANDALONE_INSTALL_TESTS "Run Standalone example install tests." ON) +if(MLIR_RUN_STANDALONE_INSTALL_TESTS AND "${CMAKE_INSTALL_PREFIX}" STREQUAL "") + message(WARNING "Standalone example instal

[llvm-branch-commits] [Clang] Port ulimit tests to work with internal shell (PR #157977)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157977 ___ 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-12 Thread Maksim Levental via llvm-branch-commits
makslevental wrote: > I don't fully understand the rationale for adding this test. I followed the > links, and it seems to stem from [this > comment](https://github.com/llvm/llvm-project/pull/157583#issuecomment-3274164357). > But the relationship between that failure and this test is not clea

[llvm-branch-commits] [CodeGen][CFI] Generalize transparent union in args of args of functions (PR #158194)

2025-09-12 Thread Peter Collingbourne via llvm-branch-commits
@@ -2360,12 +2363,19 @@ static QualType GeneralizeType(ASTContext &Ctx, QualType Ty, bool GeneralizePointers) { Ty = GeneralizeTransparentUnion(Ty); - if (!GeneralizePointers || !Ty->isPointerType()) + if (!Ty->isPointerType()) +return T

[llvm-branch-commits] [mlir] 1a6b2b6 - [MLIR] enable Standalone example test for Windows (#158183)

2025-09-12 Thread via llvm-branch-commits
Author: Maksim Levental Date: 2025-09-12T11:34:44-07:00 New Revision: 1a6b2b64b6fbbb33ce65ae27a3a9ded4545b48aa URL: https://github.com/llvm/llvm-project/commit/1a6b2b64b6fbbb33ce65ae27a3a9ded4545b48aa DIFF: https://github.com/llvm/llvm-project/commit/1a6b2b64b6fbbb33ce65ae27a3a9ded4545b48aa.dif

[llvm-branch-commits] [lldb] 4826039 - [LLDB][NVIDIA] Add NVPTX architecture support (#158334)

2025-09-12 Thread via llvm-branch-commits
Author: Andrew Gontarek Date: 2025-09-12T14:46:51-04:00 New Revision: 4826039058aba304a874b07b67ecf59affa54a96 URL: https://github.com/llvm/llvm-project/commit/4826039058aba304a874b07b67ecf59affa54a96 DIFF: https://github.com/llvm/llvm-project/commit/4826039058aba304a874b07b67ecf59affa54a96.dif

[llvm-branch-commits] [llvm] [PowerPC] Implement Elliptic Curve Cryptography (ECC) Instructions (PR #158362)

2025-09-12 Thread Lei Huang via llvm-branch-commits
https://github.com/lei137 created https://github.com/llvm/llvm-project/pull/158362 New instructions added: * xxmulmul * xxmulmulhiadd * xxmulmulloadd * xxssumudm * xxssumudmc * xxssumudmcext * xsaddadduqm * xsaddaddsuqm * xsaddsubuqm *

[llvm-branch-commits] [llvm] [PowerPC] Implement Elliptic Curve Cryptography (ECC) Instructions (PR #158362)

2025-09-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-powerpc Author: Lei Huang (lei137) Changes New instructions added: * xxmulmul * xxmulmulhiadd * xxmulmulloadd * xxssumudm * xxssumudmc * xxssumudmcext * xsaddadduqm * xsaddaddsuqm * xsaddsub

[llvm-branch-commits] [CodeGen][CFI] Generalize transparent union in args of args of functions (PR #158194)

2025-09-12 Thread Peter Collingbourne via llvm-branch-commits
@@ -2360,12 +2363,19 @@ static QualType GeneralizeType(ASTContext &Ctx, QualType Ty, bool GeneralizePointers) { Ty = GeneralizeTransparentUnion(Ty); - if (!GeneralizePointers || !Ty->isPointerType()) + if (!Ty->isPointerType()) +return T

[llvm-branch-commits] CodeGen, Driver: Introduce -fpreferred-function-alignment option. (PR #155528)

2025-09-12 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/155528 ___ 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, Driver: Introduce -fpreferred-function-alignment option. (PR #155528)

2025-09-12 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/155528 ___ 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] IR: Introduce !elf_section_properties for setting section properties. (PR #149260)

2025-09-12 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] LowerTypeTests: Mark CFI jump table sections as eligible for relaxation. (PR #149261)

2025-09-12 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/149261 ___ 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-12 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy updated https://github.com/llvm/llvm-project/pull/158376 >From d762563a5979b2fdfa1cfd0c88c77e4a2c9c23a5 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Fri, 12 Sep 2025 22:06:44 + Subject: [PATCH] VocabStorage --- llvm/include/llvm/Analysis/IR2Vec.h |

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

2025-09-12 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy ready_for_review 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] SPARC: Use RegClassByHwMode instead of PointerLikeRegClass (PR #158271)

2025-09-12 Thread Matt Arsenault via llvm-branch-commits
@@ -95,10 +95,27 @@ def HasFSMULD : Predicate<"!Subtarget->hasNoFSMULD()">; // will pick deprecated instructions. def UseDeprecatedInsts : Predicate<"Subtarget->useV8DeprecatedInsts()">; +//===--===// +// HwMo

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

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

[llvm-branch-commits] [llvm] release/21.x: [RISCV] Support PreserveMost calling convention (#148214) (PR #158402)

2025-09-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-ir Author: None (llvmbot) Changes Backport 058d96f2d68d3496ae52774c06177d4a9039a134 Requested by: @wzssyqa --- Patch is 20.40 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/158402.diff 5 Files Affect

[llvm-branch-commits] [llvm] release/21.x: [RISCV] Support PreserveMost calling convention (#148214) (PR #158403)

2025-09-12 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/158403 Backport 058d96f2d68d3496ae52774c06177d4a9039a134 Requested by: @llvmbot >From c92706173d2faa20f032bc5319e017205ced20c0 Mon Sep 17 00:00:00 2001 From: Pengcheng Wang Date: Wed, 30 Jul 2025 16:30:48 +0800 Subje

[llvm-branch-commits] [llvm] release/21.x: [RISCV] Support PreserveMost calling convention (#148214) (PR #158403)

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

[llvm-branch-commits] [llvm] release/21.x: [RISCV] Support PreserveMost calling convention (#148214) (PR #158402)

2025-09-12 Thread via llvm-branch-commits
https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/158402 >From 11ab943f8146cf09e76ded67ace5fbd396536b8e Mon Sep 17 00:00:00 2001 From: Pengcheng Wang Date: Wed, 30 Jul 2025 16:30:48 +0800 Subject: [PATCH] [RISCV] Support PreserveMost calling convention (#148214) This

[llvm-branch-commits] [mlir] [mlir][Transforms] Simplify `ConversionPatternRewriter::replaceOp` implementation (PR #158075)

2025-09-12 Thread Matthias Springer via llvm-branch-commits
https://github.com/matthias-springer updated https://github.com/llvm/llvm-project/pull/158075 >From 8931f7667eb1a533f67cf3f97db771315f356c6c Mon Sep 17 00:00:00 2001 From: Matthias Springer Date: Wed, 3 Sep 2025 07:35:47 + Subject: [PATCH] proto --- .../Transforms/Utils/DialectConversion.

[llvm-branch-commits] AlwaysInliner: A new inlining algorithm to interleave alloca promotion with inlines. (PR #145613)

2025-09-12 Thread Amara Emerson via llvm-branch-commits
aemerson wrote: Final ping. Does anyone have *objections* to this patch? https://github.com/llvm/llvm-project/pull/145613 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branc

[llvm-branch-commits] [NFC][CodeGen][CFI] Add GeneralizePointers parameter to GeneralizeFunctionType (PR #158191)

2025-09-12 Thread Peter Collingbourne via llvm-branch-commits
@@ -2343,8 +2343,11 @@ llvm::ConstantInt *CodeGenModule::CreateCrossDsoCfiTypeId(llvm::Metadata *MD) { // originally pointed-to type, e.g. 'const char *' and 'char * const *' // generalize to 'const void *' while 'char *' and 'const char **' generalize to // 'void *'. ---

[llvm-branch-commits] [llvm] X86: Switch to RegClassByHwMode (PR #158274)

2025-09-12 Thread Craig Topper via llvm-branch-commits
https://github.com/topperc deleted https://github.com/llvm/llvm-project/pull/158274 ___ 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] BitstreamRemarkParser: Refactor error handling (PR #156511)

2025-09-12 Thread Jon Roelofs via llvm-branch-commits
@@ -364,59 +301,43 @@ Error BitstreamRemarkParser::parseMeta() { Error BitstreamRemarkParser::processCommonMeta( BitstreamMetaParserHelper &Helper) { - if (std::optional Version = Helper.ContainerVersion) -ContainerVersion = *Version; - else -return createStringE

[llvm-branch-commits] [llvm] 6af94c5 - [IntrinsicEmitter] Make AttributesMap bits adaptive (#157965)

2025-09-12 Thread via llvm-branch-commits
Author: Elvin Wang Date: 2025-09-12T20:42:08+02:00 New Revision: 6af94c566e3826de6b4a09518b78a48a1ffd92d3 URL: https://github.com/llvm/llvm-project/commit/6af94c566e3826de6b4a09518b78a48a1ffd92d3 DIFF: https://github.com/llvm/llvm-project/commit/6af94c566e3826de6b4a09518b78a48a1ffd92d3.diff LO

[llvm-branch-commits] [llvm] release/21.x: [RISCV] Support PreserveMost calling convention (#148214) (PR #158402)

2025-09-12 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/158402 Backport 058d96f2d68d3496ae52774c06177d4a9039a134 Requested by: @wzssyqa >From 1ff938f873663700335d695ac3413fca9ece6346 Mon Sep 17 00:00:00 2001 From: Pengcheng Wang Date: Wed, 30 Jul 2025 16:30:48 +0800 Subje

[llvm-branch-commits] [flang] [llvm] [mlir] [MLIR][OpenMP] Introduce overlapped record type map support (PR #119588)

2025-09-12 Thread via llvm-branch-commits
agozillon wrote: Small ping for some reviewer attention next week if possible please :-) https://github.com/llvm/llvm-project/pull/119588 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/lis

[llvm-branch-commits] [AllocToken, Clang] Infer type hints from sizeof expressions and casts (PR #156841)

2025-09-12 Thread Florian Mayer via llvm-branch-commits
@@ -1349,6 +1350,98 @@ void CodeGenFunction::EmitAllocTokenHint(llvm::CallBase *CB, CB->setMetadata(llvm::LLVMContext::MD_alloc_token_hint, MDN); } +/// Infer type from a simple sizeof expression. +static QualType inferTypeFromSizeofExpr(const Expr *E) { + const Expr *Arg

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

2025-09-12 Thread Christopher Bate via llvm-branch-commits
christopherbate wrote: > The existing Standalone test already performs a nested build command That test is using configure/build in a different build directory. Yes, it is nested in the existing one, but it is a new, temporary build directory. Existing test does something like this: - Parent

[llvm-branch-commits] [NFC][CodeGen][CFI] Add GeneralizePointers parameter to GeneralizeFunctionType (PR #158191)

2025-09-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Vitaly Buka (vitalybuka) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/158191.diff 1 Files Affected: - (modified) clang/lib/CodeGen/CodeGenModule.cpp (+22-14) ``diff diff --git a/clang/lib/CodeGen/

[llvm-branch-commits] [llvm] ARM: Remove TRI argument from AddDReg (PR #158228)

2025-09-12 Thread Sergei Barannikov via llvm-branch-commits
@@ -929,15 +929,15 @@ ARMBaseInstrInfo::describeLoadedValue(const MachineInstr &MI, return TargetInstrInfo::describeLoadedValue(MI, Reg); } -const MachineInstrBuilder & -ARMBaseInstrInfo::AddDReg(MachineInstrBuilder &MIB, unsigned Reg, - unsigned Su

[llvm-branch-commits] [llvm] AMDGPU: Move spill pseudo special case out of adjustAllocatableRegClass (PR #158246)

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

[llvm-branch-commits] [llvm] [LoongArch] make sadd/ssub/uadd/usub legal for lsx/lasx (PR #158209)

2025-09-12 Thread via llvm-branch-commits
https://github.com/heiher approved this pull request. LGTM. https://github.com/llvm/llvm-project/pull/158209 ___ 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-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Joel E. Denny (jdenny-ornl) Changes This patch implements the LoopUnroll changes discussed in [[RFC] Fix Loop Transformations to Preserve Block Frequencies](https://discourse.llvm.org/t/rfc-fix-loop-transformations-to-preserve-bl

[llvm-branch-commits] Add llvm.protected.field.ptr intrinsic and pre-ISel lowering. (PR #151647)

2025-09-12 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/151647 ___ 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-12 Thread Aiden Grossman 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] [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-12 Thread Tom Stellard via llvm-branch-commits
tstellar wrote: > Do we also need to backport > [5b4819e](https://github.com/llvm/llvm-project/commit/5b4819e337c662fad7176a1d8e7b95a94f199290) > ? I'm seeing the test from this commit fail on our i686 builders. I just realized the test name in this PR is slightly different form the one in 5b

[llvm-branch-commits] [compiler-rt] cd094c3 - Revert "[NFC] Fix CodeQL violations in compiler-rt. (#157793)"

2025-09-12 Thread via llvm-branch-commits
Author: Amit Kumar Pandey Date: 2025-09-10T22:55:14+05:30 New Revision: cd094c3520eb2efbdc645166db9cfbf020199135 URL: https://github.com/llvm/llvm-project/commit/cd094c3520eb2efbdc645166db9cfbf020199135 DIFF: https://github.com/llvm/llvm-project/commit/cd094c3520eb2efbdc645166db9cfbf020199135.d

[llvm-branch-commits] [llvm] [SelectionDAG] Deal with POISON for INSERT_VECTOR_ELT/INSERT_SUBVECTOR (part 2) (PR #143103)

2025-09-12 Thread Björn Pettersson via llvm-branch-commits
bjope wrote: This is not needed any longer (handled by https://github.com/llvm/llvm-project/pull/143102/). https://github.com/llvm/llvm-project/pull/143103 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/

[llvm-branch-commits] [llvm] [lit] Implement ulimit builtin (PR #157958)

2025-09-12 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157958 >From 030af4e2e48510334aa3001275f43132a7042f5c Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Wed, 10 Sep 2025 21:16:59 + Subject: [PATCH 1/2] formatting Created using spr 1.3.6 --- llvm/utils/

[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-12 Thread Tobias Hieta via llvm-branch-commits
tru 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? https://github.com/llvm/llvm-project/pull/156664 ___

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

2025-09-12 Thread Abid Qadeer via llvm-branch-commits
@@ -3506,6 +3506,8 @@ Expected OpenMPIRBuilder::createReductionFunction( return AfterIP.takeError(); if (!Builder.GetInsertBlock()) return ReductionFunc; + + Builder.SetInsertPoint(AfterIP->getBlock(), AfterIP->getPoint()); abidh wro

[llvm-branch-commits] [llvm] [llvm-profgen] Extend llvm-profgen to generate vtable profiles with data access events for non context-sensitive profiles using debug info (PR #148013)

2025-09-12 Thread Mingming Liu via llvm-branch-commits
https://github.com/mingmingl-llvm edited https://github.com/llvm/llvm-project/pull/148013 ___ 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] BitstreamRemarkParser: Refactor error handling (PR #156511)

2025-09-12 Thread Tobias Stadler via llvm-branch-commits
https://github.com/tobias-stadler updated https://github.com/llvm/llvm-project/pull/156511 ___ 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-12 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/133537 >From e728f3444624a5f47f0af84c21fb3a584f3e05b7 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Fri, 1 Aug 2025 17:27:41 -0700 Subject: [PATCH 1/4] Add verifier check Created using spr 1.3.6-beta.1 --- llvm

[llvm-branch-commits] [llvm] 67678c8 - Revert "[SCEV] Fold (C1 * A /u C2) -> A /u (C2 /u C1), if C2 > C1. (#157656)"

2025-09-12 Thread via llvm-branch-commits
Author: Reid Kleckner Date: 2025-09-12T09:42:19-07:00 New Revision: 67678c86a48bcae33bd28045fc0776436612319a URL: https://github.com/llvm/llvm-project/commit/67678c86a48bcae33bd28045fc0776436612319a DIFF: https://github.com/llvm/llvm-project/commit/67678c86a48bcae33bd28045fc0776436612319a.diff

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

2025-09-12 Thread Jon Roelofs via llvm-branch-commits
@@ -256,14 +251,57 @@ Error BitstreamParserHelper::parseBlockInfoBlock() { return Error::success(); } -Error BitstreamParserHelper::advanceToMetaBlock() { +Error BitstreamParserHelper::parseMeta() { if (Error E = expectMagic()) return E; if (Error E = parseBlockIn

[llvm-branch-commits] [llvm] [DA] Fix Strong SIV test for symbolic coefficients and deltas (#149977) (PR #157738)

2025-09-12 Thread Sebastian Pop via llvm-branch-commits
sebpop wrote: > The correct way to compute the absolute value is using > `ScalarEvolution::getAbsExpr`. I agree. The current way of using SE->isKnownNonNegative may be unsafe. Do you have a patch for this? https://github.com/llvm/llvm-project/pull/157738

<    1   2   3   >