[llvm-branch-commits] [clang] clang/AMDGPU: Emit atomicrmw for __builtin_amdgcn_global_atomic_fadd_{f32|f64} (PR #96872)

2024-08-01 Thread Pierre van Houtryve via llvm-branch-commits
@@ -19273,9 +19269,14 @@ Value *CodeGenFunction::EmitAMDGPUBuiltinExpr(unsigned BuiltinID, ProcessOrderScopeAMDGCN(EmitScalarExpr(E->getArg(2)), EmitScalarExpr(E->getArg(3)), AO, SSID); } else { - // The ds_atomic_fadd_* builtins do

[llvm-branch-commits] [OpenMP][MLIR] Descriptor explicit member map lowering changes (PR #96265)

2024-08-01 Thread via llvm-branch-commits
agozillon wrote: Likely also worth stating the PR has some further modifications to support swapping from DenseIntElementsAttr -> ArrayAttr>> which simplifies the implementation a chunk by no longer requiring the -1 padding (thank you very much for the suggestions @skatrak :-) )! So perhaps wo

[llvm-branch-commits] [OpenMP][MLIR] Descriptor explicit member map lowering changes (PR #96265)

2024-08-01 Thread via llvm-branch-commits
agozillon wrote: Thank you for the approvals and comments! I updated the PR to add the requested comment as well as shortened the test as requested to a more minimal test. https://github.com/llvm/llvm-project/pull/96265 ___ llvm-branch-commits mailin

[llvm-branch-commits] [flang] [Flang][OpenMP] Derived type explicit allocatable member mapping (PR #96266)

2024-08-01 Thread via llvm-branch-commits
https://github.com/agozillon updated https://github.com/llvm/llvm-project/pull/96266 >From 2e24a3b56c2be7203aa87b1d6bb886706e138496 Mon Sep 17 00:00:00 2001 From: agozillon Date: Tue, 25 Jun 2024 17:40:04 -0500 Subject: [PATCH] removal of some leftover artifacts Created using spr 1.3.4 --- fl

[llvm-branch-commits] [flang] [Flang][OpenMP] Derived type explicit allocatable member mapping (PR #96266)

2024-08-01 Thread via llvm-branch-commits
https://github.com/agozillon updated https://github.com/llvm/llvm-project/pull/96266 >From 2e24a3b56c2be7203aa87b1d6bb886706e138496 Mon Sep 17 00:00:00 2001 From: agozillon Date: Tue, 25 Jun 2024 17:40:04 -0500 Subject: [PATCH] removal of some leftover artifacts Created using spr 1.3.4 --- fl

[llvm-branch-commits] [OpenMP][MLIR] Descriptor explicit member map lowering changes (PR #96265)

2024-08-01 Thread via llvm-branch-commits
https://github.com/agozillon updated https://github.com/llvm/llvm-project/pull/96265 ___ 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] [OpenMP][MLIR] Descriptor explicit member map lowering changes (PR #96265)

2024-08-01 Thread via llvm-branch-commits
https://github.com/agozillon updated https://github.com/llvm/llvm-project/pull/96265 ___ 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][asan] Switch from list to DynInitGlobalsByModule (PR #101596)

2024-08-01 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/101596 ___ 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][asan] Switch from list to DynInitGLobalsByModule (PR #101596)

2024-08-01 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/101596 ___ 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][asan] Switch from list to DynInitGLobalsByModule (PR #101596)

2024-08-01 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/101596 ___ 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] [test][asan] Check for order of DynInitPoison (PR #101584)

2024-08-01 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/101584 ___ 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] [test][asan] Check for order of DynInitPoison (PR #101584)

2024-08-01 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/101584 ___ 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][asan] Switch to IntrusiveList in asan_globals (PR #101577)

2024-08-01 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/101577 ___ 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][asan] Switch to IntrusiveList in asan_globals (PR #101577)

2024-08-01 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/101577 ___ 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][SILoadStoreOptimizer] Include constrained buffer load variants (PR #101619)

2024-08-01 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Christudasan Devadasan (cdevadas) Changes Use the constrained buffer load opcodes while combining under-aligned load for XNACK enabled subtargets. --- Patch is 47.71 KiB, truncated to 20.00 KiB below, full version: https://githu

[llvm-branch-commits] [llvm] [AMDGPU][SILoadStoreOptimizer] Include constrained buffer load variants (PR #101619)

2024-08-01 Thread Christudasan Devadasan via llvm-branch-commits
https://github.com/cdevadas ready_for_review https://github.com/llvm/llvm-project/pull/101619 ___ 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][SILoadStoreOptimizer] Include constrained buffer load variants (PR #101619)

2024-08-01 Thread Christudasan Devadasan via llvm-branch-commits
cdevadas 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/101619?utm_source=stack-comment-downstack-mergeability-warning"

[llvm-branch-commits] [llvm] [AMDGPU][SILoadStoreOptimizer] Include constrained buffer load variants (PR #101619)

2024-08-01 Thread Christudasan Devadasan via llvm-branch-commits
https://github.com/cdevadas created https://github.com/llvm/llvm-project/pull/101619 Use the constrained buffer load opcodes while combining under-aligned load for XNACK enabled subtargets. >From ad8a8dfea913c92fb94079aab0a4a5905b30384d Mon Sep 17 00:00:00 2001 From: Christudasan Devadasan Dat

[llvm-branch-commits] [compiler-rt] release/19.x: [InstrProf] Remove duplicate definition of IntPtrT (PR #101061)

2024-08-01 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay approved this pull request. https://github.com/llvm/llvm-project/pull/101061 ___ 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] [PowerPC][GlobalMerge] Enable GlobalMerge by default on AIX (PR #101226)

2024-08-01 Thread Amy Kwan via llvm-branch-commits
@@ -500,7 +500,10 @@ void PPCPassConfig::addIRPasses() { } bool PPCPassConfig::addPreISel() { - if (EnableGlobalMerge) + if ((EnableGlobalMerge.getNumOccurrences() > 0) + ? EnableGlobalMerge + : (TM->getTargetTriple().isOSAIX() && + getOptLevel(

[llvm-branch-commits] [llvm] [PowerPC][GlobalMerge] Enable GlobalMerge by default on AIX (PR #101226)

2024-08-01 Thread Amy Kwan via llvm-branch-commits
https://github.com/amy-kwan updated https://github.com/llvm/llvm-project/pull/101226 >From e18bc365d7d1dbea3b5a08983a9635a46e0c81af Mon Sep 17 00:00:00 2001 From: Amy Kwan Date: Tue, 30 Jul 2024 12:55:34 -0500 Subject: [PATCH] [PowerPC][GlobalMerge] Enable GlobalMerge by default on AIX This pa

[llvm-branch-commits] [llvm] [PowerPC][GlobalMerge] Reduce TOC usage by merging internal and private global data (PR #101224)

2024-08-01 Thread Amy Kwan via llvm-branch-commits
https://github.com/amy-kwan updated https://github.com/llvm/llvm-project/pull/101224 >From 7a0a6ba50edda592bf3acc1b5ae0d8d2272fc8f2 Mon Sep 17 00:00:00 2001 From: Amy Kwan Date: Tue, 30 Jul 2024 12:53:15 -0500 Subject: [PATCH 1/2] [PowerPC][GlobalMerge] Reduce TOC usage by merging internal and

[llvm-branch-commits] [llvm] [WIP][AMDGPU] Enable `AAAddressSpace` in `AMDGPUAttributor` (PR #101593)

2024-08-01 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian updated https://github.com/llvm/llvm-project/pull/101593 >From 9b743f5bd577be07c858b1357da8d39264bc34db Mon Sep 17 00:00:00 2001 From: Shilei Tian Date: Thu, 1 Aug 2024 20:30:07 -0400 Subject: [PATCH] [WIP][AMDGPU] Enable `AAAddressSpace` in `AMDGPUAttributor` ---

[llvm-branch-commits] [llvm] [WIP][AMDGPU] Enable `AAAddressSpace` in `AMDGPUAttributor` (PR #101593)

2024-08-01 Thread Shilei Tian via llvm-branch-commits
@@ -1064,6 +1064,17 @@ static bool runImpl(Module &M, AnalysisGetter &AG, TargetMachine &TM) { } else if (CC == CallingConv::AMDGPU_KERNEL) { addPreloadKernArgHint(F, TM); } + +for (auto &I : instructions(F)) { + if (auto *LI = dyn_cast(&I)) { --

[llvm-branch-commits] [NFC][asan] Switch to IntrusiveList in asan_globals (PR #101577)

2024-08-01 Thread Kirill Stoimenov via llvm-branch-commits
https://github.com/kstoimenov approved this pull request. https://github.com/llvm/llvm-project/pull/101577 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

2024-08-01 Thread Ivan R. Ivanov via llvm-branch-commits
@@ -0,0 +1,259 @@ +//===- LowerWorkshare.cpp - special cases for bufferization ---===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0

[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

2024-08-01 Thread Ivan R. Ivanov via llvm-branch-commits
@@ -792,7 +793,8 @@ struct ElementalOpConversion // Generate a loop nest looping around the fir.elemental shape and clone // fir.elemental region inside the inner loop. hlfir::LoopNest loopNest = -hlfir::genLoopNest(loc, builder, extents, !elemental.isOrdere

[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

2024-08-01 Thread Ivan R. Ivanov via llvm-branch-commits
@@ -2,3 +2,4 @@ add_subdirectory(CodeGen) add_subdirectory(Dialect) add_subdirectory(HLFIR) add_subdirectory(Transforms) +add_subdirectory(OpenMP) ivanradanov wrote: Thank you, I missed those passes, I guess I will make a separate PR for creating the OpenMP p

[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

2024-08-01 Thread Ivan R. Ivanov via llvm-branch-commits
ivanradanov wrote: > Thank you for your work so far. This is a great start. > > What is the plan for transforming do loops generated by lowering (e.g. that > do not become hlfir.elemental operations and are not generated by hlfir > bufferization)? I am looking at [this](https://www.openmp.org

[llvm-branch-commits] [clang] [Serialization] Code cleanups and polish 83233 (PR #83237)

2024-08-01 Thread Chuanqi Xu via llvm-branch-commits
ChuanqiXu9 wrote: > We've hit an error during testing: > > ```c++ > In module '...stl_cc_library': > .../src/libcxx/include/__memory/allocator.h:128:60: error: > 'std::allocator>::deallocate' from > module '...stl_cc_library./cxx17/vector' is not present in definition of > 'std::allocator>' p

[llvm-branch-commits] [NFC][asan] Switch from list to DynInitGLobalsByModule (PR #101596)

2024-08-01 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) Changes Prepare for incremental poisoning, poisoning all globals for every TU is expensive. --- Full diff: https://github.com/llvm/llvm-project/pull/101596.diff 1 Files Affected: - (modified) co

[llvm-branch-commits] [NFC][asan] Switch from list to DynInitGLobalsByModule (PR #101596)

2024-08-01 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/101596 Prepare for incremental poisoning, poisoning all globals for every TU is expensive. ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https:

[llvm-branch-commits] [llvm] release/19.x: [RISCV] Use APInt in isSimpleVIDSequence to account for index overflow (#100072) (PR #101124)

2024-08-01 Thread Luke Lau via llvm-branch-commits
https://github.com/lukel97 closed https://github.com/llvm/llvm-project/pull/101124 ___ 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] [WIP][AMDGPU] Enable `AAAddressSpace` in `AMDGPUAttributor` (PR #101593)

2024-08-01 Thread Shilei Tian via llvm-branch-commits
shiltian 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/101593?utm_source=stack-comment-downstack-mergeability-warning"

[llvm-branch-commits] [llvm] [WIP][AMDGPU] Enable `AAAddressSpace` in `AMDGPUAttributor` (PR #101593)

2024-08-01 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian created https://github.com/llvm/llvm-project/pull/101593 None >From 5dffd995b71395656b26977d019385a9d0a88533 Mon Sep 17 00:00:00 2001 From: Shilei Tian Date: Thu, 1 Aug 2024 20:30:07 -0400 Subject: [PATCH] [WIP][AMDGPU] Enable `AAAddressSpace` in `AMDGPUAttributor`

[llvm-branch-commits] [llvm] release/19.x: [RISCV] Use APInt in isSimpleVIDSequence to account for index overflow (#100072) (PR #101124)

2024-08-01 Thread Philip Reames via llvm-branch-commits
preames wrote: Talked with Luke about this one offline. On reflection, both of us are a bit unsure about the balance of risk vs reward here. The miscompile is not a regression, and occurs in what we think is a pretty unusual configuration. The fix landed recently, and while there's no known

[llvm-branch-commits] [llvm] [NFC][AMDGPU] Reformat code for creating AA (PR #101591)

2024-08-01 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Shilei Tian (shiltian) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/101591.diff 1 Files Affected: - (modified) llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp (+12-11) ``diff diff --git a/llvm/lib/Ta

[llvm-branch-commits] [llvm] [NFC][AMDGPU] Reformat code for creating AA (PR #101591)

2024-08-01 Thread Shilei Tian via llvm-branch-commits
shiltian 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/101591?utm_source=stack-comment-downstack-mergeability-warning"

[llvm-branch-commits] [llvm] [NFC][AMDGPU] Reformat code for creating AA (PR #101591)

2024-08-01 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian ready_for_review https://github.com/llvm/llvm-project/pull/101591 ___ 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] [NFC][AMDGPU] Reformat code for creating AA (PR #101591)

2024-08-01 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian created https://github.com/llvm/llvm-project/pull/101591 None >From 806563cbb89fea64b9c289ad39a4520ce72f0ebc Mon Sep 17 00:00:00 2001 From: Shilei Tian Date: Thu, 1 Aug 2024 20:24:49 -0400 Subject: [PATCH] [NFC][AMDGPU] Reformat code for creating AA --- llvm/lib/T

[llvm-branch-commits] [NFC][asan] Report DynInitUnPoison (PR #101586)

2024-08-01 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/101586.diff 2 Files Affected: - (modified) compiler-rt/lib/asan/asan_globals.cpp (+2-1) - (modified) compiler-rt/test/asan/TestC

[llvm-branch-commits] [NFC][asan] Report DynInitUnPoison (PR #101586)

2024-08-01 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/101586 None ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [RISCV] Fix vmerge.vvm/vmv.v.v getting folded into ops with mismatching EEW (PR #101464)

2024-08-01 Thread Philip Reames via llvm-branch-commits
https://github.com/preames approved this pull request. https://github.com/llvm/llvm-project/pull/101464 ___ 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] [test][asan] Check for order of DynInitPoison (PR #101584)

2024-08-01 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) Changes Also make sure we have dynamic init variables with any `-O`. --- Full diff: https://github.com/llvm/llvm-project/pull/101584.diff 2 Files Affected: - (modified) compiler-rt/test/asan/Te

[llvm-branch-commits] [test][asan] Check for order of DynInitPoison (PR #101584)

2024-08-01 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/101584 Also make sure we have dynamic init variables with any `-O`. ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bi

[llvm-branch-commits] [NFC][asan] Switch to IntrusiveList in asan_globals (PR #101577)

2024-08-01 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/101577 ___ 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] [Clang][OMPX] Add the code generation for multi-dim `num_teams` (PR #101407)

2024-08-01 Thread Alexey Bataev via llvm-branch-commits
https://github.com/alexey-bataev approved this pull request. LG https://github.com/llvm/llvm-project/pull/101407 ___ 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] [Clang][OMPX] Add the code generation for multi-dim `num_teams` (PR #101407)

2024-08-01 Thread Alexey Bataev via llvm-branch-commits
@@ -9576,6 +9576,20 @@ static void genMapInfo(const OMPExecutableDirective &D, CodeGenFunction &CGF, MappedVarSet, CombinedInfo); genMapInfo(MEHandler, CGF, CombinedInfo, OMPBuilder, MappedVarSet); } + +static void emitNumTeamsForBareTargetDirective(

[llvm-branch-commits] [NFC][asan] Switch to IntrusiveList in asan_globals (PR #101577)

2024-08-01 Thread Vitaly Buka via llvm-branch-commits
vitalybuka wrote: @artempyanykh https://github.com/llvm/llvm-project/pull/101577 ___ 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][asan] Switch to IntrusiveList in asan_globals (PR #101577)

2024-08-01 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) Changes It's preparation for switching to hash table. --- Full diff: https://github.com/llvm/llvm-project/pull/101577.diff 1 Files Affected: - (modified) compiler-rt/lib/asan/asan_globals.cpp (+

[llvm-branch-commits] [NFC][asan] Switch to IntrusiveList in asan_globals (PR #101577)

2024-08-01 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/101577 It's preparation for switching to hash table. ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listi

[llvm-branch-commits] [clang] [llvm] [Clang][OMPX] Add the code generation for multi-dim `num_teams` (PR #101407)

2024-08-01 Thread Shilei Tian via llvm-branch-commits
@@ -9576,6 +9576,20 @@ static void genMapInfo(const OMPExecutableDirective &D, CodeGenFunction &CGF, MappedVarSet, CombinedInfo); genMapInfo(MEHandler, CGF, CombinedInfo, OMPBuilder, MappedVarSet); } + +static void emitNumTeamsForBareTargetDirective(

[llvm-branch-commits] [llvm] workflows: Re-implement the get-llvm-version action as a composite (PR #101554)

2024-08-01 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/101554 >From 904aab8a345b781c27e5aaa75a8ba64fdef15658 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 1 Aug 2024 13:09:52 -0700 Subject: [PATCH 1/2] workflows: Re-implement the get-llvm-version action as a com

[llvm-branch-commits] [clang] [llvm] [LLVM][PassBuilder] Extend the function signature of callback for optimizer pipeline extension point (PR #100953)

2024-08-01 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian updated https://github.com/llvm/llvm-project/pull/100953 >From 842d2229369b47a98a531ca29b80195d97a152d0 Mon Sep 17 00:00:00 2001 From: Shilei Tian Date: Sun, 28 Jul 2024 15:28:09 -0400 Subject: [PATCH] [LLVM][PassBuilder] Extend the function signature of callback fo

[llvm-branch-commits] [llvm] workflows: Re-implement the get-llvm-version action as a composite (PR #101554)

2024-08-01 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-github-workflow Author: Tom Stellard (tstellar) Changes The old version in the llvm/actions repo stopped working after the version variables were moved out of llvm/CMakeLists.txt. Composite actions are more simple and don't require javascript, which i

[llvm-branch-commits] [llvm] workflows: Re-implement the get-llvm-version action as a composite (PR #101554)

2024-08-01 Thread Tom Stellard via llvm-branch-commits
tstellar wrote: This PR is for testing purpose, it will need to be committed to main first and then cherry-picked. https://github.com/llvm/llvm-project/pull/101554 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.l

[llvm-branch-commits] [llvm] workflows: Re-implement the get-llvm-version action as a composite (PR #101554)

2024-08-01 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/101554 The old version in the llvm/actions repo stopped working after the version variables were moved out of llvm/CMakeLists.txt. Composite actions are more simple and don't require javascript, which is why I reimp

[llvm-branch-commits] [libcxx] [libcxxabi] [libunwind] release/19x: [NFC][libc++][libc++abi][libunwind][test] Fix/unify AIX triples used in LIT tests (#101196) (PR #101527)

2024-08-01 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne approved this pull request. https://github.com/llvm/llvm-project/pull/101527 ___ 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/19.x: [lldb][FreeBSD] Fix NativeRegisterContextFreeBSD_{arm, mips64, powerpc} declarations (#101403) (PR #101465)

2024-08-01 Thread Jonas Devlieghere via llvm-branch-commits
https://github.com/JDevlieghere approved this pull request. No objections from me! https://github.com/llvm/llvm-project/pull/101465 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/

[llvm-branch-commits] [llvm] release/19.x: workflows: Fix libclc-tests (#101524) (PR #101539)

2024-08-01 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru approved this pull request. https://github.com/llvm/llvm-project/pull/101539 ___ 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] workflows: Fix libclc-tests (PR #101496)

2024-08-01 Thread Tom Stellard via llvm-branch-commits
tstellar wrote: Closing in favor of #101539 https://github.com/llvm/llvm-project/pull/101496 ___ 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] workflows: Fix libclc-tests (PR #101496)

2024-08-01 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/101496 ___ 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/19.x: workflows: Fix libclc-tests (#101524) (PR #101539)

2024-08-01 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-github-workflow Author: None (llvmbot) Changes Backport 0512ba0a435a9d693cb61f182fc9e3eb7f6dbd6a Requested by: @tstellar --- Full diff: https://github.com/llvm/llvm-project/pull/101539.diff 1 Files Affected: - (modified) .github/workflows/llvm-proje

[llvm-branch-commits] [llvm] release/19.x: workflows: Fix libclc-tests (#101524) (PR #101539)

2024-08-01 Thread via llvm-branch-commits
llvmbot wrote: @tru What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/101539 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/

[llvm-branch-commits] [llvm] release/19.x: workflows: Fix libclc-tests (#101524) (PR #101539)

2024-08-01 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/101539 ___ 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/19.x: workflows: Fix libclc-tests (#101524) (PR #101539)

2024-08-01 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/101539 Backport 0512ba0a435a9d693cb61f182fc9e3eb7f6dbd6a Requested by: @tstellar >From 8b3b86d23ca98e5af67e44b61682d93326bdf53d Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 1 Aug 2024 11:23:03 -0700 Subject

[llvm-branch-commits] [mlir] [mlir][Transforms] Dialect conversion: Build unresolved materialization for replaced ops (PR #101514)

2024-08-01 Thread Jakub Kuderski via llvm-branch-commits
@@ -2459,10 +2457,42 @@ OperationConverter::finalize(ConversionPatternRewriter &rewriter) { return failure(); DenseMap> inverseMapping = rewriterImpl.mapping.getInverse(); + if (failed(legalizeConvertedOpResultTypes(rewriter, rewriterImpl, +

[llvm-branch-commits] [mlir] [mlir][Transforms] Dialect conversion: Build unresolved materialization for replaced ops (PR #101514)

2024-08-01 Thread Jakub Kuderski via llvm-branch-commits
https://github.com/kuhar approved this pull request. https://github.com/llvm/llvm-project/pull/101514 ___ 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: Remove flat/global atomic fadd v2bf16 intrinsics (PR #97050)

2024-08-01 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/97050 >From 5672042d638e13794e09d981f286fef487b05206 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 27 Jun 2024 16:32:48 +0200 Subject: [PATCH] AMDGPU: Remove flat/global atomic fadd v2bf16 intrinsics These a

[llvm-branch-commits] [clang] clang/AMDGPU: Emit atomicrmw for flat/global atomic min/max f64 builtins (PR #96876)

2024-08-01 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/96876 >From 55fc7946a4480b2dd1befd579805623a56f5fd1a Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 26 Jun 2024 23:18:32 +0200 Subject: [PATCH] clang/AMDGPU: Emit atomicrmw for flat/global atomic min/max f64

[llvm-branch-commits] [clang] clang/AMDGPU: Emit atomicrmw for global/flat fadd v2bf16 builtins (PR #96875)

2024-08-01 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/96875 >From 8ac629544dcf9fa4c35310abb89491b77e3292ba Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 26 Jun 2024 19:34:43 +0200 Subject: [PATCH] clang/AMDGPU: Emit atomicrmw for global/flat fadd v2bf16 builtin

[llvm-branch-commits] [clang] clang/AMDGPU: Emit atomicrmw from flat_atomic_{f32|f64} builtins (PR #96874)

2024-08-01 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/96874 >From 2c443d8a9daeb42234e585d0d9547634409952a9 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 26 Jun 2024 19:15:26 +0200 Subject: [PATCH] clang/AMDGPU: Emit atomicrmw from flat_atomic_{f32|f64} builtins

[llvm-branch-commits] [clang] clang/AMDGPU: Emit atomicrmw from {global|flat}_atomic_fadd_v2f16 builtins (PR #96873)

2024-08-01 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/96873 >From 367f6897698f22c30cb7491d90ae0251bfa57af1 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 26 Jun 2024 19:12:59 +0200 Subject: [PATCH] clang/AMDGPU: Emit atomicrmw from {global|flat}_atomic_fadd_v2f1

[llvm-branch-commits] [clang] clang/AMDGPU: Emit atomicrmw for __builtin_amdgcn_global_atomic_fadd_{f32|f64} (PR #96872)

2024-08-01 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/96872 >From ea17c792053e32e39a7261e3bdf1673d98e4d94a Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 11 Jun 2024 10:58:44 +0200 Subject: [PATCH 1/2] clang/AMDGPU: Emit atomicrmw for __builtin_amdgcn_global_ato

[llvm-branch-commits] [llvm] workflows: Fix libclc-tests (PR #101496)

2024-08-01 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru approved this pull request. https://github.com/llvm/llvm-project/pull/101496 ___ 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] release/19.x: [ELF] Support relocatable files using CREL with explicit addends (PR #101532)

2024-08-01 Thread Peter Smith via llvm-branch-commits
https://github.com/smithp35 approved this pull request. CREL is an experimental optional feature that we want to get feedback on, it would be good to get this into the 19 release. https://github.com/llvm/llvm-project/pull/101532 ___ llvm-branch-commit

[llvm-branch-commits] [lld] release/19.x: [ELF] Support relocatable files using CREL with explicit addends (PR #101532)

2024-08-01 Thread via llvm-branch-commits
https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/101532 >From 2fdae8d06ecec2d59fd33b5c2fdb19dba1c68bcd Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Thu, 1 Aug 2024 10:22:03 -0700 Subject: [PATCH] [ELF] Support relocatable files using CREL with explicit addends

[llvm-branch-commits] [lld] release/19.x: [ELF] Support relocatable files using CREL with explicit addends (PR #101532)

2024-08-01 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-lld-elf @llvm/pr-subscribers-lld Author: None (llvmbot) Changes Backport 0af07c078798b7c427e2981377781b5cc555a568 Requested by: @MaskRay --- Patch is 42.50 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/101

[llvm-branch-commits] [lld] release/19.x: [ELF] Support relocatable files using CREL with explicit addends (PR #101532)

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

[llvm-branch-commits] [lld] release/19.x: [ELF] Support relocatable files using CREL with explicit addends (PR #101532)

2024-08-01 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/101532 Backport 0af07c078798b7c427e2981377781b5cc555a568 Requested by: @MaskRay >From c91ec0a30323e2fd6a060a54923bc2c549366036 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Thu, 1 Aug 2024 10:22:03 -0700 Subject:

[llvm-branch-commits] [lld] release/19.x: [ELF] Support relocatable files using CREL with explicit addends (PR #101532)

2024-08-01 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/101532 ___ 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] [AArch64][ARM] Add a release note about _BitInt (PR #101521)

2024-08-01 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Momchil Velikov (momchil-velikov) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/101521.diff 1 Files Affected: - (modified) clang/docs/ReleaseNotes.rst (+2) ``diff diff --git a/clang/docs/ReleaseNotes.rst b

[llvm-branch-commits] [clang] [AArch64][ARM] Add a release note about _BitInt (PR #101521)

2024-08-01 Thread Momchil Velikov via llvm-branch-commits
https://github.com/momchil-velikov created https://github.com/llvm/llvm-project/pull/101521 None >From 3079b62127b9fd2878f9a1bf8ffeb2a5be90ab5b Mon Sep 17 00:00:00 2001 From: Momchil Velikov Date: Thu, 1 Aug 2024 17:58:18 +0100 Subject: [PATCH] [AArch64][ARM] Add a release note about _BitInt

[llvm-branch-commits] [DXIL][Analysis] Implement enough of DXILResourceAnalysis for buffers (PR #100699)

2024-08-01 Thread Justin Bogner via llvm-branch-commits
https://github.com/bogner edited https://github.com/llvm/llvm-project/pull/100699 ___ 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] [DXIL][Analysis] Implement enough of DXILResourceAnalysis for buffers (PR #100699)

2024-08-01 Thread Justin Bogner via llvm-branch-commits
@@ -331,6 +336,249 @@ std::pair ResourceInfo::getAnnotateProps() const { return {Word0, Word1}; } +void ResourceInfo::print(raw_ostream &OS) const { + OS << " Symbol: "; + Symbol->printAsOperand(OS); + OS << "\n"; + + OS << " Name: \"" << Name << "\"\n" + << " Bi

[llvm-branch-commits] [mlir] [mlir][Transforms] Dialect conversion: Build unresolved materialization for replaced ops (PR #101514)

2024-08-01 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-core @llvm/pr-subscribers-mlir-spirv @llvm/pr-subscribers-mlir Author: Matthias Springer (matthias-springer) Changes When inserting an argument/source/target materialization, the dialect conversion framework first inserts a "dummy" `unrealized_conv

[llvm-branch-commits] [mlir] [mlir][Transforms] Dialect conversion: Build unresolved materialization for replaced ops (PR #101514)

2024-08-01 Thread Matthias Springer via llvm-branch-commits
https://github.com/matthias-springer created https://github.com/llvm/llvm-project/pull/101514 When inserting an argument/source/target materialization, the dialect conversion framework first inserts a "dummy" `unrealized_conversion_cast` op (during the rewrite process) and then (in the "finial

[llvm-branch-commits] [mlir] [mlir][Transforms][NFC] Dialect conversion: Eagerly build reverse mapping (PR #101476)

2024-08-01 Thread Matthias Springer via llvm-branch-commits
https://github.com/matthias-springer edited https://github.com/llvm/llvm-project/pull/101476 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [llvm] [mlir] [MLIR][OpenMP][OMPIRBuilder] Add lowering support for omp.target_triples (PR #100156)

2024-08-01 Thread Sergio Afonso via llvm-branch-commits
https://github.com/skatrak updated https://github.com/llvm/llvm-project/pull/100156 >From 366b716e3a192265aed4a1328c49d0ffeef0166d Mon Sep 17 00:00:00 2001 From: Sergio Afonso Date: Tue, 23 Jul 2024 16:53:40 +0100 Subject: [PATCH] [MLIR][OpenMP][OMPIRBuilder] Add lowering support for omp.targe

[llvm-branch-commits] [llvm] [PowerPC] Add phony subregisters to cover the high half of the VSX registers. (#94628) (PR #101498)

2024-08-01 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-powerpc Author: Stefan Pintilie (stefanp-ibm) Changes On PowerPC there are 128 bit VSX registers. These registers are half overlapped with 64 bit floating point registers (FPR). The 64 bit half of the VXS register that does not overlap with the

[llvm-branch-commits] [llvm] [PowerPC] Add phony subregisters to cover the high half of the VSX registers. (#94628) (PR #101498)

2024-08-01 Thread Stefan Pintilie via llvm-branch-commits
https://github.com/stefanp-ibm milestoned https://github.com/llvm/llvm-project/pull/101498 ___ 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] [Serialization] Code cleanups and polish 83233 (PR #83237)

2024-08-01 Thread Ilya Biryukov via llvm-branch-commits
ilya-biryukov wrote: We've hit an error during testing: ```cpp In module '...stl_cc_library': .../src/libcxx/include/__memory/allocator.h:128:60: error: 'std::allocator>::deallocate' from module '...stl_cc_library./cxx17/vector' is not present in definition of 'std::allocator>' provided earlie

[llvm-branch-commits] [llvm] workflows: Fix libclc-tests (PR #101496)

2024-08-01 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-github-workflow Author: Tom Stellard (tstellar) Changes The old out-of-tree build configuration stopped working and in tree builds are supported now, so we should use the in tree configuration. The only downside is we can't run the tests any more, but

[llvm-branch-commits] [llvm] workflows: Fix libclc-tests (PR #101496)

2024-08-01 Thread Tom Stellard via llvm-branch-commits
tstellar wrote: This PR is for testing. The change will need to land in main first. https://github.com/llvm/llvm-project/pull/101496 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinf

[llvm-branch-commits] [llvm] workflows: Fix libclc-tests (PR #101496)

2024-08-01 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/101496 The old out-of-tree build configuration stopped working and in tree builds are supported now, so we should use the in tree configuration. The only downside is we can't run the tests any more, but at least we w

[llvm-branch-commits] [libcxx] release/19.x: [libc++] Increase atomic_ref's required alignment for small types (#99654) (PR #101492)

2024-08-01 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne approved this pull request. https://github.com/llvm/llvm-project/pull/101492 ___ 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] [libcxx] release/19.x: [libc++] Increase atomic_ref's required alignment for small types (#99654) (PR #101492)

2024-08-01 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/101492 ___ 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] [libcxx] release/19.x: [libc++] Increase atomic_ref's required alignment for small types (#99654) (PR #101492)

2024-08-01 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/101492 Backport 59ca618e3b7aec8c32e24d781bae436dc99b2727 Requested by: @ldionne >From 69f5a5c04b6ad8bbde9186e0dc1683f9a524d231 Mon Sep 17 00:00:00 2001 From: Damien L-G Date: Thu, 1 Aug 2024 10:39:27 -0400 Subject: [

[llvm-branch-commits] [clang] [llvm] release/19.x: [clang] Fix definition of layout-compatible to ignore empty classes (PR #101491)

2024-08-01 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-adt Author: Vlad Serebrennikov (Endilll) Changes Backport of #92103, as suggested by me and Aaron Ballman in https://github.com/llvm/llvm-project/pull/92103#discussion_r1699172578 and https://github.com/llvm/llvm-project/pull/92103#discussion_r169

[llvm-branch-commits] [clang] [llvm] release/19.x: [clang] Fix definition of layout-compatible to ignore empty classes (PR #101491)

2024-08-01 Thread Vlad Serebrennikov via llvm-branch-commits
https://github.com/Endilll edited https://github.com/llvm/llvm-project/pull/101491 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

  1   2   3   >