[llvm-branch-commits] [clang] release/19.x: [Clang][perf-training] Fix clean command in perf-helper.py (#118978) (PR #119051)

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

[llvm-branch-commits] [clang] release/19.x: [Clang][perf-training] Fix clean command in perf-helper.py (#118978) (PR #119051)

2024-12-06 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (llvmbot) Changes Backport 18af3fc1bf8855e1e166e64a9210ed07d610aa54 Requested by: @tstellar --- Full diff: https://github.com/llvm/llvm-project/pull/119051.diff 1 Files Affected: - (modified) clang/utils/perf-training/perf-helper.

[llvm-branch-commits] [clang] release/19.x: [Clang][perf-training] Fix clean command in perf-helper.py (#118978) (PR #119051)

2024-12-06 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/119051 ___ 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] release/19.x: [Clang][perf-training] Fix clean command in perf-helper.py (#118978) (PR #119051)

2024-12-06 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/119051 Backport 18af3fc1bf8855e1e166e64a9210ed07d610aa54 Requested by: @tstellar >From 0b1ed9168731f0bee35542988ec9867ebd3cfc47 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 6 Dec 2024 18:34:59 -0800 Subject

[llvm-branch-commits] [flang] [flang][cuda] Handle gpu.return in AbstractResult pass (PR #119035)

2024-12-06 Thread Zhen Wang via llvm-branch-commits
https://github.com/wangzpgi approved this pull request. https://github.com/llvm/llvm-project/pull/119035 ___ 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][cuda] Handle gpu.return in AbstractResult pass (PR #119035)

2024-12-06 Thread Valentin Clement バレンタイン クレメン via llvm-branch-commits
https://github.com/clementval created https://github.com/llvm/llvm-project/pull/119035 Process `gpu.return` in AbstractResult pass when the function is a `gpu.func`. >From 72a892909a7ce898423cea709f674956dc2121d1 Mon Sep 17 00:00:00 2001 From: Valentin Clement Date: Fri, 6 Dec 2024 13:42:06 -

[llvm-branch-commits] [clang] [flang] [lld] [llvm] [Flang] LLVM_ENABLE_RUNTIMES=flang-rt (PR #110217)

2024-12-06 Thread Michael Kruse via llvm-branch-commits
Meinersbur wrote: @h-vetinari I completed rebase and cleanup. Now would be a great time to have another look. https://github.com/llvm/llvm-project/pull/110217 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.o

[llvm-branch-commits] [flang] [flang][cuda] Handle gpu.return in AbstractResult pass (PR #119035)

2024-12-06 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-fir-hlfir Author: Valentin Clement (バレンタイン クレメン) (clementval) Changes Process `gpu.return` in AbstractResult pass when the function is a `gpu.func`. --- Full diff: https://github.com/llvm/llvm-project/pull/119035.diff 2 Files Affected: - (modi

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] fix false positive in lambda expr for return-const-ref-from-parameter (PR #118990)

2024-12-06 Thread Julian Schmidt via llvm-branch-commits
https://github.com/5chmidti approved this pull request. Nice catch, LGTM https://github.com/llvm/llvm-project/pull/118990 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branc

[llvm-branch-commits] [ubsan] Improve lowering of @llvm.allow.ubsan.check (PR #119013)

2024-12-06 Thread Kirill Stoimenov via llvm-branch-commits
https://github.com/kstoimenov approved this pull request. https://github.com/llvm/llvm-project/pull/119013 ___ 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] [ubsan] Improve lowering of @llvm.allow.ubsan.check (PR #119013)

2024-12-06 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Vitaly Buka (vitalybuka) Changes This fix the case, when single hot inlined callsite, prevent checks for all other. This helps to reduce number of removed checks up to 50% (deppedes on `cutoff-hot` value) . `ScalarOptimizerLateEPCallback`

[llvm-branch-commits] [ubsan] Improve lowering of @llvm.allow.ubsan.check (PR #119013)

2024-12-06 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/119013 This fix the case, when single hot inlined callsite, prevent checks for all other. This helps to reduce number of removed checks up to 50% (deppedes on `cutoff-hot` value) . `ScalarOptimizerLateEPCallback` w

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

2024-12-06 Thread via llvm-branch-commits
zeroomega wrote: Change b5bd1928c6d43bc525a4e3fb65d2c750d61e broke llvm's windows bots. See : https://lab.llvm.org/buildbot/#/builders/63/builds/2944 and this patch is the only commit in the blame list. I reverted this patch in 12bdeba76eef1c7adf004a280036a7fb690ba573. Please reland the c

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

2024-12-06 Thread Jonas Devlieghere via llvm-branch-commits
JDevlieghere wrote: This also broke the Darwin LLDB bots: https://ci.swift.org/view/all/job/llvm.org/view/LLDB/job/lldb-cmake/ https://ci.swift.org/view/all/job/llvm.org/view/LLDB/job/as-lldb-cmake/ Given they've been red for 15h and broke various other bots, can you please revert while you in

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

2024-12-06 Thread Leandro Lupori via llvm-branch-commits
luporl wrote: This also broke the build of https://lab.llvm.org/buildbot/#/builders/141/builds/4432. https://github.com/llvm/llvm-project/pull/83237 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] fix false positive in lambda expr for return-const-ref-from-parameter (PR #118990)

2024-12-06 Thread Congcong Cai via llvm-branch-commits
https://github.com/HerrCai0907 edited https://github.com/llvm/llvm-project/pull/118990 ___ 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-tools-extra] [clang-tidy] fix false positive in lambda expr for return-const-ref-from-parameter (PR #118990)

2024-12-06 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tidy Author: Congcong Cai (HerrCai0907) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/118990.diff 3 Files Affected: - (modified) clang-tools-extra/clang-tidy/bugprone/ReturnConstRefFromParameterCheck.cpp (+6-8) - (modifie

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] fix false positive in lambda expr for return-const-ref-from-parameter (PR #118990)

2024-12-06 Thread Congcong Cai via llvm-branch-commits
https://github.com/HerrCai0907 created https://github.com/llvm/llvm-project/pull/118990 None >From 2fb6e21f63a16b5bde5401a4e1cb68af1405a258 Mon Sep 17 00:00:00 2001 From: Congcong Cai Date: Fri, 6 Dec 2024 23:45:56 +0800 Subject: [PATCH] [clang-tidy] fix false positive in lambda expr for retu

[llvm-branch-commits] [clang] 0320d20 - Revert "[Clang] Deleting an incomplete enum type is not an error (#118455)"

2024-12-06 Thread via llvm-branch-commits
Author: cor3ntin Date: 2024-12-06T15:16:34+01:00 New Revision: 0320d20dbdcafec2a090006c9674f642e207db27 URL: https://github.com/llvm/llvm-project/commit/0320d20dbdcafec2a090006c9674f642e207db27 DIFF: https://github.com/llvm/llvm-project/commit/0320d20dbdcafec2a090006c9674f642e207db27.diff LOG:

[llvm-branch-commits] [llvm] [NFC] Remove adhoc definition of MDMapT in IRMover (PR #118626)

2024-12-06 Thread Artem Pianykh via llvm-branch-commits
artempyanykh wrote: Abandoned due to a change in #118622. https://github.com/llvm/llvm-project/pull/118626 ___ 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] Remove adhoc definition of MDMapT in IRMover (PR #118626)

2024-12-06 Thread Artem Pianykh via llvm-branch-commits
https://github.com/artempyanykh closed https://github.com/llvm/llvm-project/pull/118626 ___ 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-12-06 Thread Dmitry Vasilyev via llvm-branch-commits
slydiman wrote: [Commit b5bd192](https://github.com/llvm/llvm-project/commit/b5bd1928c6d43bc525a4e3fb65d2c750d61e) break buildbots https://lab.llvm.org/buildbot/#/builders/195/builds/1985 https://lab.llvm.org/staging/#/builders/197/builds/1161 https://github.com/llvm/llvm-project/pull/83

[llvm-branch-commits] [llvm] [Coro] Use DebugInfoCache to speed up cloning in CoroSplitPass (PR #118630)

2024-12-06 Thread Artem Pianykh via llvm-branch-commits
https://github.com/artempyanykh edited https://github.com/llvm/llvm-project/pull/118630 ___ 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] [Analysis] Add DebugInfoCache analysis (PR #118629)

2024-12-06 Thread Artem Pianykh via llvm-branch-commits
https://github.com/artempyanykh edited https://github.com/llvm/llvm-project/pull/118629 ___ 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][Utils] Extract CloneFunctionMetadataInto from CloneFunctionInto (PR #118623)

2024-12-06 Thread Artem Pianykh via llvm-branch-commits
https://github.com/artempyanykh edited https://github.com/llvm/llvm-project/pull/118623 ___ 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][Utils] Eliminate DISubprogram set from BuildDebugInfoMDMap (PR #118625)

2024-12-06 Thread Artem Pianykh via llvm-branch-commits
https://github.com/artempyanykh edited https://github.com/llvm/llvm-project/pull/118625 ___ 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][Utils] Extract BuildDebugInfoMDMap from CloneFunctionInto (PR #118622)

2024-12-06 Thread Artem Pianykh via llvm-branch-commits
https://github.com/artempyanykh edited https://github.com/llvm/llvm-project/pull/118622 ___ 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] [Coro] Prebuild a global debug info set and share it between all coroutine clones (PR #118628)

2024-12-06 Thread Artem Pianykh via llvm-branch-commits
https://github.com/artempyanykh edited https://github.com/llvm/llvm-project/pull/118628 ___ 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] [Utils] Identity map global debug info on first use in CloneFunction* (PR #118627)

2024-12-06 Thread Artem Pianykh via llvm-branch-commits
https://github.com/artempyanykh edited https://github.com/llvm/llvm-project/pull/118627 ___ 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][Utils] Extract CloneFunctionBodyInto from CloneFunctionInto (PR #118624)

2024-12-06 Thread Artem Pianykh via llvm-branch-commits
https://github.com/artempyanykh edited https://github.com/llvm/llvm-project/pull/118624 ___ 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][Utils] Extract BuildDebugInfoMDMap from CloneFunctionInto (PR #118622)

2024-12-06 Thread Artem Pianykh via llvm-branch-commits
@@ -79,14 +79,16 @@ struct ValueMapConfig { static mutex_type *getMutex(const ExtraDataT &/*Data*/) { return nullptr; } }; +/// This type stores Metadata. Used in ValueMap. +using MDMapT = DenseMap; artempyanykh wrote: @felipepiovezan good call! Let me just

[llvm-branch-commits] [clang] [flang] [lld] [llvm] [Flang] LLVM_ENABLE_RUNTIMES=flang-rt (PR #110217)

2024-12-06 Thread Michael Kruse via llvm-branch-commits
Meinersbur wrote: As @jeanPerier correctly pointed out to me, some buildbots would start failing with this patch, at least those running the Test-Suite using Flang will fail since the runtime is needed to correctly exectute applications, but also two builders that build the runtime out-of-tree

[llvm-branch-commits] [clang] [llvm] [TySan] A Type Sanitizer (Clang) (PR #76260)

2024-12-06 Thread Florian Hahn via llvm-branch-commits
@@ -1441,8 +1441,10 @@ collectSanitizerRuntimes(const ToolChain &TC, const ArgList &Args, if (SanArgs.needsScudoRt()) { SharedRuntimes.push_back("scudo_standalone"); } -if (SanArgs.needsTsanRt()) +if (SanArgs.needsTsanRt() && SanArgs.linkRuntimes()) -

[llvm-branch-commits] [clang] [llvm] [TySan] A Type Sanitizer (Clang) (PR #76260)

2024-12-06 Thread Florian Hahn via llvm-branch-commits
https://github.com/fhahn edited https://github.com/llvm/llvm-project/pull/76260 ___ 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] [TySan] A Type Sanitizer (Clang) (PR #76260)

2024-12-06 Thread Florian Hahn via llvm-branch-commits
@@ -1441,8 +1441,10 @@ collectSanitizerRuntimes(const ToolChain &TC, const ArgList &Args, if (SanArgs.needsScudoRt()) { SharedRuntimes.push_back("scudo_standalone"); } -if (SanArgs.needsTsanRt()) +if (SanArgs.needsTsanRt() && SanArgs.linkRuntimes())

[llvm-branch-commits] [clang] [llvm] [TySan] A Type Sanitizer (Clang) (PR #76260)

2024-12-06 Thread Florian Hahn via llvm-branch-commits
https://github.com/fhahn commented: > LGTM with comments addressed. (I haven't looked carefully at the non-clang > parts; this is just approval for the clang changes.) Thanks! Any chance you would be able to help with the review of the LLVM side as well? https://github.com/llvm/llvm-project/p

[llvm-branch-commits] [llvm] [CodeGen][PM] Initialize analyses with isAnalysis=true (PR #118779)

2024-12-06 Thread Akshat Oke via llvm-branch-commits
optimisan wrote: ### Merge activity * **Dec 6, 4:43 AM EST**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/118779). https://github.com/llvm/llvm-project/pull/118779 ___

[llvm-branch-commits] [llvm] [CodeGen][PM] Initialize analyses with isAnalysis=true (PR #118779)

2024-12-06 Thread Akshat Oke via llvm-branch-commits
https://github.com/optimisan updated https://github.com/llvm/llvm-project/pull/118779 >From d48e889915d463cc32f6c5d3e6ce788fb7f44cea Mon Sep 17 00:00:00 2001 From: Akshat Oke Date: Thu, 5 Dec 2024 10:05:30 + Subject: [PATCH 1/2] [CodeGen][PM] Initialize analyses with isAnalysis=true Analys

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

2024-12-06 Thread Ilya Biryukov via llvm-branch-commits
ilya-biryukov wrote: > So the meaning of stacked PR in this series of patches is pretty > questionable. So I feel it is better to merge these PRs into a single commit > so that it is easier to be cherry-picked and reverted in my experience +100, this is definitely the right call. ... and I wis

[llvm-branch-commits] [llvm] [CodeGen][PM] Initialize analyses with isAnalysis=true (PR #118779)

2024-12-06 Thread Akshat Oke via llvm-branch-commits
https://github.com/optimisan updated https://github.com/llvm/llvm-project/pull/118779 >From d48e889915d463cc32f6c5d3e6ce788fb7f44cea Mon Sep 17 00:00:00 2001 From: Akshat Oke Date: Thu, 5 Dec 2024 10:05:30 + Subject: [PATCH 1/2] [CodeGen][PM] Initialize analyses with isAnalysis=true Analys