[llvm-branch-commits] [libcxx] release/21.x: [libc++] Add checks for misused hardening macros (#150669) (PR #151582)

2025-08-10 Thread Nikolas Klauser via llvm-branch-commits
philnik777 wrote: > Who can review? > > btw what's up with the buildkite ci never ending? I don't know; I've pinged the owner. I don't think it should be blocking though. https://github.com/llvm/llvm-project/pull/151582 ___ llvm-branch-commits mailin

[llvm-branch-commits] [libcxx] release/21.x: [libc++] Add checks for misused hardening macros (#150669) (PR #151582)

2025-08-10 Thread Nikolas Klauser via llvm-branch-commits
https://github.com/philnik777 approved this pull request. https://github.com/llvm/llvm-project/pull/151582 ___ 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] 90c9271 - Revert "[PatternMatch] Add `m_[Shift]OrSelf` matchers. (#152924)"

2025-08-10 Thread via llvm-branch-commits
Author: Yingwei Zheng Date: 2025-08-11T11:38:27+08:00 New Revision: 90c9271c1304f5cf1f57f397a6cb9fce9649ed96 URL: https://github.com/llvm/llvm-project/commit/90c9271c1304f5cf1f57f397a6cb9fce9649ed96 DIFF: https://github.com/llvm/llvm-project/commit/90c9271c1304f5cf1f57f397a6cb9fce9649ed96.diff

[llvm-branch-commits] [llvm] [LoongArch] Implement isLegalAddressingMode for lsx/lasx (PR #151917)

2025-08-10 Thread via llvm-branch-commits
https://github.com/zhaoqi5 converted_to_draft https://github.com/llvm/llvm-project/pull/151917 ___ 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] [LV] Mask off possibly aliasing vector lanes (PR #100579)

2025-08-10 Thread Florian Hahn via llvm-branch-commits
@@ -1347,6 +1354,11 @@ class TargetTransformInfo { PartialReductionExtendKind OpBExtend, std::optional BinOp, TTI::TargetCostKind CostKind) const; + /// \return true if a mask should be formed that disables lanes that could + /// alias between two pointers. The m

[llvm-branch-commits] [llvm] [LV] Mask off possibly aliasing vector lanes (PR #100579)

2025-08-10 Thread Florian Hahn via llvm-branch-commits
@@ -479,7 +479,11 @@ class LoopVectorizationPlanner { /// Build VPlans for the specified \p UserVF and \p UserIC if they are /// non-zero or all applicable candidate VFs otherwise. If vectorization and /// interleaving should be avoided up-front, no plans are generated. -

[llvm-branch-commits] [llvm] [LV] Mask off possibly aliasing vector lanes (PR #100579)

2025-08-10 Thread Florian Hahn via llvm-branch-commits
@@ -2030,32 +2031,68 @@ Value *llvm::addDiffRuntimeChecks( // Map to keep track of created compares, The key is the pair of operands for // the compare, to allow detecting and re-using redundant compares. DenseMap, Value *> SeenCompares; - for (const auto &[SrcStart, Sin

[llvm-branch-commits] [llvm] [openmp] [OpenMP][Offload] Add offload runtime support for dyn_groupprivate clause (PR #152831)

2025-08-10 Thread Kevin Sala Penades via llvm-branch-commits
https://github.com/kevinsala updated https://github.com/llvm/llvm-project/pull/152831 >From fa3c7425ae9e5ffea83841f2be61b0f494b99038 Mon Sep 17 00:00:00 2001 From: Kevin Sala Date: Fri, 8 Aug 2025 11:25:14 -0700 Subject: [PATCH 1/2] [OpenMP][Offload] Add offload runtime support for dyn_grouppr

[llvm-branch-commits] [llvm] [openmp] [OpenMP][Offload] Add offload runtime support for dyn_groupprivate clause (PR #152831)

2025-08-10 Thread Kevin Sala Penades via llvm-branch-commits
@@ -158,6 +158,34 @@ void SharedMemorySmartStackTy::pop(void *Ptr, uint64_t Bytes) { memory::freeGlobal(Ptr, "Slow path shared memory deallocation"); } +struct DynCGroupMemTy { + void init(KernelLaunchEnvironmentTy *KLE, void *NativeDynCGroup) { +Size = 0; +Ptr = n

[llvm-branch-commits] [llvm] 5bb34ba - Revert "[NFC][MC] Removed unused switch case in `emitCATTR` (#152907)"

2025-08-10 Thread via llvm-branch-commits
Author: Abhishek Kaushik Date: 2025-08-10T22:19:26+05:30 New Revision: 5bb34babaeb25cd133f3c1af79a5c7bb069c49d9 URL: https://github.com/llvm/llvm-project/commit/5bb34babaeb25cd133f3c1af79a5c7bb069c49d9 DIFF: https://github.com/llvm/llvm-project/commit/5bb34babaeb25cd133f3c1af79a5c7bb069c49d9.di

[llvm-branch-commits] [mlir] [mlir][linalg] Migrate Detensorize pass to new dialect conversion driver (PR #152912)

2025-08-10 Thread Renato Golin via llvm-branch-commits
https://github.com/rengolin commented: Looks good, some nit, but I'll let others review and approve. https://github.com/llvm/llvm-project/pull/152912 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin

[llvm-branch-commits] [mlir] [mlir][linalg] Migrate Detensorize pass to new dialect conversion driver (PR #152912)

2025-08-10 Thread Renato Golin via llvm-branch-commits
@@ -53,10 +53,11 @@ func.func @detensor_op_sequence(%arg1: tensor, %arg2: tensor) -> tenso } // CHECK-LABEL: func @detensor_op_sequence // CHECK-SAME:(%[[arg1:.*]]: tensor, %[[arg2:.*]]: tensor) -// CHECK-DAG: %[[arg1_val:.*]] = tensor.extract %[[arg1]] +// CHECK-DAG:

[llvm-branch-commits] [mlir] [mlir][linalg] Migrate Detensorize pass to new dialect conversion driver (PR #152912)

2025-08-10 Thread Renato Golin via llvm-branch-commits
@@ -551,8 +567,22 @@ struct LinalgDetensorize populateBranchOpInterfaceTypeConversionPattern(patterns, typeConverter, shouldConvertBranchOperand); -if (failed( -applyFullConversion(getOperation(), target, s

[llvm-branch-commits] [mlir] [mlir][linalg] Migrate Detensorize pass to new dialect conversion driver (PR #152912)

2025-08-10 Thread Renato Golin via llvm-branch-commits
https://github.com/rengolin edited https://github.com/llvm/llvm-project/pull/152912 ___ 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: [IR] Handle fabs LHS in `fcmpImpliesClass` (#152913) (PR #152921)

2025-08-10 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/152921 ___ 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: [IR] Handle fabs LHS in `fcmpImpliesClass` (#152913) (PR #152921)

2025-08-10 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-ir Author: None (llvmbot) Changes Backport d8b1b46cd39c91830bcf49ed91d80f38f78c2168 Requested by: @dtcxzyw --- Full diff: https://github.com/llvm/llvm-project/pull/152921.diff 3 Files Affected: - (modified) llvm/include/llvm/IR/GenericFloatingP

[llvm-branch-commits] [llvm] release/21.x: [IR] Handle fabs LHS in `fcmpImpliesClass` (#152913) (PR #152921)

2025-08-10 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-analysis Author: None (llvmbot) Changes Backport d8b1b46cd39c91830bcf49ed91d80f38f78c2168 Requested by: @dtcxzyw --- Full diff: https://github.com/llvm/llvm-project/pull/152921.diff 3 Files Affected: - (modified) llvm/include/llvm/IR/GenericFlo

[llvm-branch-commits] [llvm] release/21.x: [IR] Handle fabs LHS in `fcmpImpliesClass` (#152913) (PR #152921)

2025-08-10 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: None (llvmbot) Changes Backport d8b1b46cd39c91830bcf49ed91d80f38f78c2168 Requested by: @dtcxzyw --- Full diff: https://github.com/llvm/llvm-project/pull/152921.diff 3 Files Affected: - (modified) llvm/include/llvm/IR/GenericF

[llvm-branch-commits] [llvm] release/21.x: [IR] Handle fabs LHS in `fcmpImpliesClass` (#152913) (PR #152921)

2025-08-10 Thread via llvm-branch-commits
llvmbot wrote: @arsenm What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/152921 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listin

[llvm-branch-commits] [llvm] release/21.x: [IR] Handle fabs LHS in `fcmpImpliesClass` (#152913) (PR #152921)

2025-08-10 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/152921 ___ 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: [IR] Handle fabs LHS in `fcmpImpliesClass` (#152913) (PR #152921)

2025-08-10 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/152921 Backport d8b1b46cd39c91830bcf49ed91d80f38f78c2168 Requested by: @dtcxzyw >From 7ef6f5bdc487cd277fcfa4ac3b4f812f657bbb66 Mon Sep 17 00:00:00 2001 From: Yingwei Zheng Date: Sun, 10 Aug 2025 22:55:04 +0800 Subjec

[llvm-branch-commits] [mlir] [mlir][linalg] Migrate Detensorize pass to new dialect conversion driver (PR #152912)

2025-08-10 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-linalg Author: Matthias Springer (matthias-springer) Changes The pass used to access erased operations and block arguments in the type converter. That is no longer supported in the new conversion driver. --- Full diff: https://github.com/llvm/llv

[llvm-branch-commits] [mlir] [mlir][linalg] Migrate Detensorize pass to new dialect conversion driver (PR #152912)

2025-08-10 Thread Matthias Springer via llvm-branch-commits
https://github.com/matthias-springer edited https://github.com/llvm/llvm-project/pull/152912 ___ 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][linalg] Migrate Detensorize pass to new dialect conversion driver (PR #152912)

2025-08-10 Thread Matthias Springer via llvm-branch-commits
https://github.com/matthias-springer created https://github.com/llvm/llvm-project/pull/152912 The pass used to access erased operations and block arguments in the type converter. That is no longer supported in the new conversion driver. >From c2e90f3a39148223619497eeff16ed810e3cab95 Mon Sep 1

[llvm-branch-commits] [llvm] [openmp] [OpenMP][Offload] Add offload runtime support for dyn_groupprivate clause (PR #152831)

2025-08-10 Thread Matt Arsenault via llvm-branch-commits
@@ -556,8 +563,45 @@ Error GenericKernelTy::launch(GenericDeviceTy &GenericDevice, void **ArgPtrs, llvm::SmallVector Args; llvm::SmallVector Ptrs; + uint32_t NumThreads[3] = {KernelArgs.ThreadLimit[0], +KernelArgs.ThreadLimit[1], +

[llvm-branch-commits] [llvm] [openmp] [OpenMP][Offload] Add offload runtime support for dyn_groupprivate clause (PR #152831)

2025-08-10 Thread Matt Arsenault via llvm-branch-commits
@@ -556,8 +563,45 @@ Error GenericKernelTy::launch(GenericDeviceTy &GenericDevice, void **ArgPtrs, llvm::SmallVector Args; llvm::SmallVector Ptrs; + uint32_t NumThreads[3] = {KernelArgs.ThreadLimit[0], +KernelArgs.ThreadLimit[1], +