[llvm-branch-commits] [llvm] AMDGPU: Handle legal v2bf16 atomicrmw fadd for gfx12 (PR #95930)

2024-06-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes Annoyingly gfx90a/940 support this for global/flat but not buffer. --- Full diff: https://github.com/llvm/llvm-project/pull/95930.diff 5 Files Affected: - (modified) llvm/lib/Target/AMDGPU/AMDGPU

[llvm-branch-commits] [flang] 13a0c13 - Revert "[flang] Add FLANG_PARALLEL_COMPILE_JOBS option (#95672)"

2024-06-18 Thread via llvm-branch-commits
Author: Tom Stellard Date: 2024-06-18T14:58:02-07:00 New Revision: 13a0c13519b356c004127cf23c79b57cd33fc969 URL: https://github.com/llvm/llvm-project/commit/13a0c13519b356c004127cf23c79b57cd33fc969 DIFF: https://github.com/llvm/llvm-project/commit/13a0c13519b356c004127cf23c79b57cd33fc969.diff

[llvm-branch-commits] [SPARC][IAS] Rework ASI tag matching in prep for `ParseForAllFeatures` (PR #96020)

2024-06-18 Thread via llvm-branch-commits
https://github.com/koachan created https://github.com/llvm/llvm-project/pull/96020 This changes the ASI tag matching at `parseASITag` to use a similar implementation to `parsePrefetchTag`. This introduces a slight regression to error messages, but is needed so we can enable `ParseForAllFeatures`

[llvm-branch-commits] [SPARC][IAS] Enable `ParseForAllFeatures` in `MatchOperandParserImpl` (PR #96021)

2024-06-18 Thread via llvm-branch-commits
https://github.com/koachan created https://github.com/llvm/llvm-project/pull/96021 This enables `ParseForAllFeatures` to report the correct error message when trying to assemble instructions not available in V8 mode. ___ llvm-branch-commits mailing

[llvm-branch-commits] [SPARC][IAS] Rework ASI tag matching in prep for `ParseForAllFeatures` (PR #96020)

2024-06-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-sparc Author: Koakuma (koachan) Changes This changes the ASI tag matching at `parseASITag` to use a similar implementation to `parsePrefetchTag`. This introduces a slight regression to error messages, but is needed so we can enable `ParseForAllFe

[llvm-branch-commits] [SPARC][IAS] Enable `ParseForAllFeatures` in `MatchOperandParserImpl` (PR #96021)

2024-06-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mc Author: Koakuma (koachan) Changes This enables `ParseForAllFeatures` to report the correct error message when trying to assemble instructions not available in V8 mode. --- Full diff: https://github.com/llvm/llvm-project/pull/96021.diff 3 Files Aff

[llvm-branch-commits] [SPARC][IAS] Enable `ParseForAllFeatures` in `MatchOperandParserImpl` (PR #96021)

2024-06-18 Thread via llvm-branch-commits
@@ -11,7 +11,7 @@ ! V9: unknown membar tag membar #BadTag -! V8: instruction requires a CPU feature not currently enabled +! V8: unexpected token ! V9: invalid membar mask number membar -127 koachan wrote: The

[llvm-branch-commits] [SPARC][IAS] Enable `ParseForAllFeatures` in `MatchOperandParserImpl` (PR #96021)

2024-06-18 Thread via llvm-branch-commits
@@ -657,22 +657,22 @@ ! V9: prefetcha [%i1+3968] %asi, #one_read! encoding: [0xc3,0xee,0x6f,0x80] prefetcha [ %i1 + 0xf80 ] %asi, #one_read koachan wrote: This is also suffering from the same issue as the membars, IAS doesn't seem to noti

[llvm-branch-commits] [clang] [clang] Finish implementation of P0522 (PR #96023)

2024-06-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules @llvm/pr-subscribers-clang Author: Matheus Izvekov (mizvekov) Changes This finishes the clang implementation of P0522, getting rid of the fallback to the old, pre-P0522 rules. Before this patch, when partial ordering template template par

[llvm-branch-commits] [clang] [clang] Finish implementation of P0522 (PR #96023)

2024-06-19 Thread via llvm-branch-commits
https://github.com/cor3ntin edited https://github.com/llvm/llvm-project/pull/96023 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [clang] Finish implementation of P0522 (PR #96023)

2024-06-19 Thread via llvm-branch-commits
https://github.com/cor3ntin commented: Thanks Matheus. I left a few nitpicky comments. The design looks good to me I think but it's not a trivial change so Ill want to review it more and have other people look at it too. https://github.com/llvm/llvm-project/pull/96023 __

[llvm-branch-commits] [clang] [clang] Finish implementation of P0522 (PR #96023)

2024-06-19 Thread via llvm-branch-commits
@@ -139,7 +139,7 @@ static TemplateDeductionResult DeduceTemplateArgumentsByTypeMatch( SmallVectorImpl &Deduced, unsigned TDF, bool PartialOrdering = false, bool DeducedFromArrayBound = false); -enum class PackFold { ParameterToArgument, ArgumentToParameter }; +enum c

[llvm-branch-commits] [clang] [clang] Finish implementation of P0522 (PR #96023)

2024-06-19 Thread via llvm-branch-commits
@@ -2513,49 +2545,76 @@ DeduceTemplateArguments(Sema &S, TemplateParameterList *TemplateParams, TemplateDeductionInfo &Info, SmallVectorImpl &Deduced, bool NumberOfArgumentsMustMatch, PackFold PackFold) {

[llvm-branch-commits] [clang] [clang] Finish implementation of P0522 (PR #96023)

2024-06-19 Thread via llvm-branch-commits
@@ -9934,6 +9935,9 @@ class Sema final : public SemaBase { /// We are instantiating a type alias template declaration. TypeAliasTemplateInstantiation, + + /// We are performing partial ordering for template template parameters. + PartialOrderTTP,

[llvm-branch-commits] [clang] [clang] Finish implementation of P0522 (PR #96023)

2024-06-19 Thread via llvm-branch-commits
@@ -3351,14 +3416,18 @@ Sema::DeduceTemplateArgumentsFromType(TemplateDecl *TD, QualType FromType, if (Inst.isInvalid()) return TemplateDeductionResult::InstantiationDepth; - if (Trap.hasErrorOccurred()) -return TemplateDeductionResult::SubstitutionFailure; - Te

[llvm-branch-commits] [clang] [clang] Finish implementation of P0522 (PR #96023)

2024-06-19 Thread via llvm-branch-commits
@@ -6369,27 +6451,88 @@ bool Sema::isTemplateTemplateParameterAtLeastAsSpecializedAs( // be inverted between Ps and As. On non-deduced context, matching needs to // happen both ways, according to [temp.arg.template]p3, but this is // currently implemented as a spec

[llvm-branch-commits] [clang] [clang] Finish implementation of P0522 (PR #96023)

2024-06-19 Thread via llvm-branch-commits
@@ -3186,20 +3239,36 @@ static TemplateDeductionResult FinishTemplateArgumentDeduction( // Check that we produced the correct argument list. TemplateParameterList *TemplateParams = Template->getTemplateParameters(); + auto notSame = [&](unsigned I, const TemplateArgument

[llvm-branch-commits] [clang] [clang] Finish implementation of P0522 (PR #96023)

2024-06-19 Thread via llvm-branch-commits
@@ -6369,27 +6451,88 @@ bool Sema::isTemplateTemplateParameterAtLeastAsSpecializedAs( // be inverted between Ps and As. On non-deduced context, matching needs to // happen both ways, according to [temp.arg.template]p3, but this is // currently implemented as a spec

[llvm-branch-commits] [clang] [clang] Finish implementation of P0522 (PR #96023)

2024-06-19 Thread via llvm-branch-commits
@@ -2513,49 +2545,76 @@ DeduceTemplateArguments(Sema &S, TemplateParameterList *TemplateParams, TemplateDeductionInfo &Info, SmallVectorImpl &Deduced, bool NumberOfArgumentsMustMatch, PackFold PackFold) {

[llvm-branch-commits] [clang] [clang] Finish implementation of P0522 (PR #96023)

2024-06-19 Thread via llvm-branch-commits
@@ -2513,49 +2545,76 @@ DeduceTemplateArguments(Sema &S, TemplateParameterList *TemplateParams, TemplateDeductionInfo &Info, SmallVectorImpl &Deduced, bool NumberOfArgumentsMustMatch, PackFold PackFold) {

[llvm-branch-commits] [clang] [clang] Finish implementation of P0522 (PR #96023)

2024-06-19 Thread via llvm-branch-commits
@@ -3284,16 +3345,20 @@ DeduceTemplateArguments(Sema &S, T *Partial, if (Inst.isInvalid()) return TemplateDeductionResult::InstantiationDepth; - if (Trap.hasErrorOccurred()) -return TemplateDeductionResult::SubstitutionFailure; - TemplateDeductionResult Result;

[llvm-branch-commits] [clang] [clang] Finish implementation of P0522 (PR #96023)

2024-06-19 Thread via llvm-branch-commits
@@ -6038,14 +6107,23 @@ static bool isAtLeastAsSpecializedAs(Sema &S, QualType T1, QualType T2, return false; const auto *TST1 = cast(T1); - bool AtLeastAsSpecialized; + + Sema::SFINAETrap Trap(S); + + TemplateDeductionResult Result; S.runWithSufficientStackSpace(

[llvm-branch-commits] [clang] [clang] Finish implementation of P0522 (PR #96023)

2024-06-19 Thread via llvm-branch-commits
@@ -8513,64 +8513,46 @@ bool Sema::CheckTemplateTemplateArgument(TemplateTemplateParmDecl *Param, << Template; } + if (!getLangOpts().RelaxedTemplateTemplateArgs) +return !TemplateParameterListsAreEqual( +Template->getTemplateParameters(), Params, /*Compl

[llvm-branch-commits] [libcxx] Add release note for #95264 (PR #96116)

2024-06-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libcxx Author: Louis Dionne (ldionne) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/96116.diff 1 Files Affected: - (modified) libcxx/docs/ReleaseNotes/18.rst (+9) ``diff diff --git a/libcxx/docs/ReleaseNotes/18.rst b/li

[llvm-branch-commits] [nsan] Fix style issue (PR #96142)

2024-06-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Fangrui Song (MaskRay) Changes The initial check-in of compiler-rt/lib/nsan #94322 has a lot of style issues. Fix them before the history becomes more useful. --- Patch is 54.71 KiB, truncated to 20.00 KiB below, full ver

[llvm-branch-commits] [llvm] [AMDGPU] Codegen support for constrained multi-dword sloads (PR #96163)

2024-06-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Christudasan Devadasan (cdevadas) Changes For targets that support xnack replay feature (gfx8+), the multi-dword scalar loads shouldn't clobber any register that holds the src address. The constraint version of the scalar loads hav

[llvm-branch-commits] [llvm] [AMDGPU][SILoadStoreOptimizer] Merge constrained sloads (PR #96162)

2024-06-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu @llvm/pr-subscribers-llvm-globalisel Author: Christudasan Devadasan (cdevadas) Changes Consider the constrained multi-dword loads while merging individual loads to a single multi-dword load. --- Patch is 1023.60 KiB, truncated to 20.00 K

[llvm-branch-commits] [mlir] Users/hsiangkai/winograd ops transform (PR #96177)

2024-06-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir Author: Hsiangkai Wang (Hsiangkai) Changes --- Patch is 57.69 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/96177.diff 10 Files Affected: - (modified) mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.

[llvm-branch-commits] [mlir] [mlir][linalg] Decompose winograd operators (PR #96178)

2024-06-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir Author: Hsiangkai Wang (Hsiangkai) Changes Convert Linalg winograd_filter_transform, winograd_input_transform, and winograd_output_transform into nested loops with matrix multiplication with constant transform matrices. Support several configuratio

[llvm-branch-commits] [mlir] [mlir][linalg] Decompose winograd operators (PR #96178)

2024-06-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-linalg Author: Hsiangkai Wang (Hsiangkai) Changes Convert Linalg winograd_filter_transform, winograd_input_transform, and winograd_output_transform into nested loops with matrix multiplication with constant transform matrices. Support several confi

[llvm-branch-commits] [mlir] [mlir][linalg] Implement TilingInterface for winograd operators (PR #96179)

2024-06-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir Author: Hsiangkai Wang (Hsiangkai) Changes In order to support arbitrary size input data of conv2d, implement TilingInterface for winograd operators. Before converting winograd operators into nested loops with matrix multiply, tile the input of conv

[llvm-branch-commits] [mlir] [mlir][linalg] Add transform operator for Winograd Conv2D algorithm (PR #96182)

2024-06-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-linalg @llvm/pr-subscribers-mlir Author: Hsiangkai Wang (Hsiangkai) Changes Add a transform operator structured.winograd_conv2d to convert linalg.conv_2d_nhwc_fhwc to Linalg winograd operators. --- Patch is 57.69 KiB, truncated to 20.00 KiB below

[llvm-branch-commits] [mlir] [mlir][linalg] Decompose winograd operators (PR #96183)

2024-06-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir @llvm/pr-subscribers-mlir-linalg Author: Hsiangkai Wang (Hsiangkai) Changes Convert Linalg winograd_filter_transform, winograd_input_transform, and winograd_output_transform into nested loops with matrix multiplication with constant transform matric

[llvm-branch-commits] [mlir] [mlir][linalg] Implement TilingInterface for winograd operators (PR #96184)

2024-06-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-linalg Author: Hsiangkai Wang (Hsiangkai) Changes In order to support arbitrary size input data of conv2d, implement TilingInterface for winograd operators. Before converting winograd operators into nested loops with matrix multiply, tile the inpu

[llvm-branch-commits] [mlir] [mlir][linalg] Implement TilingInterface for winograd operators (PR #96184)

2024-06-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir Author: Hsiangkai Wang (Hsiangkai) Changes In order to support arbitrary size input data of conv2d, implement TilingInterface for winograd operators. Before converting winograd operators into nested loops with matrix multiply, tile the input of co

[llvm-branch-commits] [mlir] [mlir][Transforms] Dialect conversion: Simplify handling of dropped arguments (PR #96207)

2024-06-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir @llvm/pr-subscribers-mlir-core Author: Matthias Springer (matthias-springer) Changes This commit simplifies the handling of dropped arguments and updates some dialect conversion documentation that is outdated. When converting a block signature, a

[llvm-branch-commits] [clang] 508bc2e - Revert "[ubsan] Display correct runtime messages for negative _BitInt (#93612)"

2024-06-20 Thread via llvm-branch-commits
Author: earnol Date: 2024-06-20T17:39:06-04:00 New Revision: 508bc2e44b59c26955e9b1226f84b4ff2cc05fee URL: https://github.com/llvm/llvm-project/commit/508bc2e44b59c26955e9b1226f84b4ff2cc05fee DIFF: https://github.com/llvm/llvm-project/commit/508bc2e44b59c26955e9b1226f84b4ff2cc05fee.diff LOG: R

[llvm-branch-commits] [compiler-rt] 4912d94 - Revert "mmapForContinuousMode: Align Linux's impl to __APPLE__'s more. NFC. (…"

2024-06-20 Thread via llvm-branch-commits
Author: NAKAMURA Takumi Date: 2024-06-21T07:51:40+09:00 New Revision: 4912d941c1ead2299cbccee91aabe317a64b7c8a URL: https://github.com/llvm/llvm-project/commit/4912d941c1ead2299cbccee91aabe317a64b7c8a DIFF: https://github.com/llvm/llvm-project/commit/4912d941c1ead2299cbccee91aabe317a64b7c8a.dif

[llvm-branch-commits] [lldb] b9af881 - Revert "[lldb/crashlog] Make interactive mode the new default (#94575)"

2024-06-20 Thread via llvm-branch-commits
Author: Med Ismail Bennani Date: 2024-06-20T18:19:26-07:00 New Revision: b9af881866b3702be5d5bf55f694d4eb051e2872 URL: https://github.com/llvm/llvm-project/commit/b9af881866b3702be5d5bf55f694d4eb051e2872 DIFF: https://github.com/llvm/llvm-project/commit/b9af881866b3702be5d5bf55f694d4eb051e2872.

[llvm-branch-commits] [clang] 03921b9 - [serialization] No transitive type change (#92511)

2024-06-20 Thread via llvm-branch-commits
Author: Chuanqi Xu Date: 2024-06-21T09:21:40+08:00 New Revision: 03921b979d67657bfc9cf8240add2484cc4df6a7 URL: https://github.com/llvm/llvm-project/commit/03921b979d67657bfc9cf8240add2484cc4df6a7 DIFF: https://github.com/llvm/llvm-project/commit/03921b979d67657bfc9cf8240add2484cc4df6a7.diff LO

[llvm-branch-commits] [clang] 5fbb65e - Merge branch 'main' into revert-94575-crashlog-default-interactive-mode

2024-06-20 Thread via llvm-branch-commits
Author: Med Ismail Bennani Date: 2024-06-20T18:23:18-07:00 New Revision: 5fbb65ed892418ef52fb9903b91302210ece8ce9 URL: https://github.com/llvm/llvm-project/commit/5fbb65ed892418ef52fb9903b91302210ece8ce9 DIFF: https://github.com/llvm/llvm-project/commit/5fbb65ed892418ef52fb9903b91302210ece8ce9.

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

2024-06-20 Thread via llvm-branch-commits
https://github.com/agozillon created https://github.com/llvm/llvm-project/pull/96265 This is one of 3 PRs in a PR stack that aims to add support for explicit mapping of allocatable members in derived types. The primary changes in this PR are the OpenMPToLLVMIRTranslation.cpp changes, which are

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

2024-06-20 Thread via llvm-branch-commits
https://github.com/agozillon created https://github.com/llvm/llvm-project/pull/96266 This PR is one of 3 in a PR stack, this is the primary change set which seeks to extend the current derived type explicit member mapping support to handle descriptor member mapping at arbitrary levels of nesting

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

2024-06-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir @llvm/pr-subscribers-mlir-openmp Author: None (agozillon) Changes This is one of 3 PRs in a PR stack that aims to add support for explicit mapping of allocatable members in derived types. The primary changes in this PR are the OpenMPToLLVMIRTransl

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

2024-06-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-openmp Author: None (agozillon) Changes This PR is one of 3 in a PR stack, this is the primary change set which seeks to extend the current derived type explicit member mapping support to handle descriptor member mapping at arbitrary levels of nest

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

2024-06-20 Thread via llvm-branch-commits
agozillon wrote: This is the top level PR of a 3 PR stack, the other PRs can be found here: https://github.com/llvm/llvm-project/pull/96264 https://github.com/llvm/llvm-project/pull/96265 they're mostly tests, with some minor changes to the OpenMPToLLVMIRTranslation lowering, this PR has the m

[llvm-branch-commits] [lld] [llvm] release/18.x: [lld] Fix -ObjC load behavior with LTO (#92162) (PR #92478)

2024-06-20 Thread via llvm-branch-commits
https://github.com/AtariDreams closed https://github.com/llvm/llvm-project/pull/92478 ___ 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] [Hashing] Use a non-deterministic seed (PR #96282)

2024-06-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-adt Author: Fangrui Song (MaskRay) Changes Hashing.h provides hash_value/hash_combine/hash_combine_range, which are primarily used by * `DenseMap` * `FoldingSetNodeIDRef::ComputeHash` (will be fixed by #96136) Users shouldn't rely on

[llvm-branch-commits] [Hashing] Use a non-deterministic seed (PR #96282)

2024-06-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-support Author: Fangrui Song (MaskRay) Changes Hashing.h provides hash_value/hash_combine/hash_combine_range, which are primarily used by * `DenseMap` * `FoldingSetNodeIDRef::ComputeHash` (will be fixed by #96136) Users shouldn't rel

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

2024-06-21 Thread via llvm-branch-commits
agozillon wrote: Hi, I believe in this case it is at the point of being minimal, I could reduce it to 1 of the 4 test cases if you wish keeping the most complicated or if you have any other suggestions on how to reduce it I would be more than happy to adjust

[llvm-branch-commits] [SPARC][IAS] Rework ASI tag matching in prep for `ParseForAllFeatures` (PR #96020)

2024-06-21 Thread via llvm-branch-commits
@@ -1085,13 +1085,24 @@ ParseStatus SparcAsmParser::parseASITag(OperandVector &Operands) { SMLoc E = Parser.getTok().getEndLoc(); int64_t ASIVal = 0; - if (is64Bit() && (getLexer().getKind() == AsmToken::Hash)) { + switch (getLexer().getKind()) { + case AsmToken::LPare

[llvm-branch-commits] [mlir] [mlir][Transforms][NFC] Dialect Conversion: Move argument materialization logic (PR #96329)

2024-06-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir Author: Matthias Springer (matthias-springer) Changes This commit moves the argument materialization logic from `legalizeConvertedArgumentTypes` to `legalizeUnresolvedMaterializations`. Before this change: - Argument materializations were created

[llvm-branch-commits] [mlir] [mlir][Transforms][NFC] Dialect Conversion: Move argument materialization logic (PR #96329)

2024-06-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-core Author: Matthias Springer (matthias-springer) Changes This commit moves the argument materialization logic from `legalizeConvertedArgumentTypes` to `legalizeUnresolvedMaterializations`. Before this change: - Argument materializations were cre

[llvm-branch-commits] [clang-tools-extra] d907514 - Revert "[clang-doc] Add --asset option to clang-doc (#94717)"

2024-06-21 Thread via llvm-branch-commits
Author: Paul Kirth Date: 2024-06-21T13:17:41-07:00 New Revision: d9075144100406eed753f1b7ca3df933a596bb3a URL: https://github.com/llvm/llvm-project/commit/d9075144100406eed753f1b7ca3df933a596bb3a DIFF: https://github.com/llvm/llvm-project/commit/d9075144100406eed753f1b7ca3df933a596bb3a.diff LO

[llvm-branch-commits] [llvm] [BOLT] Hash-based function matching (PR #95821)

2024-06-21 Thread via llvm-branch-commits
@@ -374,15 +393,34 @@ Error YAMLProfileReader::readProfile(BinaryContext &BC) { // the profile. Function.setExecutionCount(BinaryFunction::COUNT_NO_PROFILE); -// Recompute hash once per function. -if (!opts::IgnoreHash) - Function.computeHash(YamlBP.Header

[llvm-branch-commits] [flang] 2a4add4 - Revert "[flang] Fix execute_command_line cmdstat is not set when error occurs…"

2024-06-21 Thread via llvm-branch-commits
Author: Kiran Chandramohan Date: 2024-06-21T23:45:46+01:00 New Revision: 2a4add4de4d882fbf3e9d75b2a6a7609687a7890 URL: https://github.com/llvm/llvm-project/commit/2a4add4de4d882fbf3e9d75b2a6a7609687a7890 DIFF: https://github.com/llvm/llvm-project/commit/2a4add4de4d882fbf3e9d75b2a6a7609687a7890.

[llvm-branch-commits] [SPARC][IAS] Rework ASI tag matching in prep for `ParseForAllFeatures` (PR #96020)

2024-06-21 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/96020 ___ 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] [SPARC][IAS] Rework ASI tag matching in prep for `ParseForAllFeatures` (PR #96020)

2024-06-21 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/96020 ___ 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] [AArch64][PAC] Reduce the size of synchronous CFI (PR #96377)

2024-06-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: Igor Kudrin (igorkudrin) Changes For synchronous unwind tables, the call frame information can be slightly reduced by bundling the `.cfi_negate_ra_state` instruction with other CFI instructions in the prolog, saving 1 byte per f

[llvm-branch-commits] [clang] b9ceb93 - Revert "[clang-format] Don't count template template parameter as declaration…"

2024-06-22 Thread via llvm-branch-commits
Author: Mehdi Amini Date: 2024-06-22T14:18:31+02:00 New Revision: b9ceb93bc8d7fe75365f0d9002ed8b48a0884c85 URL: https://github.com/llvm/llvm-project/commit/b9ceb93bc8d7fe75365f0d9002ed8b48a0884c85 DIFF: https://github.com/llvm/llvm-project/commit/b9ceb93bc8d7fe75365f0d9002ed8b48a0884c85.diff L

[llvm-branch-commits] [mlir] [mlir][Conversion] `FuncToLLVM`: Simplify bare-pointer handling (PR #96393)

2024-06-22 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir @llvm/pr-subscribers-mlir-gpu Author: Matthias Springer (matthias-springer) Changes Before this commit, there used to be a workaround in the `func.func`/`gpu.func` op lowering when the bare-pointer calling convention is enabled. This workaround "p

[llvm-branch-commits] [mlir] [mlir][Conversion] `FuncToLLVM`: Simplify bare-pointer handling (PR #96393)

2024-06-22 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-llvm Author: Matthias Springer (matthias-springer) Changes Before this commit, there used to be a workaround in the `func.func`/`gpu.func` op lowering when the bare-pointer calling convention is enabled. This workaround "patched up" the argument m

[llvm-branch-commits] [llvm] AMDGPU: Add a subtarget feature for fine-grained remote memory support (PR #96442)

2024-06-23 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes Atomic access to fine-grained remote memory does not work on all subtargets. Add a feature for targets where this is expected to work. --- Full diff: https://github.com/llvm/llvm-project/pull/96442.

[llvm-branch-commits] [llvm] AMDGPU: Add subtarget feature for global atomic fadd denormal support (PR #96443)

2024-06-23 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes Not sure what the behavior for gfx90a is. The SPG says it always flushes. The instruction documentation says it does not. --- Full diff: https://github.com/llvm/llvm-project/pull/96443.diff 2 File

[llvm-branch-commits] [llvm] AMDGPU: Add subtarget feature for memory atomic fadd f64 (PR #96444)

2024-06-23 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/96444.diff 3 Files Affected: - (modified) llvm/lib/Target/AMDGPU/AMDGPU.td (+9-1) - (modified) llvm/lib/Target/AMDGPU/GCNSubtarget.h (+7

[llvm-branch-commits] [compiler-rt] [TySan] Improved compatability for tests (PR #96507)

2024-06-24 Thread via llvm-branch-commits
https://github.com/gbMattN created https://github.com/llvm/llvm-project/pull/96507 All the violation tests failed when running on my machine. By changing some check lines to regular expressions, we can account for file locality, and hardware specific type differences. There was also an include

[llvm-branch-commits] [compiler-rt] [TySan] Improved compatability for tests (PR #96507)

2024-06-24 Thread via llvm-branch-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it

[llvm-branch-commits] [compiler-rt] [TySan] Improved compatability for tests (PR #96507)

2024-06-24 Thread via llvm-branch-commits
gbMattN wrote: @fhahn (Sorry for the ping, I can't manually add reviewers yet) https://github.com/llvm/llvm-project/pull/96507 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-

[llvm-branch-commits] [compiler-rt] [TySan] Improved compatability for tests (PR #96507)

2024-06-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: None (gbMattN) Changes All the violation tests failed when running on my machine. By changing some check lines to regular expressions, we can account for file locality, and hardware specific type differences. There was als

[llvm-branch-commits] [compiler-rt] [TySan] Improved compatability for tests (PR #96507)

2024-06-24 Thread via llvm-branch-commits
https://github.com/gbMattN edited https://github.com/llvm/llvm-project/pull/96507 ___ 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][misexpect] Enable diagnostics for profitable llvm.expect annotations (PR #96523)

2024-06-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms @llvm/pr-subscribers-pgo Author: Paul Kirth (ilovepi) Changes Issue #56502 describes an enhancement related to the use of llvm.expect. The request is for a diagnostic mode that can identify branches that would benefit from the use of llvm

[llvm-branch-commits] [misexpect] Support diagnostics from frontend profile data (PR #96524)

2024-06-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-pgo @llvm/pr-subscribers-llvm-transforms Author: Paul Kirth (ilovepi) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/96524.diff 3 Files Affected: - (modified) llvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp (+18) - (modified)

[llvm-branch-commits] [clang][misexpect] Add support to clang for profitable annotation diagnostics (PR #96525)

2024-06-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms @llvm/pr-subscribers-clang-driver Author: Paul Kirth (ilovepi) Changes Add basic plumbing to clang so that diagnostics can be surfaced to users. --- Full diff: https://github.com/llvm/llvm-project/pull/96525.diff 9 Files Affected: -

[llvm-branch-commits] [sanitizer] Rename DEFINE_REAL_PTHREAD_FUNCTIONS (PR #96527)

2024-06-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-pgo Author: Vitaly Buka (vitalybuka) Changes We use REAL() calls in interceptors, but DEFINE_REAL_PTHREAD_FUNCTIONS has nothing to do with them and only used for internal maintenance threads. --- Full diff: https://github.com/llvm/llvm-project/pull/965

[llvm-branch-commits] [flang] 0f6f6dd - Revert "[Flang][Driver] Add -print-resource-dir command line flag to emit Fla…"

2024-06-24 Thread via llvm-branch-commits
Author: David Truby Date: 2024-06-24T21:53:39+01:00 New Revision: 0f6f6ddbc0d84d2df23df8c8a771ace3c0dca988 URL: https://github.com/llvm/llvm-project/commit/0f6f6ddbc0d84d2df23df8c8a771ace3c0dca988 DIFF: https://github.com/llvm/llvm-project/commit/0f6f6ddbc0d84d2df23df8c8a771ace3c0dca988.diff L

[llvm-branch-commits] [BOLT][NFC] Move opts::Lite to CommandLineOpts.cpp (PR #96571)

2024-06-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-bolt Author: shaw young (shawbyoung) Changes Test Plan: n/a --- Full diff: https://github.com/llvm/llvm-project/pull/96571.diff 2 Files Affected: - (modified) bolt/lib/Rewrite/RewriteInstance.cpp (-3) - (modified) bolt/lib/Utils/CommandLineOpts.c

[llvm-branch-commits] [nfc][tsan] Better name for locking functions (PR #96598)

2024-06-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) Changes These functions used only for `fork`. --- Full diff: https://github.com/llvm/llvm-project/pull/96598.diff 4 Files Affected: - (modified) compiler-rt/lib/asan/asan_interceptors.cpp (+1-1)

[llvm-branch-commits] [tsan] Test `__tsan_test_only_on_fork` only on Mac (PR #96597)

2024-06-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) Changes According to https://reviews.llvm.org/D114250 this was to handle Mac specific issue, however the test is Linux only. The test effectively prevents to lock main allocator on fork, but we do t

[llvm-branch-commits] [nfc][tsan] Clang format includes (PR #96599)

2024-06-24 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/96599.diff 1 Files Affected: - (modified) compiler-rt/lib/tsan/rtl/tsan_mman.cpp (+4-3) ``diff diff --git a/compiler-r

[llvm-branch-commits] [tsan] Lock/Unlock allocator and stacks on fork (PR #96600)

2024-06-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) Changes We do that for other Sanitizers, and we should do the same for TSAN. There are know deadlocks reports here. --- Full diff: https://github.com/llvm/llvm-project/pull/96600.diff 2 Files Aff

[llvm-branch-commits] [llvm] [SPARC][IAS] Rework ASI/Prefetch tag matching in prep for `ParseForAllFeatures` (PR #96020)

2024-06-25 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/96020 >From d09920c3b70d2893fd67cd2fb1c0c58a4da13fa2 Mon Sep 17 00:00:00 2001 From: Koakuma Date: Tue, 25 Jun 2024 23:52:44 +0700 Subject: [PATCH] Apply changes from review comments Created using spr 1.3.5 --- .../Ta

[llvm-branch-commits] [llvm] [SPARC][IAS] Rework ASI/Prefetch tag matching in prep for `ParseForAllFeatures` (PR #96020)

2024-06-25 Thread via llvm-branch-commits
https://github.com/koachan edited https://github.com/llvm/llvm-project/pull/96020 ___ 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] b07dae1 - Revert "[flang] Add basic -mtune support (#95043)"

2024-06-25 Thread via llvm-branch-commits
Author: Tarun Prabhu Date: 2024-06-25T12:56:50-06:00 New Revision: b07dae1f1b758e9f55667dac4db38c78bd609656 URL: https://github.com/llvm/llvm-project/commit/b07dae1f1b758e9f55667dac4db38c78bd609656 DIFF: https://github.com/llvm/llvm-project/commit/b07dae1f1b758e9f55667dac4db38c78bd609656.diff

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

2024-06-25 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-06-25 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] [Flang][OpenMP] Derived type explicit allocatable member mapping (PR #96266)

2024-06-25 Thread via llvm-branch-commits
https://github.com/agozillon updated https://github.com/llvm/llvm-project/pull/96266 ___ 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][OpenMP] Derived type explicit allocatable member mapping (PR #96266)

2024-06-25 Thread via llvm-branch-commits
https://github.com/agozillon updated https://github.com/llvm/llvm-project/pull/96266 ___ 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][OpenMP] Derived type explicit allocatable member mapping (PR #96266)

2024-06-25 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] [llvm] AMDGPU: Remove ds_fmin/ds_fmax intrinsics (PR #96739)

2024-06-26 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes These have been replaced with atomicrmw. --- Full diff: https://github.com/llvm/llvm-project/pull/96739.diff 9 Files Affected: - (modified) llvm/docs/ReleaseNotes.rst (+5) - (modified) llvm/incl

[llvm-branch-commits] [llvm] AMDGPU: Handle remote/fine-grained memory in atomicrmw fmin/fmax lowering (PR #96759)

2024-06-26 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes Consider the new atomic metadata when choosing to expand as cmpxchg instead. --- Patch is 1.01 MiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/96759.diff

[llvm-branch-commits] [llvm] AMDGPU: Handle new atomicrmw metadata for fadd case (PR #96760)

2024-06-26 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes This is the most complex atomicrmw support case. Note we don't have accurate remarks for all of the cases, which I'm planning on fixing in a later change with more precise wording. Continue respecti

[llvm-branch-commits] [clang] [Clang] Extend lifetime bound analysis to support assignments (PR #96475)

2024-06-26 Thread via llvm-branch-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff 2b5d1fb889fca7287858db0791bfecc1465f23e1 43ffbc27fe7d128586b54dbd33fd676532233032 --e

[llvm-branch-commits] [clang] d1ed32e - Revert "[clang][dataflow] Teach `AnalysisASTVisitor` that `typeid()` can be e…"

2024-06-26 Thread via llvm-branch-commits
Author: martinboehme Date: 2024-06-26T15:40:06+02:00 New Revision: d1ed32e5cb1cb43acf2d9085960ff37c3fe6b09b URL: https://github.com/llvm/llvm-project/commit/d1ed32e5cb1cb43acf2d9085960ff37c3fe6b09b DIFF: https://github.com/llvm/llvm-project/commit/d1ed32e5cb1cb43acf2d9085960ff37c3fe6b09b.diff

[llvm-branch-commits] [llvm] ce1e4ad - Revert "[GlobalISel] Add support for lowering byref attribute"

2024-06-26 Thread via llvm-branch-commits
Author: Thorsten Schütt Date: 2024-06-26T17:34:33+02:00 New Revision: ce1e4ade530a75921dada55f1211c85343c98d42 URL: https://github.com/llvm/llvm-project/commit/ce1e4ade530a75921dada55f1211c85343c98d42 DIFF: https://github.com/llvm/llvm-project/commit/ce1e4ade530a75921dada55f1211c85343c98d42.dif

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

2024-06-26 Thread via llvm-branch-commits
agozillon wrote: A small ping on this PR stack for some reviewer attention if at all possible please, it would be greatly appreciated! Thank you very much ahead of time :-) https://github.com/llvm/llvm-project/pull/96266 ___ llvm-branch-commits mailin

[llvm-branch-commits] [llvm] 00dcd9a - Revert "[ADT] Always use 32-bit size type for SmallVector with 16-bit element…"

2024-06-26 Thread via llvm-branch-commits
Author: Chelsea Cassanova Date: 2024-06-26T15:21:36-07:00 New Revision: 00dcd9a85ca77ee5e19fa90353b8bab361de983e URL: https://github.com/llvm/llvm-project/commit/00dcd9a85ca77ee5e19fa90353b8bab361de983e DIFF: https://github.com/llvm/llvm-project/commit/00dcd9a85ca77ee5e19fa90353b8bab361de983e.d

[llvm-branch-commits] [libcxx] 379cd11 - Revert "[libc++] Use _If for conditional_t (#96193)"

2024-06-26 Thread via llvm-branch-commits
Author: James Y Knight Date: 2024-06-26T23:57:04-04:00 New Revision: 379cd1193a8453850f0c2e12c005160d7535b373 URL: https://github.com/llvm/llvm-project/commit/379cd1193a8453850f0c2e12c005160d7535b373 DIFF: https://github.com/llvm/llvm-project/commit/379cd1193a8453850f0c2e12c005160d7535b373.diff

[llvm-branch-commits] [llvm] 5b2feee - Revert "[CodeGen] Introduce `MachineDomTreeUpdater` (#95369)"

2024-06-26 Thread via llvm-branch-commits
Author: paperchalice Date: 2024-06-27T12:30:50+08:00 New Revision: 5b2feeef6364981528c1cf083bf8d952f7104b02 URL: https://github.com/llvm/llvm-project/commit/5b2feeef6364981528c1cf083bf8d952f7104b02 DIFF: https://github.com/llvm/llvm-project/commit/5b2feeef6364981528c1cf083bf8d952f7104b02.diff

[llvm-branch-commits] [llvm] 5a5ab74 - Revert "[CodeGen][NewPM] Port machine-branch-prob to new pass manager (#96389)"

2024-06-26 Thread via llvm-branch-commits
Author: paperchalice Date: 2024-06-27T14:55:50+08:00 New Revision: 5a5ab746879bf0d7248e23978e56849e96ab67e8 URL: https://github.com/llvm/llvm-project/commit/5a5ab746879bf0d7248e23978e56849e96ab67e8 DIFF: https://github.com/llvm/llvm-project/commit/5a5ab746879bf0d7248e23978e56849e96ab67e8.diff

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

2024-06-27 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-globalisel Author: Matt Arsenault (arsenm) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/96873.diff 4 Files Affected: - (modified) clang/lib/CodeGen/CGBuiltin.cpp (+6-14) - (modified) clang/test/CodeGenOpenCL/builtins-fp-ato

<    1   2   3   4   5   6   7   8   9   10   >