[llvm-branch-commits] [CI] Exclude docs directories from triggering rebuilds (PR #133185)

2025-04-05 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/133185 ___ 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] Gadget scanner: refactor analysis of RET instructions (PR #131897)

2025-04-05 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/131897 >From 00d2c847edfe93465587e3931e2bc805028f355b Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Mon, 17 Mar 2025 19:28:25 +0300 Subject: [PATCH 1/2] [BOLT] Gadget scanner: refactor analysis of RET in

[llvm-branch-commits] [llvm] [AMDGPU] Prevent SI_CS_CHAIN instruction from giving registers classes in generic instructions (PR #131329)

2025-04-05 Thread Diana Picus via llvm-branch-commits
https://github.com/rovka closed https://github.com/llvm/llvm-project/pull/131329 ___ 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: [LoongArch] Move fix-tle-le-sym-type test to test/MC. NFC (#133839) (PR #134014)

2025-04-05 Thread via llvm-branch-commits
llvmbot wrote: @SixWeining What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/134014 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/li

[llvm-branch-commits] [clang] [clang-tools-extra] [clang][HeuristicResolver] Default argument heuristic for template parameters (PR #131074)

2025-04-05 Thread Nathan Ridge via llvm-branch-commits
@@ -125,6 +126,20 @@ TagDecl *HeuristicResolverImpl::resolveTypeToTagDecl(QualType QT) { if (!T) return nullptr; + // If T is the type of a template parameter, we can't get a useful TagDecl + // out of it. However, if the template parameter has a default argument, +

[llvm-branch-commits] compiler-rt: Introduce runtime functions for emulated PAC. (PR #133530)

2025-04-05 Thread Chris B via llvm-branch-commits
@@ -0,0 +1,7343 @@ +/* + * xxHash - Extremely Fast Hash algorithm + * Header File + * Copyright (C) 2012-2023 Yann Collet + * + * BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php) llvm-beanz wrote: The introduction of BSD-licensed code to

[llvm-branch-commits] [llvm] [KeyInstr] Inline atom info (PR #133481)

2025-04-05 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-debuginfo Author: Orlando Cazalet-Hyams (OCHyams) Changes Source atom groups are identified by an atom group number and inlined-at pair, so we simply can copy the atom numbers into the caller when inlining. --- Full diff: https://github.com/llvm/llvm-pr

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: add RegBankLegalize rules for extends and trunc (PR #132383)

2025-04-05 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/132383 >From fdca6f36c330e482508359c45557b07c45c7b898 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Thu, 27 Mar 2025 14:44:20 +0100 Subject: [PATCH] AMDGPU/GlobalISel: add RegBankLegalize rules for exten

[llvm-branch-commits] [llvm] [KeyInstr][Inline] Don't propagate atoms to inlined nodebug instructions (PR #133485)

2025-04-05 Thread Orlando Cazalet-Hyams via llvm-branch-commits
OCHyams 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/133485?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] [LV] Reduce register usage for scaled reductions (PR #133090)

2025-04-05 Thread Sander de Smalen via llvm-branch-commits
@@ -2,6 +2,7 @@ ; RUN: opt -passes=loop-vectorize -enable-epilogue-vectorization=false -mattr=+neon,+dotprod -force-vector-interleave=1 -S < %s | FileCheck %s --check-prefixes=CHECK-INTERLEAVE1 ; RUN: opt -passes=loop-vectorize -enable-epilogue-vectorization=false -mattr=+neo

[llvm-branch-commits] [llvm] [SPARC][MC] Add tests for VIS family instructions (PR #130967)

2025-04-05 Thread Sergei Barannikov via llvm-branch-commits
@@ -0,0 +1,55 @@ +! RUN: not llvm-mc %s -triple=sparcv9 -show-encoding 2>&1 | FileCheck %s --check-prefixes=NO-VIS2 +! RUN: llvm-mc %s -triple=sparcv9 -mattr=+vis2 -show-encoding | FileCheck %s --check-prefixes=VIS2 + +!! VIS 2 instructions. + +! NO-VIS2: error: instruction requ

[llvm-branch-commits] MachineInstrBuilder: Introduce copyMIMetadata() function. (PR #133535)

2025-04-05 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc created https://github.com/llvm/llvm-project/pull/133535 This reduces the amount of boilerplate required when adding a new field to MIMetadata and reduces the chance of bugs like the one I fixed in TargetInstrInfo::reassociateOps.

[llvm-branch-commits] [llvm] [AMDGPU][SDAG] Only fold flat offsets if they are inbounds (PR #132353)

2025-04-05 Thread Fabian Ritter via llvm-branch-commits
@@ -13,9 +13,9 @@ define protected amdgpu_kernel void @InferNothing(i32 %a, ptr %b, double %c) { ; CHECK-NEXT:s_lshl_b64 s[2:3], s[6:7], 3 ; CHECK-NEXT:s_add_u32 s0, s2, s0 ; CHECK-NEXT:s_addc_u32 s1, s3, s1 -; CHECK-NEXT:v_mov_b32_e32 v3, s1 -; CHECK-NEXT:

[llvm-branch-commits] [llvm] [BOLT] Make DataflowAnalysis::getStateBefore() const (NFC) (PR #133308)

2025-04-05 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/133308 >From c7395a163286ee331fc601b35222f5a3d422d188 Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Thu, 27 Mar 2025 21:06:55 +0300 Subject: [PATCH] [BOLT] Make DataflowAnalysis::getStateBefore() const (N

[llvm-branch-commits] [llvm] [KeyInstr][SimplifyCFG] Remap atoms when folding br to common succ into pred (PR #133482)

2025-04-05 Thread Orlando Cazalet-Hyams via llvm-branch-commits
OCHyams 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/133482?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] [KeyInstr][LoopRotate] Remap atoms of duplicated instructions (PR #133490)

2025-04-05 Thread Orlando Cazalet-Hyams via llvm-branch-commits
https://github.com/OCHyams created https://github.com/llvm/llvm-project/pull/133490 None >From 20a853373f9105f54a973b6d933a8010edaf316a Mon Sep 17 00:00:00 2001 From: Orlando Cazalet-Hyams Date: Wed, 26 Mar 2025 16:03:41 + Subject: [PATCH] [KeyInstr][LoopRotate] Remap atoms of duplicated i

[llvm-branch-commits] [llvm] [LoopInterchange] Add tests for the vectorization profitability (NFC) (PR #133665)

2025-04-05 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj edited https://github.com/llvm/llvm-project/pull/133665 ___ 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] [mlir] [mlir][LLVM] Delete `LLVMFixedVectorType` and `LLVMScalableVectorType` (PR #133286)

2025-04-05 Thread Christian Ulmann via llvm-branch-commits
@@ -3108,35 +3102,27 @@ OpFoldResult LLVM::ZeroOp::fold(FoldAdaptor) { //===--===// /// Compute the total number of elements in the given type, also taking into -/// account nested types. Supported types are

[llvm-branch-commits] [llvm] [LV] Reduce register usage for scaled reductions (PR #133090)

2025-04-05 Thread Sam Tebbs via llvm-branch-commits
@@ -3177,6 +3177,420 @@ for.exit:; preds = %for.body ret i32 %add } +define dso_local void @dotp_high_register_pressure(ptr %a, ptr %b, ptr %sum, i32 %n) #1 { SamTebbs33 wrote: Added. https://github.com/llvm/llvm-project/pull/13309

[llvm-branch-commits] [compiler-rt] [llvm] [ctxprof] root autodetection mechanism (PR #133147)

2025-04-05 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/133147 >From e2bee273299d11c164ac6bf05cfd37dff20fadce Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Mon, 24 Mar 2025 12:01:10 -0700 Subject: [PATCH] RootAutodetect --- compiler-rt/lib/ctx_profile/CMakeLists.txt

[llvm-branch-commits] [compiler-rt] [compiler-rt][Darwin][x86] Fix instrprof-darwin-exports test (#131425) (PR #132500)

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

[llvm-branch-commits] [clang] release/20.x: Reduce memory usage in AST parent map generation by lazily checking if nodes have been seen (#129934) (PR #131209)

2025-04-05 Thread via llvm-branch-commits
https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/131209 >From 0b23d98dceaa9f965bfa196a6adfa38b1b8bda8e Mon Sep 17 00:00:00 2001 From: higher-performance Date: Thu, 13 Mar 2025 16:02:39 -0400 Subject: [PATCH] Reduce memory usage in AST parent map generation by lazily

[llvm-branch-commits] [llvm] [BOLT] Gadget scanner: Detect address materialization and arithmetics (PR #132540)

2025-04-05 Thread Jacob Bramley via llvm-branch-commits
@@ -0,0 +1,228 @@ +// RUN: %clang %cflags -march=armv8.3-a %s -o %t.exe +// RUN: llvm-bolt-binary-analysis --scanners=pauth %t.exe 2>&1 | FileCheck %s + +// Test various patterns that should or should not be considered safe +// materialization of PC-relative addresses. +// +// Not

[llvm-branch-commits] [clang] [clang-tools-extra] [lldb] [clang] Template Specialization Resugaring - TypeDecl (PR #132441)

2025-04-05 Thread Matheus Izvekov via llvm-branch-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/132441 >From 0793555771f9855a12c267eb4f2de1341a8556d1 Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Mon, 30 May 2022 01:46:31 +0200 Subject: [PATCH] [clang] Template Specialization Resugaring - TypeDecl This i

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: add RegBankLegalize rules for AND OR and XOR (PR #132382)

2025-04-05 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/132382 >From 4e74a7e91e4b8638b30f3bd13437b7a149e7a1a1 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Thu, 27 Mar 2025 14:42:48 +0100 Subject: [PATCH] AMDGPU/GlobalISel: add RegBankLegalize rules for AND O

[llvm-branch-commits] libcxx: In gdb test detect execute_mi with feature check instead of version check. (PR #132291)

2025-04-05 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libcxx Author: Peter Collingbourne (pcc) Changes The existing version check can lead to test failures on some distribution packages of gdb where not all components of the version number are integers, such as Fedora where gdb.VERSION can be something like

[llvm-branch-commits] [flang] [flang][OpenMP] Extend `do concurrent` mapping to multi-range loops (PR #127634)

2025-04-05 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy updated https://github.com/llvm/llvm-project/pull/127634 >From 4515ac1a9f1a3efe94c902b7882400d04d25d4e8 Mon Sep 17 00:00:00 2001 From: ergawy Date: Tue, 18 Feb 2025 06:17:17 -0600 Subject: [PATCH 1/2] [flang][OpenMP] Extend `do concurrent` mapping to multi-range loops

[llvm-branch-commits] [llvm] llvm-reduce: Fix losing fast math flags in operands-to-args (PR #133421)

2025-04-05 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: > can we have a CallInst copy all flags/metadata helper function? Mostly could. The attribute case is trickier because you need to remap the indexes if the signature changed https://github.com/llvm/llvm-project/pull/133421 ___ llvm-bra

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

2025-04-05 Thread Ulrich Weigand via llvm-branch-commits
@@ -2767,15 +2774,55 @@ MCSection *TargetLoweringObjectFileGOFF::getExplicitSectionGlobal( MCSection *TargetLoweringObjectFileGOFF::getSectionForLSDA( const Function &F, const MCSymbol &FnSym, const TargetMachine &TM) const { std::string Name = ".gcc_exception_table." +

[llvm-branch-commits] [lldb] 21eeef5 - Revert "[lldb] Show target.debug-file-search-paths setting from python SBDeb…"

2025-04-05 Thread via llvm-branch-commits
Author: Ebuka Ezike Date: 2025-03-21T12:53:58Z New Revision: 21eeef598376abdf6cd2af6e674948a80eacb8ef URL: https://github.com/llvm/llvm-project/commit/21eeef598376abdf6cd2af6e674948a80eacb8ef DIFF: https://github.com/llvm/llvm-project/commit/21eeef598376abdf6cd2af6e674948a80eacb8ef.diff LOG: R

[llvm-branch-commits] [llvm] e256eda - [LoongArch][MC] Add relocation support for fld fst [x]vld [x]vst

2025-04-05 Thread Tom Stellard via llvm-branch-commits
Author: wanglei Date: 2025-04-01T16:07:12-07:00 New Revision: e256eda15377acf4e26ea135a33e20ec4bd23ac0 URL: https://github.com/llvm/llvm-project/commit/e256eda15377acf4e26ea135a33e20ec4bd23ac0 DIFF: https://github.com/llvm/llvm-project/commit/e256eda15377acf4e26ea135a33e20ec4bd23ac0.diff LOG:

[llvm-branch-commits] [llvm] [KeyInstr][JumpThreading] Remap atoms in blocks duplicated for threading (PR #133486)

2025-04-05 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-debuginfo Author: Orlando Cazalet-Hyams (OCHyams) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/133486.diff 2 Files Affected: - (modified) llvm/lib/Transforms/Scalar/JumpThreading.cpp (+14-1) - (added) llvm/test/DebugInfo/KeyInst

[llvm-branch-commits] [llvm] [LoopInterchange] Improve profitability check for vectorization (PR #133672)

2025-04-05 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj updated https://github.com/llvm/llvm-project/pull/133672 >From 72b48ba6d6b70eb9a65abdc516697f3dee9c7a2e Mon Sep 17 00:00:00 2001 From: Ryotaro Kasuga Date: Thu, 27 Mar 2025 10:45:26 + Subject: [PATCH] [LoopInterchange] Improve profitability check for vectorizat

[llvm-branch-commits] [llvm] release/20.x: Avoid a race condition in opt-viewer/optrecord (#131214) (PR #134058)

2025-04-05 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/134058 Backport e0f8898e1d432ab4fdcaf353bf87a1d3cf36491a Requested by: @nikic >From 5c06ff7c2679dc8cf290d6fdde33a68fb8c733e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 2 Apr 2025 11:52:

[llvm-branch-commits] [clang-tools-extra] [clang-doc][NFC] Remove unnecessary directory cleanup (PR #132101)

2025-04-05 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/132101 >From 3f09b51ea96344fe03a6ffd453d4fba48e700526 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Wed, 19 Mar 2025 20:58:15 + Subject: [PATCH] [clang-doc][NFC] Remove unnecessary directory cleanup The tests al

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

2025-04-05 Thread Neumann Hon via llvm-branch-commits
@@ -253,6 +427,45 @@ void GOFFWriter::writeHeader() { OS.write_zeros(6); // Reserved } +void GOFFWriter::writeSymbol(const GOFFSymbol &Symbol) { + if (Symbol.Offset >= (((uint64_t)1) << 31)) +report_fatal_error("ESD offset outof range"); Everybody

[llvm-branch-commits] [clang] [clang] resugar decltype of DeclRefExpr (PR #132447)

2025-04-05 Thread Matheus Izvekov via llvm-branch-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/132447 >From 6b9e8d13fa1bd6a6583eab3eef74833b023f1d06 Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Fri, 14 Mar 2025 19:41:38 -0300 Subject: [PATCH] [clang] resugar decltype of DeclRefExpr This keeps around th

[llvm-branch-commits] [llvm] [BOLT] Gadget scanner: detect non-protected indirect calls (PR #131899)

2025-04-05 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/131899 >From f2b0aece24f35199e88b37ed8d6a6f96ee4b6b26 Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Tue, 18 Mar 2025 21:32:11 +0300 Subject: [PATCH 1/2] [BOLT] Gadget scanner: detect non-protected indirec

[llvm-branch-commits] [compiler-rt] [llvm] [ctxprof] root autodetection mechanism (PR #133147)

2025-04-05 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/133147 >From b78258c5b562de7f8d7cc5b64341f1e537e447d0 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Mon, 24 Mar 2025 12:01:10 -0700 Subject: [PATCH] RootAutodetect --- compiler-rt/lib/ctx_profile/CMakeLists.txt

[llvm-branch-commits] [libcxx] 44a6f6a - [libcxx] [test] Fix restoring LLVM_DIR and Clang_DIR (#132838)

2025-04-05 Thread Tom Stellard via llvm-branch-commits
Author: Martin Storsjö Date: 2025-03-28T23:19:10-07:00 New Revision: 44a6f6abbdb6f0eebfaf1ad6f601c29f80782de7 URL: https://github.com/llvm/llvm-project/commit/44a6f6abbdb6f0eebfaf1ad6f601c29f80782de7 DIFF: https://github.com/llvm/llvm-project/commit/44a6f6abbdb6f0eebfaf1ad6f601c29f80782de7.diff

[llvm-branch-commits] [llvm] [BOLT] Gadget scanner: streamline issue reporting (PR #131896)

2025-04-05 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/131896 >From 4af05a4981ec82dd0bce922725ee5b0f72ff8c9b Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Mon, 17 Mar 2025 18:21:30 +0300 Subject: [PATCH 1/3] [BOLT] Gadget scanner: streamline issue reporting

[llvm-branch-commits] [llvm] [ctxprof] Support for "move" semantics for the contextual root (PR #134192)

2025-04-05 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/134192 >From e7921cb1e200eb5f7456b2a3879082e5b21681a6 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Wed, 2 Apr 2025 18:39:14 -0700 Subject: [PATCH] [ctxprof] Support for "move" semantics for the contextual root

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

2025-04-05 Thread via llvm-branch-commits
llvmbot wrote: @erichkeane What do you think about merging this PR to the release branch? 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/li

[llvm-branch-commits] [llvm] llvm-reduce: Reduce with early return of arguments (PR #133627)

2025-04-05 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/133627 >From 3e646d940a2fece2624de27e223639cd2546b694 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 24 Mar 2025 14:33:36 +0700 Subject: [PATCH] llvm-reduce: Reduce with early return of arguments Extend the i

[llvm-branch-commits] [compiler-rt] [Sanitizers][Darwin][Test] XFAIL malloc_zone.cpp (PR #133832)

2025-04-05 Thread Mariusz Borsa via llvm-branch-commits
https://github.com/wrotki updated https://github.com/llvm/llvm-project/pull/133832 >From 997a9ef880ce4ee4282c92c9fbadf1652c04d94c Mon Sep 17 00:00:00 2001 From: Mariusz Borsa Date: Mon, 31 Mar 2025 17:06:41 -0700 Subject: [PATCH] release/20.x: [Sanitizers][Darwin][Test] XFAIL malloc_zone.cpp

[llvm-branch-commits] [llvm] [BOLT] Make DataflowAnalysis::getStateBefore() const (NFC) (PR #133308)

2025-04-05 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/133308 >From 12d4a200bee45399a64fdeaee37f6edd5eee4bfd Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Thu, 27 Mar 2025 21:06:55 +0300 Subject: [PATCH] [BOLT] Make DataflowAnalysis::getStateBefore() const (N

[llvm-branch-commits] [clang] [Driver] Change linker job in Baremetal toolchain object accomodate GCCInstallation.(2/3) (PR #121830)

2025-04-05 Thread Garvit Gupta via llvm-branch-commits
https://github.com/quic-garvgupt updated https://github.com/llvm/llvm-project/pull/121830 >From f4af05b47bddc3a88309341d5ff79cc9178f78ec Mon Sep 17 00:00:00 2001 From: Garvit Gupta Date: Mon, 24 Mar 2025 04:58:57 -0700 Subject: [PATCH] [Driver] Add support for crtbegin.o, crtend.o and libgloss

[llvm-branch-commits] compiler-rt: Introduce runtime functions for emulated PAC. (PR #133530)

2025-04-05 Thread via llvm-branch-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff f2e0ad9c6c60da547b91f170520a2b97cfd967a9 84a0613573c370d902dc32a529f2d30f2b83863f --e

[llvm-branch-commits] [clang] release/20.x: cuda clang: Fix argument order for __reduce_max_sync (#132881) (PR #134295)

2025-04-05 Thread Durgadoss R via llvm-branch-commits
durga4github wrote: > @durga4github What do you think about merging this PR to the release branch? As Artem mentioned, it is a low-risk fix impacting the lowering to the redux_sync family of intrinsics only. So, it is good to merge it to the release branch. https://github.com/llvm/llvm-projec

[llvm-branch-commits] [llvm] [KeyInstr][DwarfDebug] Add is_stmt emission support (PR #133495)

2025-04-05 Thread Orlando Cazalet-Hyams via llvm-branch-commits
OCHyams 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/133495?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [flang] [flang][OpenMP] Extend `do concurrent` mapping to multi-range loops (PR #127634)

2025-04-05 Thread Sergio Afonso via llvm-branch-commits
@@ -210,6 +223,96 @@ mlir::LogicalResult collectLoopNest(fir::DoLoopOp currentLoop, return mlir::success(); } + +/// Prepares the `fir.do_loop` nest to be easily mapped to OpenMP. In +/// particular, this function would take this input IR: +/// ``` +/// fir.do_loop %i_iv =

[llvm-branch-commits] [clang] [Driver] Fix link order of BareMetal toolchain object (PR #132806)

2025-04-05 Thread Fangrui Song via llvm-branch-commits
MaskRay wrote: > The linker job in BareMetal toolchain object will be used by gnuld and lld > both. GNU ld instead of gnuld. https://github.com/llvm/llvm-project/pull/132806 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http

[llvm-branch-commits] [clang] [lld] [llvm] release/20.x: [hexagon] Bump the default version to v68 (#132304) (PR #132499)

2025-04-05 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/132499 Backport 759ef5811e22 c0b2c10e9f3a Requested by: @androm3da >From ae055f832bba1c73d5f5efa1d90ac6b5eef6174d Mon Sep 17 00:00:00 2001 From: Ikhlas Ajbar Date: Fri, 31 Jan 2025 11:59:39 -0600 Subject: [PATCH 1/2]

[llvm-branch-commits] [clang] release/20.x: [clang] Do not infer lifetimebound for functions with void return type (#131997) (PR #133998)

2025-04-05 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (llvmbot) Changes Backport 65ee2813f9f9a8cd11c5e9ea372da7d12867b52f Requested by: @cor3ntin --- Full diff: https://github.com/llvm/llvm-project/pull/133998.diff 2 Files Affected: - (modified) clang/lib/Sema/SemaAttr.cpp (+5) - (a

[llvm-branch-commits] [llvm] [LoopInterchange] Fix the vectorizable check for a loop (PR #133667)

2025-04-05 Thread Ryotaro Kasuga via llvm-branch-commits
https://github.com/kasuga-fj updated https://github.com/llvm/llvm-project/pull/133667 >From ae5d9cff055000480e7e71205265b18911440e29 Mon Sep 17 00:00:00 2001 From: Ryotaro Kasuga Date: Thu, 27 Mar 2025 09:52:16 + Subject: [PATCH] [LoopInterchange] Fix the vectorizable check for a loop In t

[llvm-branch-commits] [lldb] release/20.x: [lldb] Use correct path for lldb-server executable (#131519) (PR #134072)

2025-04-05 Thread David Spickett via llvm-branch-commits
DavidSpickett wrote: My justification to backport: this was fixing a regression introduced by lldb 20, and https://github.com/llvm/llvm-project/issues/132024 is a separate report of what I think is the same issue. https://github.com/llvm/llvm-project/pull/134072 ___

[llvm-branch-commits] [llvm] release/20.x: [X86] When expanding LCMPXCHG16B_SAVE_RBX, substitute RBX in base (#134109) (PR #134331)

2025-04-05 Thread Phoebe Wang via llvm-branch-commits
https://github.com/phoebewang approved this pull request. https://github.com/llvm/llvm-project/pull/134331 ___ 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-format] Set C11 instead of C17 for LK_C (PR #134514)

2025-04-05 Thread Owen Pan via llvm-branch-commits
owenca wrote: Copied the entire `getFormattingLangOpts()` function from commit d71ee7d23048ca64d14a7536927a006867cea39a to resolve conflicts. https://github.com/llvm/llvm-project/pull/134514 ___ llvm-branch-commits mailing list llvm-branch-commits@lis

[llvm-branch-commits] [clang] Release/20.x: [clang-format] Set C11 instead of C17 for LK_C (PR #134514)

2025-04-05 Thread Owen Pan via llvm-branch-commits
https://github.com/owenca milestoned https://github.com/llvm/llvm-project/pull/134514 ___ 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-format] Set C11 instead of C17 for LK_C (PR #134514)

2025-04-05 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes Backport d71ee7d23048ca64d14a7536927a006867cea39a --- Full diff: https://github.com/llvm/llvm-project/pull/134514.diff 6 Files Affected: - (modified) clang/lib/Format/Format.cpp (+25-17) - (modified) cl

[llvm-branch-commits] [clang] Release/20.x: [clang-format] Set C11 instead of C17 for LK_C (PR #134514)

2025-04-05 Thread Owen Pan via llvm-branch-commits
https://github.com/owenca created https://github.com/llvm/llvm-project/pull/134514 Backport d71ee7d23048ca64d14a7536927a006867cea39a >From 4b705f9a9a06276f9586d628a409814104ce8e3a Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Sat, 5 Apr 2025 13:35:45 -0700 Subject: [PATCH] Release/20.x: [clang

[llvm-branch-commits] [llvm] llvm-reduce: Do not reduce alloca array sizes to 0 (PR #132864)

2025-04-05 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/132864 >From 8b7fcfc65d1615368805f5c3c5a459cc7e8c026a Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 25 Mar 2025 09:39:18 +0700 Subject: [PATCH] llvm-reduce: Do not reduce alloca array sizes to 0 Fixes #64340

[llvm-branch-commits] [mlir] [mlir][LLVM] Delete `LLVMFixedVectorType` and `LLVMScalableVectorType` (PR #133286)

2025-04-05 Thread Matthias Springer via llvm-branch-commits
https://github.com/matthias-springer edited https://github.com/llvm/llvm-project/pull/133286 ___ 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-reduce: Preserve uselistorder when writing thinlto bitcode (PR #133369)

2025-04-05 Thread Teresa Johnson via llvm-branch-commits
@@ -769,7 +769,11 @@ void ReducerWorkItem::readBitcode(MemoryBufferRef Data, LLVMContext &Ctx, } void ReducerWorkItem::writeBitcode(raw_ostream &OutStream) const { + const bool ShouldPreserveUseListOrder = true; + if (LTOInfo && LTOInfo->IsThinLTO && LTOInfo->EnableSplitL

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: add RegBankLegalize rules for bit shifts and sext-inreg (PR #132385)

2025-04-05 Thread Petar Avramovic via llvm-branch-commits
petar-avramovic 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/132385?utm_source=stack-comment-downstack-mergeability-w

[llvm-branch-commits] [clang] [clang] Template Specialization Resugaring - Template Type Alias (PR #132442)

2025-04-05 Thread Matheus Izvekov via llvm-branch-commits
https://github.com/mizvekov created https://github.com/llvm/llvm-project/pull/132442 This implements an additional user of the resugaring transform: the pattern of template type aliases. For more details and discussion see: https://discourse.llvm.org/t/rfc-improving-diagnostics-with-template-s

[llvm-branch-commits] [llvm] [BOLT] Gadget scanner: analyze functions without CFG information (PR #133461)

2025-04-05 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-bolt Author: Anatoly Trosinenko (atrosinenko) Changes Support simple analysis of the functions for which BOLT is unable to reconstruct the CFG. This patch is inspired by the approach implemented by Kristof Beyls in the original prototype of gadget scanne

[llvm-branch-commits] [mlir] [mlir][memref] Check memory space before lowering alloc ops (PR #134427)

2025-04-05 Thread Markus Böck via llvm-branch-commits
@@ -75,9 +75,11 @@ class ConvertToLLVMPattern : public ConversionPattern { ValueRange indices, ConversionPatternRewriter &rewriter) const; - /// Returns if the given memref has identity maps and the element type is -

[llvm-branch-commits] [mlir] [mlir][memref] Check memory space before lowering alloc ops (PR #134427)

2025-04-05 Thread Markus Böck via llvm-branch-commits
@@ -22,7 +22,7 @@ func.func @bad_address_space(%a: memref<2xindex, "foo">) { // CHECK-LABEL: @invalid_int_conversion func.func @invalid_int_conversion() { - // expected-error@+1 {{conversion of memref memory space 1 : ui64 to integer address space failed. Consider adding

<    1   2