[llvm-branch-commits] [llvm] [AMDGPU][NPM] Add isRequired to passes missing it (PR #134033)

2025-04-15 Thread Akshat Oke via llvm-branch-commits
https://github.com/optimisan updated https://github.com/llvm/llvm-project/pull/134033 >From f20165ea400c932590036224b5f3f4f2ccac00c8 Mon Sep 17 00:00:00 2001 From: Akshat Oke Date: Wed, 2 Apr 2025 06:22:30 + Subject: [PATCH] [AMDGPU][NPM] Add isRequired to passes missing it --- llvm/lib/T

[llvm-branch-commits] [llvm] [llvm][IR] Treat memcmp and bcmp as libcalls (PR #135706)

2025-04-15 Thread Paul Kirth via llvm-branch-commits
ilovepi wrote: I think that any function that can get added after you've potentially deleted its definition needs to be handled the same way, otherwise you can end up w/ the same kind of bugs. Adding all the functions from BuildLibCalls.h seems roughly correct, since I don't recall running int

[llvm-branch-commits] [llvm] [GOFF] Add writing of section symbols (PR #133799)

2025-04-15 Thread Kai Nacke via llvm-branch-commits
@@ -26,6 +27,23 @@ GOFFObjectWriter &MCGOFFStreamer::getWriter() { return static_cast(getAssembler().getWriter()); } +namespace { +// Make sure that all section are registered in the correct order. +void registerSectionHierarchy(MCAssembler &Asm, MCSectionGOFF *Section) { --

[llvm-branch-commits] [llvm] [GOFF] Add writing of section symbols (PR #133799)

2025-04-15 Thread Kai Nacke via llvm-branch-commits
@@ -599,8 +600,18 @@ class MCContext { unsigned Flags, unsigned EntrySize); - MCSectionGOFF *getGOFFSection(StringRef Section, SectionKind Kind, -

[llvm-branch-commits] [SPARC] Use umulxhi to do extending 64x64->128 multiply when we have VIS3 (PR #135714)

2025-04-15 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/135714 ___ 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] [GOFF] Add writing of section symbols (PR #133799)

2025-04-15 Thread Kai Nacke via llvm-branch-commits
@@ -0,0 +1,112 @@ +; RUN: llc <%s --mtriple s390x-ibm-zos --filetype=obj -o - | \ redstar wrote: Moved the tests. https://github.com/llvm/llvm-project/pull/133799 ___ llvm-branch-commits mailing list llvm-branch-commit

[llvm-branch-commits] [llvm] [GOFF] Add writing of section symbols (PR #133799)

2025-04-15 Thread Kai Nacke via llvm-branch-commits
@@ -26,6 +27,23 @@ GOFFObjectWriter &MCGOFFStreamer::getWriter() { return static_cast(getAssembler().getWriter()); } +namespace { +// Make sure that all section are registered in the correct order. +void registerSectionHierarchy(MCAssembler &Asm, MCSectionGOFF *Section) { --

[llvm-branch-commits] [llvm] [GOFF] Add writing of section symbols (PR #133799)

2025-04-15 Thread Kai Nacke via llvm-branch-commits
@@ -0,0 +1,141 @@ +//===- MCSectionGOFF.cpp - GOFF Code Section Representation ---===// +// +// 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: Ap

[llvm-branch-commits] [SPARC] Use umulxhi to do extending 64x64->128 multiply when we have VIS3 (PR #135714)

2025-04-15 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/135714 ___ 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] [ConstraintElim] Opimize abs based on known constraints (PR #135754)

2025-04-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Iris (el-ev) Changes [ConstraintElim] Opimize abs based on known constraints update test --- Full diff: https://github.com/llvm/llvm-project/pull/135754.diff 2 Files Affected: - (modified) llvm/lib/Transforms/Scalar/Constrain

[llvm-branch-commits] [llvm] [ConstraintElim] Opimize abs based on known constraints (PR #135754)

2025-04-15 Thread via llvm-branch-commits
https://github.com/el-ev ready_for_review https://github.com/llvm/llvm-project/pull/135754 ___ 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] [llvm][IR] Treat memcmp and bcmp as libcalls (PR #135706)

2025-04-15 Thread Eli Friedman via llvm-branch-commits
efriedma-quic wrote: I don't really want to start adding functions to RuntimeLibcalls.def piecemeal without documented criteria for what, exactly, should be added. Do we need to add every single function that any transformation can generate under any circumstances? Or is there some criteria

[llvm-branch-commits] [llvm] [LV] Disable epilogue vectorization for FindLastIV if start is poison. (PR #135666)

2025-04-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-vectorizers Author: Florian Hahn (fhahn) Changes Back-porting properly freezing of the start value during epilogue vectorization (https://github.com/llvm/llvm-project/commit/2bdc1a1337692a5743658ba6b680e5d914e684a4) is non-trivial. For the 20.x release

[llvm-branch-commits] [clang] [Driver] Add support for crtbegin.o, crtend.o and libgloss lib to BareMetal toolchain object (PR #121830)

2025-04-15 Thread Petr Hosek via llvm-branch-commits
https://github.com/petrhosek approved this pull request. https://github.com/llvm/llvm-project/pull/121830 ___ 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] [RISCV][Driver] Add riscv emulation mode to linker job of BareMetal toolchain (PR #134442)

2025-04-15 Thread Petr Hosek via llvm-branch-commits
@@ -534,8 +534,14 @@ void baremetal::Linker::ConstructJob(Compilation &C, const JobAction &JA, CmdArgs.push_back("-Bstatic"); - if (TC.getTriple().isRISCV() && Args.hasArg(options::OPT_mno_relax)) -CmdArgs.push_back("--no-relax"); + if (Triple.isRISCV()) { +if (A

[llvm-branch-commits] [llvm] [ConstraintElim] Opimize abs based on known constraints (PR #135754)

2025-04-15 Thread via llvm-branch-commits
https://github.com/el-ev updated https://github.com/llvm/llvm-project/pull/135754 >From af8e5662259fe323f403a48140443feb22e9ef63 Mon Sep 17 00:00:00 2001 From: Iris Shi <0...@owo.li> Date: Tue, 15 Apr 2025 15:00:58 +0800 Subject: [PATCH 1/4] [ConstraintElim] Opimize abs based on known constraint

[llvm-branch-commits] [llvm] [LV] Disable epilogue vectorization for FindLastIV if start is poison. (PR #135666)

2025-04-15 Thread Yusuke MINATO via llvm-branch-commits
https://github.com/yus3710-fj approved this pull request. I confirmed this PR fixes the issue. Thank you! https://github.com/llvm/llvm-project/pull/135666 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cg

[llvm-branch-commits] [llvm] [LV] Disable epilogue vectorization for FindLastIV if start is poison. (PR #135666)

2025-04-15 Thread Florian Hahn via llvm-branch-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/135666 >From e21b3211d2129e3e0110bcaa75ab0b451397ef42 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Mon, 14 Apr 2025 17:16:08 +0100 Subject: [PATCH 1/2] [LV] Add tests with FindLastIV and epilogue vectorization. Te

[llvm-branch-commits] [clang] [RISCV][Driver] Add riscv emulation mode to linker job of BareMetal toolchain (PR #134442)

2025-04-15 Thread Petr Hosek via llvm-branch-commits
@@ -534,8 +534,14 @@ void baremetal::Linker::ConstructJob(Compilation &C, const JobAction &JA, CmdArgs.push_back("-Bstatic"); - if (TC.getTriple().isRISCV() && Args.hasArg(options::OPT_mno_relax)) -CmdArgs.push_back("--no-relax"); + if (Triple.isRISCV()) { +if (A

[llvm-branch-commits] [llvm] Add initial support for SPE brstack format (PR #129231)

2025-04-15 Thread Ádám Kallai via llvm-branch-commits
https://github.com/kaadam updated https://github.com/llvm/llvm-project/pull/129231 From 93c958c3f016092c340e897aeabbb470e58b9dbb Mon Sep 17 00:00:00 2001 From: Adam Kallai Date: Wed, 19 Feb 2025 17:00:47 +0100 Subject: [PATCH 1/4] Add initial support for SPE brstack Perf will be able to report

[llvm-branch-commits] [llvm] [ConstraintElim] Opimize abs based on known constraints (PR #135754)

2025-04-15 Thread via llvm-branch-commits
https://github.com/el-ev updated https://github.com/llvm/llvm-project/pull/135754 >From af8e5662259fe323f403a48140443feb22e9ef63 Mon Sep 17 00:00:00 2001 From: Iris Shi <0...@owo.li> Date: Tue, 15 Apr 2025 15:00:58 +0800 Subject: [PATCH 1/4] [ConstraintElim] Opimize abs based on known constraint

[llvm-branch-commits] [lldb] release/20.x: [lldb] Respect LaunchInfo::SetExecutable in ProcessLauncherPosixFork (#133093) (PR #134079)

2025-04-15 Thread Jonas Devlieghere via llvm-branch-commits
https://github.com/JDevlieghere approved this pull request. https://github.com/llvm/llvm-project/pull/134079 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [LV] Disable epilogue vectorization for FindLastIV if start is poison. (PR #135666)

2025-04-15 Thread Tom Stellard via llvm-branch-commits
tstellar wrote: Merged: 91a3f14d9497b761258d9358c31215ac29969dca c5109be53b7eed66ea48c6339e76ca4a5c7f1f65 https://github.com/llvm/llvm-project/pull/135666 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/c

[llvm-branch-commits] [llvm] [LV] Disable epilogue vectorization for FindLastIV if start is poison. (PR #135666)

2025-04-15 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/135666 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/20.x: [llvm][Hexagon] Promote operand v2i1 to v2i32 (#135409) (PR #135461)

2025-04-15 Thread Tom Stellard via llvm-branch-commits
tstellar wrote: ping @iajbar https://github.com/llvm/llvm-project/pull/135461 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [NFC][Driver][CFI] Rename to clarify purpose of CFI runtime (PR #135885)

2025-04-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver @llvm/pr-subscribers-clang Author: Vitaly Buka (vitalybuka) Changes CFI runtime (diagnostics, or not) is only needed for cross-dso support. --- Full diff: https://github.com/llvm/llvm-project/pull/135885.diff 3 Files Affected: - (modifi

[llvm-branch-commits] [NFC][Driver][CFI] Rename to clarify purpose of CFI runtime (PR #135885)

2025-04-15 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/135885 CFI runtime (diagnostics, or not) is only needed for cross-dso support. ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm

[llvm-branch-commits] [NFC][CFI] Don't mix CFI and non-CFI flags on the same line (PR #135890)

2025-04-15 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer approved this pull request. https://github.com/llvm/llvm-project/pull/135890 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [NFC][CFI] Don't mix CFI and non-CFI flags on the same line (PR #135890)

2025-04-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Vitaly Buka (vitalybuka) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/135890.diff 1 Files Affected: - (modified) clang/test/Driver/sanitizer-ld.c (+11-6) ``diff diff --git a/clang/test/Driver/sanit

[llvm-branch-commits] [NFC][CFI] Don't mix CFI and non-CFI flags on the same line (PR #135890)

2025-04-15 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/135890 None ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [SPARC] Promote i32 CTTZ when we have VIS3 (PR #135894)

2025-04-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-sparc Author: Koakuma (koachan) Changes CTTZ can be implemented in terms of CTLZ, for which there's a native instruction in VIS3. Promote i32 CTTZ in that case so that the native instruction gets used. --- Full diff: https://github.com/llvm/llv

[llvm-branch-commits] [SPARC] Use lzcnt to implement CTLZ when we have VIS3 (PR #135715)

2025-04-15 Thread via llvm-branch-commits
@@ -0,0 +1,315 @@ +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py +; RUN: llc < %s -mtriple=sparcv9 | FileCheck %s -check-prefix=V9 +; RUN: llc < %s -mtriple=sparcv9 -mattr=popc | FileCheck %s -check-prefix=POPC +; RUN: llc < %s -mtriple=sparcv9 -mat

[llvm-branch-commits] [SPARC] Promote i32 CTTZ when we have VIS3 (PR #135894)

2025-04-15 Thread via llvm-branch-commits
https://github.com/koachan created https://github.com/llvm/llvm-project/pull/135894 CTTZ can be implemented in terms of CTLZ, for which there's a native instruction in VIS3. Promote i32 CTTZ in that case so that the native instruction gets used. ___

[llvm-branch-commits] [SPARC] Use lzcnt to implement CTLZ when we have VIS3 (PR #135715)

2025-04-15 Thread Sergei Barannikov via llvm-branch-commits
@@ -0,0 +1,313 @@ +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py +; RUN: llc < %s -mtriple=sparcv9 | FileCheck %s -check-prefix=V9 +; RUN: llc < %s -mtriple=sparcv9 -mattr=popc | FileCheck %s -check-prefix=POPC +; RUN: llc < %s -mtriple=sparcv9 -mat

[llvm-branch-commits] [SPARC] Use addxccc to do multiword addition when we have VIS3 (PR #135713)

2025-04-15 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/135713 ___ 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] Use addxccc to do multiword addition when we have VIS3 (PR #135713)

2025-04-15 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/135713 ___ 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] Use umulxhi to do extending 64x64->128 multiply when we have VIS3 (PR #135714)

2025-04-15 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/135714 ___ 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] Use umulxhi to do extending 64x64->128 multiply when we have VIS3 (PR #135714)

2025-04-15 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/135714 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [NFC][CFI] Add test to check for '-flto' and '-fvisibility=' flags (PR #135892)

2025-04-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Vitaly Buka (vitalybuka) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/135892.diff 1 Files Affected: - (modified) clang/test/Driver/sanitizer-ld.c (+10) ``diff diff --git a/clang/test/Driver/sanitiz

[llvm-branch-commits] [NFC][CFI] Add test to check for '-flto' and '-fvisibility=' flags (PR #135892)

2025-04-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Vitaly Buka (vitalybuka) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/135892.diff 1 Files Affected: - (modified) clang/test/Driver/sanitizer-ld.c (+10) ``diff diff --git a/clang/test/Driver/sanitizer-ld.c

[llvm-branch-commits] [NFC][CFI] Add test to check for '-flto' and '-fvisibility=' flags (PR #135892)

2025-04-15 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/135892 None ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [compiler-rt] [llvm] Reentry (PR #135656)

2025-04-15 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/135656 >From d4b02b8ca911ed3b61fecb3934828182193218f6 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Mon, 14 Apr 2025 07:19:58 -0700 Subject: [PATCH] Reentry --- .../lib/ctx_profile/CtxInstrProfiling.cpp | 15

[llvm-branch-commits] [compiler-rt] [llvm] Reentry (PR #135656)

2025-04-15 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/135656 >From d4b02b8ca911ed3b61fecb3934828182193218f6 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Mon, 14 Apr 2025 07:19:58 -0700 Subject: [PATCH] Reentry --- .../lib/ctx_profile/CtxInstrProfiling.cpp | 15

[llvm-branch-commits] [SPARC] Use lzcnt to implement CTLZ when we have VIS3 (PR #135715)

2025-04-15 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/135715 ___ 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] Use lzcnt to implement CTLZ when we have VIS3 (PR #135715)

2025-04-15 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/135715 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU][InsertWaitCnts] Track global_wb/inv/wbinv (PR #135340)

2025-04-15 Thread Shilei Tian via llvm-branch-commits
shiltian wrote: Just a quick side question, do we have any write-up or documentation about the memory model? https://github.com/llvm/llvm-project/pull/135340 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.or

[llvm-branch-commits] [SPARC] Promote i32 CTTZ when we have VIS3 (PR #135894)

2025-04-15 Thread Sergei Barannikov via llvm-branch-commits
@@ -1,70 +1,195 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc < %s -mtriple=sparc -mcpu=v9 | FileCheck %s +; RUN: llc < %s -mtriple=sparcv9 | FileCheck %s -check-prefix=V9 +; RUN: llc < %s -mtriple=sparcv9 -mattr=popc | FileCheck %s

[llvm-branch-commits] [clang] Silence -Wcast-function-type warnings on idiomatic Windows code (#135… (PR #135798)

2025-04-15 Thread Aaron Ballman via llvm-branch-commits
https://github.com/AaronBallman milestoned https://github.com/llvm/llvm-project/pull/135798 ___ 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] [GOFF] Add writing of section symbols (PR #133799)

2025-04-15 Thread Kai Nacke via llvm-branch-commits
@@ -0,0 +1,145 @@ +//===- MCSectionGOFF.cpp - GOFF Code Section Representation ---===// +// +// 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: Ap

[llvm-branch-commits] [llvm] [ConstraintElim] Opimize abs based on known constraints (PR #135754)

2025-04-15 Thread via llvm-branch-commits
https://github.com/el-ev updated https://github.com/llvm/llvm-project/pull/135754 >From c48f67f690abb727682c988341e743740e962576 Mon Sep 17 00:00:00 2001 From: Iris Shi <0...@owo.li> Date: Tue, 15 Apr 2025 15:00:58 +0800 Subject: [PATCH 1/4] [ConstraintElim] Opimize abs based on known constraint

[llvm-branch-commits] [SPARC] Use umulxhi to do extending 64x64->128 multiply when we have VIS3 (PR #135714)

2025-04-15 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov edited https://github.com/llvm/llvm-project/pull/135714 ___ 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] Use addxccc to do multiword addition when we have VIS3 (PR #135713)

2025-04-15 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/135713 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commit

[llvm-branch-commits] [SPARC] Use addxccc to do multiword addition when we have VIS3 (PR #135713)

2025-04-15 Thread Sergei Barannikov via llvm-branch-commits
@@ -1737,6 +1737,11 @@ SparcTargetLowering::SparcTargetLowering(const TargetMachine &TM, setOperationAction(ISD::SUBC, MVT::i32, Legal); setOperationAction(ISD::SUBE, MVT::i32, Legal); + if (Subtarget->isVIS3()) { +setOperationAction(ISD::ADDC, MVT::i64, Legal); +

[llvm-branch-commits] [llvm] [GOFF] Add writing of section symbols (PR #133799)

2025-04-15 Thread Kai Nacke via llvm-branch-commits
https://github.com/redstar edited https://github.com/llvm/llvm-project/pull/133799 ___ 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] Use native bitcast instructions when we have VIS3 (PR #135716)

2025-04-15 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/135716 ___ 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] Use native bitcast instructions when we have VIS3 (PR #135716)

2025-04-15 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/135716 ___ 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] [llvm][IR] Treat memcmp and bcmp as libcalls (PR #135706)

2025-04-15 Thread Paul Kirth via llvm-branch-commits
ilovepi wrote: @efriedma-quic I guess I should ask if you're opposed to us adding these to the RuntimeLibcalls? I agree that we should have some criteria spelled out, but I'm not sure we have that pinned down well enough just yet. Also, I don't see much spelled out either in our docs or comme

[llvm-branch-commits] [SPARC] Use op-then-halve instructions when we have VIS3 (PR #135718)

2025-04-15 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/135718 ___ 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] Use op-then-halve instructions when we have VIS3 (PR #135718)

2025-04-15 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/135718 ___ 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] Use lzcnt to implement CTLZ when we have VIS3 (PR #135715)

2025-04-15 Thread Sergei Barannikov via llvm-branch-commits
@@ -303,4 +303,10 @@ def : Pat<(i64 (mulhs i64:$lhs, i64:$rhs)), (SUBrr (UMULXHI $lhs, $rhs), (ADDrr (ANDrr (SRAXri $lhs, 63), $rhs), (ANDrr (SRAXri $rhs, 63), $lhs)))>; + +def : Pat<(i64 (ctlz i64:$src)), (LZCNT $src)>; +// 32-bit LZCNT.

[llvm-branch-commits] [SPARC] Use lzcnt to implement CTLZ when we have VIS3 (PR #135715)

2025-04-15 Thread Sergei Barannikov via llvm-branch-commits
@@ -0,0 +1,315 @@ +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py +; RUN: llc < %s -mtriple=sparcv9 | FileCheck %s -check-prefix=V9 +; RUN: llc < %s -mtriple=sparcv9 -mattr=popc | FileCheck %s -check-prefix=POPC +; RUN: llc < %s -mtriple=sparcv9 -mat

[llvm-branch-commits] [llvm] [llvm-debuginfo-analyzer] Add support for LLVM IR format. (PR #135440)

2025-04-15 Thread Javier Lopez-Gomez via llvm-branch-commits
jalopezg-git wrote: @CarlosAlbertoEnciso If this needs another pair of eyes, do not hesitate to add me as reviewer. Cheers! https://github.com/llvm/llvm-project/pull/135440 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https

[llvm-branch-commits] [SPARC] Use lzcnt to implement CTLZ when we have VIS3 (PR #135715)

2025-04-15 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov edited https://github.com/llvm/llvm-project/pull/135715 ___ 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] [compiler-rt] [llvm] Reentry (PR #135656)

2025-04-15 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/135656 >From b661a516d77b4e665b93c0a033c9feb4dcd5f159 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Mon, 14 Apr 2025 07:19:58 -0700 Subject: [PATCH] Reentry --- .../lib/ctx_profile/CtxInstrProfiling.cpp | 15

[llvm-branch-commits] [llvm] c5109be - [LV] Disable epilogue vectorization for FindLastIV if start is poison.

2025-04-15 Thread Tom Stellard via llvm-branch-commits
Author: Florian Hahn Date: 2025-04-15T14:14:15-07:00 New Revision: c5109be53b7eed66ea48c6339e76ca4a5c7f1f65 URL: https://github.com/llvm/llvm-project/commit/c5109be53b7eed66ea48c6339e76ca4a5c7f1f65 DIFF: https://github.com/llvm/llvm-project/commit/c5109be53b7eed66ea48c6339e76ca4a5c7f1f65.diff

[llvm-branch-commits] [llvm] 91a3f14 - [LV] Add tests with FindLastIV and epilogue vectorization.

2025-04-15 Thread Tom Stellard via llvm-branch-commits
Author: Florian Hahn Date: 2025-04-15T14:14:15-07:00 New Revision: 91a3f14d9497b761258d9358c31215ac29969dca URL: https://github.com/llvm/llvm-project/commit/91a3f14d9497b761258d9358c31215ac29969dca DIFF: https://github.com/llvm/llvm-project/commit/91a3f14d9497b761258d9358c31215ac29969dca.diff

[llvm-branch-commits] [llvm] release/20x: Revert "[ARM][ConstantIslands] Correct MinNoSplitDisp calculation (#114590)" (PR #135850)

2025-04-15 Thread via llvm-branch-commits
https://github.com/pzhengqc approved this pull request. Thanks for cherry-picking the revert to LLVM 20, @alexrp! https://github.com/llvm/llvm-project/pull/135850 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llv

[llvm-branch-commits] [clang] Silence -Wcast-function-type warnings on idiomatic Windows code (#135… (PR #135798)

2025-04-15 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/135798 >From 4da7285e636e2783835e5c1d0c9e998e9ec0ff49 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Tue, 15 Apr 2025 11:19:19 -0400 Subject: [PATCH] Silence -Wcast-function-type warnings on idiomatic Windows cod

[llvm-branch-commits] [clang] 4da7285 - Silence -Wcast-function-type warnings on idiomatic Windows code (#135660)

2025-04-15 Thread Tom Stellard via llvm-branch-commits
Author: Aaron Ballman Date: 2025-04-15T14:31:14-07:00 New Revision: 4da7285e636e2783835e5c1d0c9e998e9ec0ff49 URL: https://github.com/llvm/llvm-project/commit/4da7285e636e2783835e5c1d0c9e998e9ec0ff49 DIFF: https://github.com/llvm/llvm-project/commit/4da7285e636e2783835e5c1d0c9e998e9ec0ff49.diff

[llvm-branch-commits] [clang] Silence -Wcast-function-type warnings on idiomatic Windows code (#135… (PR #135798)

2025-04-15 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/135798 ___ 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] Silence -Wcast-function-type warnings on idiomatic Windows code (#135… (PR #135798)

2025-04-15 Thread via llvm-branch-commits
github-actions[bot] wrote: @AaronBallman (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR

[llvm-branch-commits] [compiler-rt] [llvm] Reentry (PR #135656)

2025-04-15 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/135656 >From 97e8169dc5d01429b745dc1b5ab3d49698a0cd74 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Mon, 14 Apr 2025 07:19:58 -0700 Subject: [PATCH] Reentry --- .../lib/ctx_profile/CtxInstrProfiling.cpp | 15

[llvm-branch-commits] [compiler-rt] [llvm] Reentry (PR #135656)

2025-04-15 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/135656 >From 97e8169dc5d01429b745dc1b5ab3d49698a0cd74 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Mon, 14 Apr 2025 07:19:58 -0700 Subject: [PATCH] Reentry --- .../lib/ctx_profile/CtxInstrProfiling.cpp | 15

[llvm-branch-commits] LowerTypeTests: Fix quadratic complexity. (PR #135875)

2025-04-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Peter Collingbourne (pcc) Changes Currently we have quadratic complexity in LowerTypeTests because ScopedSaveAliaseesAndUsed loops over all aliases for each disjoint set, and the number of aliases and number of disjoint sets is ro

[llvm-branch-commits] LowerTypeTests: Fix quadratic complexity. (PR #135875)

2025-04-15 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka approved this pull request. https://github.com/llvm/llvm-project/pull/135875 ___ 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] LowerTypeTests: Fix quadratic complexity. (PR #135875)

2025-04-15 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc created https://github.com/llvm/llvm-project/pull/135875 Currently we have quadratic complexity in LowerTypeTests because ScopedSaveAliaseesAndUsed loops over all aliases for each disjoint set, and the number of aliases and number of disjoint sets is roughly proportional to

[llvm-branch-commits] [clang] release/20.x: [Clang] Fix a lambda pattern comparison mismatch after ecc7e6ce4 (#133863) (PR #134194)

2025-04-15 Thread via llvm-branch-commits
https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/134194 >From 9420327ad7687df644c7dd876d23dd9c3ab7005b Mon Sep 17 00:00:00 2001 From: Younan Zhang Date: Thu, 3 Apr 2025 11:15:42 +0800 Subject: [PATCH] [Clang] Fix a lambda pattern comparison mismatch after ecc7e6ce4

[llvm-branch-commits] [clang] 9420327 - [Clang] Fix a lambda pattern comparison mismatch after ecc7e6ce4 (#133863)

2025-04-15 Thread Tom Stellard via llvm-branch-commits
Author: Younan Zhang Date: 2025-04-15T15:53:53-07:00 New Revision: 9420327ad7687df644c7dd876d23dd9c3ab7005b URL: https://github.com/llvm/llvm-project/commit/9420327ad7687df644c7dd876d23dd9c3ab7005b DIFF: https://github.com/llvm/llvm-project/commit/9420327ad7687df644c7dd876d23dd9c3ab7005b.diff

[llvm-branch-commits] [clang] release/20.x: [Clang] Fix a lambda pattern comparison mismatch after ecc7e6ce4 (#133863) (PR #134194)

2025-04-15 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/134194 ___ 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/20.x: [Clang] Fix a lambda pattern comparison mismatch after ecc7e6ce4 (#133863) (PR #134194)

2025-04-15 Thread via llvm-branch-commits
github-actions[bot] wrote: @zyn0217 (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. h

[llvm-branch-commits] LowerTypeTests: Fix quadratic complexity. (PR #135875)

2025-04-15 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/135875 ___ 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] LowerTypeTests: Fix quadratic complexity. (PR #135875)

2025-04-15 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/135875 ___ 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] [compiler-rt] [llvm] Reentry (PR #135656)

2025-04-15 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/135656 >From 0c336eaca5dfe8ec69951da051aee36d3ae110f4 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Mon, 14 Apr 2025 07:19:58 -0700 Subject: [PATCH] Reentry --- .../lib/ctx_profile/CtxInstrProfiling.cpp | 15

[llvm-branch-commits] [compiler-rt] [llvm] Reentry (PR #135656)

2025-04-15 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/135656 >From 0c336eaca5dfe8ec69951da051aee36d3ae110f4 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Mon, 14 Apr 2025 07:19:58 -0700 Subject: [PATCH] Reentry --- .../lib/ctx_profile/CtxInstrProfiling.cpp | 15

[llvm-branch-commits] [llvm] release/20.x: [llvm][Hexagon] Promote operand v2i1 to v2i32 (#135409) (PR #135461)

2025-04-15 Thread Ikhlas Ajbar via llvm-branch-commits
https://github.com/iajbar approved this pull request. LGTM. Thanks. https://github.com/llvm/llvm-project/pull/135461 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-co

[llvm-branch-commits] [BOLT][test] Fix callcont-fallthru.s after #129481 (PR #135867)

2025-04-15 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/135867 Force the use of llvm-nm for PREAGGPLT check. Test Plan: bin/llvm-lit -a tools/bolt/test/X86/callcont-fallthru.s ___ llvm-branch-commits mailing list llvm-branch-com

[llvm-branch-commits] [BOLT][test] Fix callcont-fallthru.s after #129481 (PR #135867)

2025-04-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-bolt Author: Amir Ayupov (aaupov) Changes Force the use of llvm-nm for PREAGGPLT check. Test Plan: bin/llvm-lit -a tools/bolt/test/X86/callcont-fallthru.s --- Full diff: https://github.com/llvm/llvm-project/pull/135867.diff 1 Files Affected: - (mod

[llvm-branch-commits] [NFC][Driver][CFI] Rename to clarify purpose of CFI runtime (PR #135885)

2025-04-15 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer approved this pull request. https://github.com/llvm/llvm-project/pull/135885 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] release/20.x: [libc++] Fix misplaced _LIBCPP_POP_MACROS (#134874) (PR #134895)

2025-04-15 Thread via llvm-branch-commits
https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/134895 >From d55c3c20520a72049d725a08cfb36dbafc743886 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Tue, 8 Apr 2025 13:44:03 -0400 Subject: [PATCH] [libc++] Fix misplaced _LIBCPP_POP_MACROS (#134874) Fixes #134681

[llvm-branch-commits] [libcxx] d55c3c2 - [libc++] Fix misplaced _LIBCPP_POP_MACROS (#134874)

2025-04-15 Thread Tom Stellard via llvm-branch-commits
Author: Louis Dionne Date: 2025-04-15T17:20:58-07:00 New Revision: d55c3c20520a72049d725a08cfb36dbafc743886 URL: https://github.com/llvm/llvm-project/commit/d55c3c20520a72049d725a08cfb36dbafc743886 DIFF: https://github.com/llvm/llvm-project/commit/d55c3c20520a72049d725a08cfb36dbafc743886.diff

[llvm-branch-commits] [llvm] release/20.x: [llvm][Hexagon] Promote operand v2i1 to v2i32 (#135409) (PR #135461)

2025-04-15 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/135461 ___ 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] 86f5891 - [llvm][Hexagon] Promote operand v2i1 to v2i32 (#135409)

2025-04-15 Thread Tom Stellard via llvm-branch-commits
Author: Ikhlas Ajbar Date: 2025-04-15T17:22:27-07:00 New Revision: 86f5891c5986a34ae2311bcfa9e4bf56b58f14e4 URL: https://github.com/llvm/llvm-project/commit/86f5891c5986a34ae2311bcfa9e4bf56b58f14e4 DIFF: https://github.com/llvm/llvm-project/commit/86f5891c5986a34ae2311bcfa9e4bf56b58f14e4.diff

[llvm-branch-commits] [llvm] release/20.x: [llvm][Hexagon] Promote operand v2i1 to v2i32 (#135409) (PR #135461)

2025-04-15 Thread via llvm-branch-commits
https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/135461 >From 86f5891c5986a34ae2311bcfa9e4bf56b58f14e4 Mon Sep 17 00:00:00 2001 From: Ikhlas Ajbar Date: Fri, 11 Apr 2025 14:25:50 -0500 Subject: [PATCH] [llvm][Hexagon] Promote operand v2i1 to v2i32 (#135409) Fixes #1

[llvm-branch-commits] [libcxx] release/20.x: [libc++] Fix misplaced _LIBCPP_POP_MACROS (#134874) (PR #134895)

2025-04-15 Thread via llvm-branch-commits
github-actions[bot] wrote: @ldionne (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. h

[llvm-branch-commits] [libcxx] release/20.x: [libc++] Fix misplaced _LIBCPP_POP_MACROS (#134874) (PR #134895)

2025-04-15 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/134895 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/20x: Revert "[ARM][ConstantIslands] Correct MinNoSplitDisp calculation (#114590)" (PR #135850)

2025-04-15 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/135850 ___ 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] 923a5c4 - Revert "[ARM][ConstantIslands] Correct MinNoSplitDisp calculation (#114590)"

2025-04-15 Thread Tom Stellard via llvm-branch-commits
Author: Alex Rønne Petersen Date: 2025-04-15T17:23:49-07:00 New Revision: 923a5c4f83d2b3675bb88e9fe441daeaa4d69488 URL: https://github.com/llvm/llvm-project/commit/923a5c4f83d2b3675bb88e9fe441daeaa4d69488 DIFF: https://github.com/llvm/llvm-project/commit/923a5c4f83d2b3675bb88e9fe441daeaa4d69488

[llvm-branch-commits] [llvm] release/20x: Revert "[ARM][ConstantIslands] Correct MinNoSplitDisp calculation (#114590)" (PR #135850)

2025-04-15 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/135850 >From 923a5c4f83d2b3675bb88e9fe441daeaa4d69488 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Tue, 15 Apr 2025 22:32:34 +0200 Subject: [PATCH] Revert "[ARM][ConstantIslands] Corre

[llvm-branch-commits] [llvm] release/20.x: [llvm][Hexagon] Promote operand v2i1 to v2i32 (#135409) (PR #135461)

2025-04-15 Thread via llvm-branch-commits
github-actions[bot] wrote: @androm3da (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

[llvm-branch-commits] [llvm] release/20x: Revert "[ARM][ConstantIslands] Correct MinNoSplitDisp calculation (#114590)" (PR #135850)

2025-04-15 Thread via llvm-branch-commits
github-actions[bot] wrote: @alexrp (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. ht

<    1   2   3   >