[llvm-branch-commits] [llvm] release/20.x: [RelLookupTableConverter] Drop unnamed_addr for GVs in entries to avoid generating GOTPCREL relocations (#146068) (PR #146191)

2025-07-03 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/146191 ___ 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/20.x: Backport [LLD][COFF] Disallow importing DllMain from import libraries (#146610) (PR #146699)

2025-07-03 Thread Nikita Popov via llvm-branch-commits
@@ -313,6 +313,7 @@ struct Configuration { bool warnDebugInfoUnusable = true; bool warnLongSectionNames = true; bool warnStdcallFixup = true; + bool warnExportedDllMain = true; nikic wrote: This is an ABI break. https://github.com/llvm/llvm-project/pul

[llvm-branch-commits] [llvm] [BOLT][NFC] Update nfc-check-setup.py guidance (PR #146659)

2025-07-03 Thread Paschalis Mpeis via llvm-branch-commits
@@ -156,9 +158,8 @@ def main(): os.replace(bolt_path, f"{bolt_path}.old") print( -f"Build directory {args.build_dir} is ready to run BOLT tests, e.g.\n" -"\tbin/llvm-lit -sv tools/bolt/test\nor\n" -"\tbin/llvm-lit -sv tools/bolttests" +f

[llvm-branch-commits] [llvm] [BOLT] Improve exception handling in NFC-Mode (PR #146513)

2025-07-03 Thread Paschalis Mpeis via llvm-branch-commits
paschalis-mpeis wrote: Forced-push to rebase since the parent PR now has a `--create-wrapper` flag. In the latest patch, `switch_back` is a function called whenever something goes wrong after checking out the prev revision, ie: - building the old binary fails, or - setting up the wrapper fails.

[llvm-branch-commits] [llvm] [BOLT] Improve exception handling in NFC-Mode (PR #146513)

2025-07-03 Thread Paschalis Mpeis via llvm-branch-commits
https://github.com/paschalis-mpeis edited https://github.com/llvm/llvm-project/pull/146513 ___ 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/20.x: Backport [LLD][COFF] Disallow importing DllMain from import libraries (#146610) (PR #146699)

2025-07-03 Thread Alexandre Ganea via llvm-branch-commits
aganea wrote: @rnk @mstorsjo is it ok if we integrate this into the release? @tstellar will there be a 20.1.8? https://github.com/llvm/llvm-project/pull/146699 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.

[llvm-branch-commits] [flang] [flang][do concurrent] Extned `getAllocaBlock()` and emit yields correctly (PR #146853)

2025-07-03 Thread Tom Eccles via llvm-branch-commits
https://github.com/tblah approved this pull request. LGTM, thanks https://github.com/llvm/llvm-project/pull/146853 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commi

[llvm-branch-commits] [llvm] [PHIElimination] Reuse existing COPY in predecessor basic block (Take Two) (PR #146806)

2025-07-03 Thread Mikael Holmén via llvm-branch-commits
mikaelholmen wrote: > @mikaelholmen @mstorsjo @macurtis-amd @sjoerdmeijer @sushgokh We've decided > that it's best to revert the original PR (see #146850), sorry for wasting > your time. This PR is trying to reintroduce it with fixes to the issues > you've presented. Can I humbly ask you to te

[llvm-branch-commits] [llvm] [PHIElimination] Reuse existing COPY in predecessor basic block (Take Two) (PR #146806)

2025-07-03 Thread Sushant Gokhale via llvm-branch-commits
sushgokh wrote: > @mikaelholmen @mstorsjo @macurtis-amd @sjoerdmeijer @sushgokh We've decided > that it's best to revert the original PR (see #146850), sorry for wasting > your time. This PR is trying to reintroduce it with fixes to the issues > you've presented. Can I humbly ask you to test t

[llvm-branch-commits] [llvm] [PHIElimination] Reuse existing COPY in predecessor basic block (Take Two) (PR #146806)

2025-07-03 Thread Guy David via llvm-branch-commits
guy-david wrote: @mikaelholmen @mstorsjo @macurtis-amd @sjoerdmeijer @sushgokh We've decided that it's best to revert the original PR (see https://github.com/llvm/llvm-project/pull/146850), sorry for wasting your time. This PR is trying to reintroduce it with fixes to the issues you've presented

[llvm-branch-commits] [llvm] [PHIElimination] Reuse existing COPY in predecessor basic block (Take Two) (PR #146806)

2025-07-03 Thread Guy David via llvm-branch-commits
https://github.com/guy-david edited https://github.com/llvm/llvm-project/pull/146806 ___ 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][do concurrent] Extned `getAllocaBlock()` and emit yields correctly (PR #146853)

2025-07-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-fir-hlfir Author: Kareem Ergawy (ergawy) Changes Handles some loose ends in `do concurrent` reduction declarations. This PR extends `getAllocaBlock` to handle declare ops, and also emit `fir.yield` in all regions. --- Full diff: https://github.c

[llvm-branch-commits] [flang] [flang][do concurrent] Extned `getAllocaBlock()` and emit yields correctly (PR #146853)

2025-07-03 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy created https://github.com/llvm/llvm-project/pull/146853 Handles some loose ends in `do concurrent` reduction declarations. This PR extends `getAllocaBlock` to handle declare ops, and also emit `fir.yield` in all regions. >From caabbde941c1c870a850d4ed85d1b81d5e5d075

[llvm-branch-commits] [llvm] [DLCov] Origin-Tracking: Add debugify support (PR #143594)

2025-07-03 Thread Jeremy Morse via llvm-branch-commits
@@ -59,6 +65,52 @@ cl::opt DebugifyLevel( raw_ostream &dbg() { return Quiet ? nulls() : errs(); } +#if LLVM_ENABLE_DEBUGLOC_TRACKING_ORIGIN +// These maps refer to addresses in this instance of LLVM, so we can reuse them +// everywhere - therefore, we store them at file scope

[llvm-branch-commits] [llvm] [DLCov] Origin-Tracking: Add debugify support (PR #143594)

2025-07-03 Thread Jeremy Morse via llvm-branch-commits
@@ -59,6 +65,52 @@ cl::opt DebugifyLevel( raw_ostream &dbg() { return Quiet ? nulls() : errs(); } +#if LLVM_ENABLE_DEBUGLOC_TRACKING_ORIGIN +// These maps refer to addresses in this instance of LLVM, so we can reuse them +// everywhere - therefore, we store them at file scope

[llvm-branch-commits] [llvm] [DLCov] Origin-Tracking: Add debugify support (PR #143594)

2025-07-03 Thread Jeremy Morse via llvm-branch-commits
https://github.com/jmorse commented: Tentative LGTM, noting that you're planning on updating docs in this PR too. I've no familiarity with the python modified alas. https://github.com/llvm/llvm-project/pull/143594 ___ llvm-branch-commits mailing list

[llvm-branch-commits] [llvm] [DLCov] Origin-Tracking: Add debugify support (PR #143594)

2025-07-03 Thread Jeremy Morse via llvm-branch-commits
https://github.com/jmorse edited https://github.com/llvm/llvm-project/pull/143594 ___ 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] [BOLT] Improve file handling in NFC-Mode (PR #146513)

2025-07-03 Thread Paschalis Mpeis via llvm-branch-commits
https://github.com/paschalis-mpeis updated https://github.com/llvm/llvm-project/pull/146513 >From 625f9ee79af68a121afd92e06d9b4f91007a9c38 Mon Sep 17 00:00:00 2001 From: Paschalis Mpeis Date: Tue, 1 Jul 2025 12:37:31 +0100 Subject: [PATCH 1/4] [BOLT] Improve file handling in NFC-Mode This patc

[llvm-branch-commits] [clang] 8763227 - Revert "[win][aarch64] Always reserve frame pointers for Arm64 Windows (#146582)"

2025-07-03 Thread via llvm-branch-commits
Author: David Spickett Date: 2025-07-03T10:02:43+01:00 New Revision: 8763227d14aae0994e33e34ffc1948ca95c1efcb URL: https://github.com/llvm/llvm-project/commit/8763227d14aae0994e33e34ffc1948ca95c1efcb DIFF: https://github.com/llvm/llvm-project/commit/8763227d14aae0994e33e34ffc1948ca95c1efcb.diff

[llvm-branch-commits] [llvm] AArch64: Fix some missing llvm.frexp test coverage (PR #146691)

2025-07-02 Thread David Green via llvm-branch-commits
@@ -141,6 +141,43 @@ define <2 x i32> @test_frexp_v2f16_v2i32_only_use_exp(<2 x half> %a) { ret <2 x i32> %result.1 } +define { <3 x float>, <3 x i32> } @test_frexp_v3f16_v3i32(<3 x float> %a) { +; CHECK-LABEL: test_frexp_v3f16_v3i32: +; CHECK: @ %bb.0: +; CHECK-NEXT:

[llvm-branch-commits] [llvm] AArch64: Fix some missing llvm.frexp test coverage (PR #146691)

2025-07-02 Thread David Green via llvm-branch-commits
@@ -1,5 +1,111 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 2 ; RUN: llc -mtriple=aarch64-gnu-linux < %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=aarch64-windows-pc-msvc < %s | FileCheck -check-prefixes=W

[llvm-branch-commits] [llvm] AArch64: Fix some missing llvm.frexp test coverage (PR #146691)

2025-07-02 Thread David Green via llvm-branch-commits
https://github.com/davemgreen edited https://github.com/llvm/llvm-project/pull/146691 ___ 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: Fix some missing llvm.frexp test coverage (PR #146691)

2025-07-02 Thread David Green via llvm-branch-commits
https://github.com/davemgreen commented: Thanks for adding these. https://github.com/llvm/llvm-project/pull/146691 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commi

[llvm-branch-commits] [llvm] AArch64: Fix some missing llvm.frexp test coverage (PR #146691)

2025-07-02 Thread David Green via llvm-branch-commits
@@ -141,6 +141,43 @@ define <2 x i32> @test_frexp_v2f16_v2i32_only_use_exp(<2 x half> %a) { ret <2 x i32> %result.1 } +define { <3 x float>, <3 x i32> } @test_frexp_v3f16_v3i32(<3 x float> %a) { davemgreen wrote: f16 -> f32 https://github.com/llvm/llvm-pr

[llvm-branch-commits] [SPARC][IAS] Add definitions for cryptographic instructions (PR #139451)

2025-07-02 Thread Sergei Barannikov via llvm-branch-commits
@@ -0,0 +1,98 @@ +//===--- SparcInstrCrypto.td - cryptographic extensions ---===// +// +// 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: Apa

[llvm-branch-commits] [SPARC][IAS] Add definitions for cryptographic instructions (PR #139451)

2025-07-02 Thread Sergei Barannikov via llvm-branch-commits
@@ -0,0 +1,98 @@ +//===--- SparcInstrCrypto.td - cryptographic extensions ---===// +// +// 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: Apa

[llvm-branch-commits] [SPARC][IAS] Add definitions for cryptographic instructions (PR #139451)

2025-07-02 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov edited https://github.com/llvm/llvm-project/pull/139451 ___ 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] Add definitions for cryptographic instructions (PR #139451)

2025-07-02 Thread Sergei Barannikov via llvm-branch-commits
@@ -0,0 +1,98 @@ +//===--- SparcInstrCrypto.td - cryptographic extensions ---===// +// +// 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: Apa

[llvm-branch-commits] [SPARC][IAS] Add definitions for cryptographic instructions (PR #139451)

2025-07-02 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov approved this pull request. LGTM with formatting nits https://github.com/llvm/llvm-project/pull/139451 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listin

[llvm-branch-commits] [SPARC][IAS] Add definitions for cryptographic instructions (PR #139451)

2025-07-02 Thread Sergei Barannikov via llvm-branch-commits
@@ -0,0 +1,98 @@ +//===--- SparcInstrCrypto.td - cryptographic extensions ---===// +// +// 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: Apa

[llvm-branch-commits] [SPARC][IAS] Add definitions for cryptographic instructions (PR #139451)

2025-07-02 Thread Sergei Barannikov via llvm-branch-commits
@@ -0,0 +1,98 @@ +//===--- SparcInstrCrypto.td - cryptographic extensions ---===// +// +// 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: Apa

[llvm-branch-commits] [SPARC][IAS] Add definitions for cryptographic instructions (PR #139451)

2025-07-02 Thread Sergei Barannikov via llvm-branch-commits
@@ -0,0 +1,98 @@ +//===--- SparcInstrCrypto.td - cryptographic extensions ---===// +// +// 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: Apa

[llvm-branch-commits] [SPARC][IAS] Add definitions for cryptographic instructions (PR #139451)

2025-07-02 Thread Sergei Barannikov via llvm-branch-commits
@@ -0,0 +1,98 @@ +//===--- SparcInstrCrypto.td - cryptographic extensions ---===// +// +// 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: Apa

[llvm-branch-commits] [SPARC][IAS] Add definitions for cryptographic instructions (PR #139451)

2025-07-02 Thread Sergei Barannikov via llvm-branch-commits
@@ -0,0 +1,98 @@ +//===--- SparcInstrCrypto.td - cryptographic extensions ---===// +// +// 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: Apa

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

2025-07-02 Thread via llvm-branch-commits
github-actions[bot] wrote: :warning: undef deprecator found issues in your code. :warning: You can test this locally with the following command: ``bash git diff -U0 --pickaxe-regex -S '([^a-zA-Z0-9#_-]undef[^a-zA-Z0-9_-]|UndefValue::get)' 'HEAD~1' HEAD llvm/test/Transforms/Inlin

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

2025-07-02 Thread Amara Emerson via llvm-branch-commits
aemerson wrote: I managed to reduce down the original SME test to `Transforms/PhaseOrdering/always-inline-alloca-promotion.ll`. Compiling that to assembly with clang with and without the change shows the differences in codegen quality, but the IR shows the kind of scenario this patch is meant

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

2025-07-02 Thread Amara Emerson via llvm-branch-commits
https://github.com/aemerson updated https://github.com/llvm/llvm-project/pull/145613 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

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

2025-07-02 Thread Amara Emerson via llvm-branch-commits
https://github.com/aemerson updated https://github.com/llvm/llvm-project/pull/145613 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [clang][OpenMP] Use DirectiveNameParser to parse directive names (PR #146779)

2025-07-02 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Krzysztof Parzyszek (kparzysz) Changes This simplifies the parsing code in clang quite a bit. --- Full diff: https://github.com/llvm/llvm-project/pull/146779.diff 1 Files Affected: - (modified) clang/lib/Parse/ParseOpenMP.cpp (+19-162)

[llvm-branch-commits] [clang] [clang][OpenMP] Use DirectiveNameParser to parse directive names (PR #146779)

2025-07-02 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/146779 This simplifies the parsing code in clang quite a bit. >From ab3f0cc9d240f12e07be452effa75b5c7d010d9b Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Wed, 2 Jul 2025 11:25:00 -0500 Subject: [PATCH] [c

[llvm-branch-commits] [llvm] [BOLT][NFC] Update nfc-check-setup.py guidance (PR #146659)

2025-07-02 Thread Amir Ayupov via llvm-branch-commits
@@ -156,9 +158,8 @@ def main(): os.replace(bolt_path, f"{bolt_path}.old") print( -f"Build directory {args.build_dir} is ready to run BOLT tests, e.g.\n" -"\tbin/llvm-lit -sv tools/bolt/test\nor\n" -"\tbin/llvm-lit -sv tools/bolttests" +f

[llvm-branch-commits] [llvm] [BOLT][NFC] Update nfc-check-setup.py guidance (PR #146659)

2025-07-02 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov approved this pull request. https://github.com/llvm/llvm-project/pull/146659 ___ 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] [BOLT] Improve file handling in NFC-Mode (PR #146513)

2025-07-02 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov approved this pull request. Thanks for fixing this. https://github.com/llvm/llvm-project/pull/146513 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-

[llvm-branch-commits] [libc] b1bb298 - Revert "Revert "Fix wcpncpy() return value; add test." (#146752)"

2025-07-02 Thread via llvm-branch-commits
Author: enh-google Date: 2025-07-02T14:13:00-04:00 New Revision: b1bb298246aa96f413625bf2fccdf11d1b329ae7 URL: https://github.com/llvm/llvm-project/commit/b1bb298246aa96f413625bf2fccdf11d1b329ae7 DIFF: https://github.com/llvm/llvm-project/commit/b1bb298246aa96f413625bf2fccdf11d1b329ae7.diff LO

[llvm-branch-commits] [lld] release/20.x: Backport [LLD][COFF] Disallow importing DllMain from import libraries (#146610) (PR #146699)

2025-07-02 Thread Alexandre Ganea via llvm-branch-commits
https://github.com/aganea edited https://github.com/llvm/llvm-project/pull/146699 ___ 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/20.x: Backport [LLD][COFF] Disallow importing DllMain from import libraries (#146610) (PR #146699)

2025-07-02 Thread Alexandre Ganea via llvm-branch-commits
https://github.com/aganea edited https://github.com/llvm/llvm-project/pull/146699 ___ 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] Basic mapping of `do concurrent ... reduce` to OpenMP (PR #146033)

2025-07-02 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy updated https://github.com/llvm/llvm-project/pull/146033 >From ba0d0c89692622968db915fb89d70443d032cdf3 Mon Sep 17 00:00:00 2001 From: ergawy Date: Fri, 27 Jun 2025 00:58:08 -0500 Subject: [PATCH 1/2] [flang][OpenMP] Basic mapping of `do concurrent ... reduce` to Open

[llvm-branch-commits] [llvm] [DLCov] Origin-Tracking: Add debugify support (PR #143594)

2025-07-02 Thread Stephen Tozer via llvm-branch-commits
SLTozer wrote: > Are you planning to extend documentation Yes, and it probably is best if the documentation lands in this patch! https://github.com/llvm/llvm-project/pull/143594 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org h

[llvm-branch-commits] [flang] [flang][fir] Small clean-up in `fir_DoConcurrentLoopOp`'s defintion (PR #146028)

2025-07-02 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy updated https://github.com/llvm/llvm-project/pull/146028 >From 15ed831ad72cf5d109278f01a693a8fd4a7e2793 Mon Sep 17 00:00:00 2001 From: ergawy Date: Fri, 27 Jun 2025 00:05:42 -0500 Subject: [PATCH] [flang][fir] Small clean-up in `fir_DoConcurrentLoopOp`'s defintion Re

[llvm-branch-commits] [flang] [NFC][flang] Move `ReductionProcessor` to `Lower/Support`. (PR #146025)

2025-07-02 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy updated https://github.com/llvm/llvm-project/pull/146025 >From db537f5fbb7d1f7c6c965262beef9682ccdcabf3 Mon Sep 17 00:00:00 2001 From: ergawy Date: Thu, 26 Jun 2025 23:30:04 -0500 Subject: [PATCH 1/2] [NFC][flang] Move `ReductionProcessor` to `Lower/Support`. With #1

[llvm-branch-commits] [llvm] [DLCov] Origin-Tracking: Add debugify support (PR #143594)

2025-07-02 Thread Djordje Todorovic via llvm-branch-commits
https://github.com/djtodoro edited https://github.com/llvm/llvm-project/pull/143594 ___ 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] [DLCov] Origin-Tracking: Add debugify support (PR #143594)

2025-07-02 Thread Djordje Todorovic via llvm-branch-commits
@@ -59,6 +65,52 @@ cl::opt DebugifyLevel( raw_ostream &dbg() { return Quiet ? nulls() : errs(); } +#if LLVM_ENABLE_DEBUGLOC_TRACKING_ORIGIN +// These maps refer to addresses in this instance of LLVM, so we can reuse them +// everywhere - therefore, we store them at file scope

[llvm-branch-commits] [llvm] [DLCov] Origin-Tracking: Add debugify support (PR #143594)

2025-07-02 Thread Djordje Todorovic via llvm-branch-commits
https://github.com/djtodoro commented: @SLTozer thanks for doing this! Are you planning to extend documentation, e.g. https://llvm.org/docs/HowToUpdateDebugInfo.html#how-to-automatically-convert-tests-into-debug-info-tests? https://github.com/llvm/llvm-project/pull/143594

[llvm-branch-commits] [clang] [CIR] Clean up IntAttr (PR #146661)

2025-07-02 Thread Erich Keane via llvm-branch-commits
https://github.com/erichkeane approved this pull request. https://github.com/llvm/llvm-project/pull/146661 ___ 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] Backport [LLD][COFF] Disallow importing DllMain from import libraries (#146610) (PR #146699)

2025-07-02 Thread Alexandre Ganea via llvm-branch-commits
https://github.com/aganea created https://github.com/llvm/llvm-project/pull/146699 This is a workaround for https://github.com/llvm/llvm-project/issues/82050 by skipping the `DllMain` symbol if seen in aimport library. If this situation occurs, after this commit a warning will also be displaye

[llvm-branch-commits] [lld] Backport [LLD][COFF] Disallow importing DllMain from import libraries (#146610) (PR #146699)

2025-07-02 Thread Alexandre Ganea via llvm-branch-commits
https://github.com/aganea milestoned https://github.com/llvm/llvm-project/pull/146699 ___ 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] [DLCov] Origin-Tracking: Collect stack traces in DebugLoc (PR #143592)

2025-07-02 Thread Stephen Tozer via llvm-branch-commits
SLTozer wrote: New PR: https://github.com/llvm/llvm-project/pull/146678 https://github.com/llvm/llvm-project/pull/143592 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch

[llvm-branch-commits] [llvm] [DLCov] Origin-Tracking: Add debugify support (PR #143594)

2025-07-02 Thread Stephen Tozer via llvm-branch-commits
https://github.com/SLTozer edited https://github.com/llvm/llvm-project/pull/143594 ___ 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] [CIR] Untie Type and Attribute definitions (PR #146663)

2025-07-02 Thread Amr Hesham via llvm-branch-commits
https://github.com/AmrDeveloper approved this pull request. https://github.com/llvm/llvm-project/pull/146663 ___ 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] [CIR] Clean up FPAttr (PR #146662)

2025-07-02 Thread Amr Hesham via llvm-branch-commits
https://github.com/AmrDeveloper approved this pull request. https://github.com/llvm/llvm-project/pull/146662 ___ 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] [CIR] Clean up FPAttr (PR #146662)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
xlauko wrote: ### Merge activity * **Jul 2, 2:25 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/146662). https://github.com/llvm/llvm-project/pull/146662 __

[llvm-branch-commits] [clang] [CIR] Clean up IntAttr (PR #146661)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
xlauko wrote: ### Merge activity * **Jul 2, 2:25 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/146661). https://github.com/llvm/llvm-project/pull/146661 __

[llvm-branch-commits] [clang] [CIR] Untie Type and Attribute definitions (PR #146663)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
xlauko wrote: ### Merge activity * **Jul 2, 2:25 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/146663). https://github.com/llvm/llvm-project/pull/146663 __

[llvm-branch-commits] [llvm] AArch64: Fix some missing llvm.frexp test coverage (PR #146691)

2025-07-02 Thread Benjamin Maxwell via llvm-branch-commits
https://github.com/MacDue approved this pull request. https://github.com/llvm/llvm-project/pull/146691 ___ 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] Backport [LLD][COFF] Disallow importing DllMain from import libraries (#146610) (PR #146699)

2025-07-02 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-platform-windows Author: Alexandre Ganea (aganea) Changes This is a workaround for https://github.com/llvm/llvm-project/issues/82050 by skipping the `DllMain` symbol if seen in aimport library. If this situation occurs, after this commit a warning will

[llvm-branch-commits] [llvm] AArch64: Fix some missing llvm.frexp test coverage (PR #146691)

2025-07-02 Thread Benjamin Maxwell via llvm-branch-commits
@@ -96,6 +432,1015 @@ define { <3 x float>, <3 x i32> } @test_frexp_v3f16_v3i32(<3 x float> %a) { ; CHECK-NEXT:mov v0.16b, v2.16b ; CHECK-NEXT:add sp, sp, #80 ; CHECK-NEXT:ret +; +; WINDOWS-LABEL: test_frexp_v3f16_v3i32: +; WINDOWS: .seh_proc test_frexp_v3f16

[llvm-branch-commits] [llvm] AArch64: Fix some missing llvm.frexp test coverage (PR #146691)

2025-07-02 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/146691 AArch64 was testing a couple of vector cases, and not the base scalars. Add the one case that isn't in the ARM version there, and then copy the rest back into AArch64. Also add a windows run line. >From d7a7f0d1a

[llvm-branch-commits] [llvm] AArch64: Fix some missing llvm.frexp test coverage (PR #146691)

2025-07-02 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-arm Author: Matt Arsenault (arsenm) Changes AArch64 was testing a couple of vector cases, and not the base scalars. Add the one case that isn't in the ARM version there, and then copy the rest back into AArch64. Also add a windows run line. ---

[llvm-branch-commits] [clang] [CIR] Clean up FPAttr (PR #146662)

2025-07-02 Thread Erich Keane via llvm-branch-commits
https://github.com/erichkeane approved this pull request. https://github.com/llvm/llvm-project/pull/146662 ___ 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] AlwaysInliner: A new inlining algorithm to interleave alloca promotion with inlines. (PR #145613)

2025-07-02 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic commented: Can you please pre-commit a PhaseOrdering test that demonstrates the problem you are trying to solve? It's hard to understand whether this is the correct solution to the problem without an actual test case. https://github.com/llvm/llvm-project/pull/145613 __

[llvm-branch-commits] [clang] [CIR] Untie Type and Attribute definitions (PR #146663)

2025-07-02 Thread Erich Keane via llvm-branch-commits
https://github.com/erichkeane approved this pull request. https://github.com/llvm/llvm-project/pull/146663 ___ 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: Fix some missing llvm.frexp test coverage (PR #146691)

2025-07-02 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/146691 ___ 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: Fix some missing llvm.frexp test coverage (PR #146691)

2025-07-02 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/146691?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [compiler-rt] b720ebf - Revert "[TSan] Clarify and enforce shadow end alignment (#144648)"

2025-07-02 Thread via llvm-branch-commits
Author: Kunqiu Chen Date: 2025-07-02T20:08:01+08:00 New Revision: b720ebf8c4dc2e089df2c15a616e9771ed03a4c3 URL: https://github.com/llvm/llvm-project/commit/b720ebf8c4dc2e089df2c15a616e9771ed03a4c3 DIFF: https://github.com/llvm/llvm-project/commit/b720ebf8c4dc2e089df2c15a616e9771ed03a4c3.diff L

[llvm-branch-commits] [llvm] [DLCov] Origin-Tracking: Collect stack traces in DebugLoc (PR #143592)

2025-07-02 Thread Stephen Tozer via llvm-branch-commits
@@ -55,22 +70,29 @@ namespace llvm { Temporary }; - // Extends TrackingMDNodeRef to also store a DebugLocKind, allowing Debugify - // to ignore intentionally-empty DebugLocs. - class DILocAndCoverageTracking : public TrackingMDNodeRef { + // Extends TrackingMDNodeRef

[llvm-branch-commits] [llvm] [DLCov] Origin-Tracking: Collect stack traces in DebugLoc (PR #143592)

2025-07-02 Thread Stephen Tozer via llvm-branch-commits
@@ -27,6 +27,21 @@ namespace llvm { class Function; #if LLVM_ENABLE_DEBUGLOC_COVERAGE_TRACKING +#if LLVM_ENABLE_DEBUGLOC_ORIGIN_TRACKING + struct DbgLocOrigin { +static constexpr unsigned long MaxDepth = 16; +using StackTracesTy = +SmallVector>, 0>;

[llvm-branch-commits] [llvm] [DLCov] Origin-Tracking: Collect stack traces in DebugLoc (PR #143592)

2025-07-02 Thread Stephen Tozer via llvm-branch-commits
SLTozer wrote: Clicked the wrong button and accidentally merged the wrong branch (fortunately, this just merged into another PR branch, not main) - will reopen imminently, as github apparently won't allow me to reopen this PR in-place! https://github.com/llvm/llvm-project/pull/143592 _

[llvm-branch-commits] [clang] [CIR] Clean up FPAttr (PR #146662)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko ready_for_review https://github.com/llvm/llvm-project/pull/146662 ___ 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] [DLCov] Origin-Tracking: Add debugify support (PR #143594)

2025-07-02 Thread Stephen Tozer via llvm-branch-commits
https://github.com/SLTozer edited https://github.com/llvm/llvm-project/pull/143594 ___ 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] [DLCov] Origin-Tracking: Collect stack traces in DebugLoc (PR #143592)

2025-07-02 Thread Stephen Tozer via llvm-branch-commits
https://github.com/SLTozer closed https://github.com/llvm/llvm-project/pull/143592 ___ 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] [CIR] Untie Type and Attribute definitions (PR #146663)

2025-07-02 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clangir Author: Henrich Lauko (xlauko) Changes This will allow to use Attributes and Types together in tablegen without inducing cyclic dependency. This mirrors incubator changes from https://github.com/llvm/clangir/pull/1727 --- Full diff: https://gi

[llvm-branch-commits] [clang] [CIR] Untie Type and Attribute definitions (PR #146663)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
xlauko 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/146663?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang] [CIR] Untie Type and Attribute definitions (PR #146663)

2025-07-02 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Henrich Lauko (xlauko) Changes This will allow to use Attributes and Types together in tablegen without inducing cyclic dependency. This mirrors incubator changes from https://github.com/llvm/clangir/pull/1727 --- Full diff: https://gith

[llvm-branch-commits] [clang] [CIR] Clean up FPAttr (PR #146662)

2025-07-02 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clangir Author: Henrich Lauko (xlauko) Changes - Adds CIR_ prefix to the definition - Removes redundant builder and cleans up attribute creations This mirrors incubator changes from https://github.com/llvm/clangir/pull/1726 --- Full diff: https://githu

[llvm-branch-commits] [clang] [CIR] Clean up IntAttr (PR #146661)

2025-07-02 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clangir Author: Henrich Lauko (xlauko) Changes - Add common CIR_ prefix - Simplify printing/parsing - Make it use IntTypeInterface This mirrors incubator changes from https://github.com/llvm/clangir/pull/1725 --- Full diff: https://github.com/llvm/llvm

[llvm-branch-commits] [clang] [CIR] Clean up IntAttr (PR #146661)

2025-07-02 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Henrich Lauko (xlauko) Changes - Add common CIR_ prefix - Simplify printing/parsing - Make it use IntTypeInterface This mirrors incubator changes from https://github.com/llvm/clangir/pull/1725 --- Full diff: https://github.com/llvm/llvm-p

[llvm-branch-commits] [clang] [CIR] Untie Type and Attribute definitions (PR #146663)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko ready_for_review https://github.com/llvm/llvm-project/pull/146663 ___ 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] [CIR] Clean up IntAttr (PR #146661)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko ready_for_review https://github.com/llvm/llvm-project/pull/146661 ___ 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] [CIR] Untie Type and Attribute definitions (PR #146663)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko created https://github.com/llvm/llvm-project/pull/146663 This will allow to use Attributes and Types together in tablegen without inducing cyclic dependency. This mirrors incubator changes from https://github.com/llvm/clangir/pull/1727 >From 43374714e80db860b2e51cbb4

[llvm-branch-commits] [clang] [CIR] Clean up IntAttr (PR #146661)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
xlauko 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/146661?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang] [CIR] Clean up IntAttr (PR #146661)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko created https://github.com/llvm/llvm-project/pull/146661 - Add common CIR_ prefix - Simplify printing/parsing - Make it use IntTypeInterface This mirrors incubator changes from https://github.com/llvm/clangir/pull/1725 >From 7e092b87f30c9081551158186c0afae3b337b66f Mo

[llvm-branch-commits] [clang] [CIR] Clean up FPAttr (PR #146662)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
xlauko 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/146662?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang] [CIR] Clean up FPAttr (PR #146662)

2025-07-02 Thread Henrich Lauko via llvm-branch-commits
https://github.com/xlauko created https://github.com/llvm/llvm-project/pull/146662 - Adds CIR_ prefix to the definition - Removes redundant builder and cleans up attribute creations This mirrors incubator changes from https://github.com/llvm/clangir/pull/1726 >From 99f74b960a9416c267e4406de1fa

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

2025-07-02 Thread Amara Emerson via llvm-branch-commits
aemerson wrote: ping https://github.com/llvm/llvm-project/pull/145613 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT][NFC] Update nfc-check-setup.py guidance (PR #146659)

2025-07-02 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-bolt Author: Paschalis Mpeis (paschalis-mpeis) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/146659.diff 1 Files Affected: - (modified) bolt/utils/nfc-check-setup.py (+6-5) ``diff diff --git a/bolt/utils/nfc-check-setup

[llvm-branch-commits] [llvm] [BOLT][NFC] Update nfc-check-setup.py guidance (PR #146659)

2025-07-02 Thread Paschalis Mpeis via llvm-branch-commits
https://github.com/paschalis-mpeis ready_for_review https://github.com/llvm/llvm-project/pull/146659 ___ 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] [BOLT][NFC] Update nfc-check-setup.py guidance (PR #146659)

2025-07-02 Thread Paschalis Mpeis via llvm-branch-commits
https://github.com/paschalis-mpeis created https://github.com/llvm/llvm-project/pull/146659 None >From 8cc8661aa2df5e5a6e04752083335a865b0178fe Mon Sep 17 00:00:00 2001 From: Paschalis Mpeis Date: Wed, 2 Jul 2025 10:35:22 +0100 Subject: [PATCH] [BOLT][NFC] Update nfc-check-setup.py guidance -

[llvm-branch-commits] [llvm] [AArch64][PAC] Combine signing with address materialization (PR #130809)

2025-07-02 Thread Anatoly Trosinenko via llvm-branch-commits
atrosinenko wrote: Ping. I have rebased this patch so that it is now on top of the stack of * #145379 - fix for MachineLICM which is needed for LOADgotAUTH to be dead-code-eliminated * #146488 and #146489 - the patches preventing immediate modifier substitution for sign and for auth/resign ope

[llvm-branch-commits] [llvm] RuntimeLibcalls: Remove table of soft float compare cond codes (PR #146082)

2025-07-01 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/146082 >From 4e8ecb37c0157dd9aeb6b20bf0b981ac65e9cb70 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 23 Jun 2025 19:10:30 +0900 Subject: [PATCH] RuntimeLibcalls: Remove table of soft float compare cond codes

[llvm-branch-commits] [llvm] RuntimeLibcalls: Associate calling convention with libcall impls (PR #144979)

2025-07-01 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/144979 >From df6307547186298e519992f076dec1a38fa936bb Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 17 Jun 2025 16:25:50 +0900 Subject: [PATCH] RuntimeLibcalls: Associate calling convention with libcall impl

  1   2   3   4   5   6   7   8   9   10   >