[llvm-branch-commits] [clang] Backport/20.x: [Clang] Fix an incorrect assumption on getTemplatedDecl() (PR #131729)

2025-03-17 Thread via llvm-branch-commits
https://github.com/cor3ntin approved this pull request. https://github.com/llvm/llvm-project/pull/131729 ___ 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] [CodeGen][NPM] Port LiveDebugValues to NPM (PR #131563)

2025-03-17 Thread Matt Arsenault via llvm-branch-commits
@@ -77,36 +78,68 @@ class LiveDebugValues : public MachineFunctionPass { AU.setPreservesCFG(); MachineFunctionPass::getAnalysisUsage(AU); } +}; + +struct LiveDebugValues { + LiveDebugValues(); + ~LiveDebugValues() = default; + bool run(MachineFunction &MF, bool Sho

[llvm-branch-commits] [compiler-rt] [llvm] [ctxprof] Track unhandled call targets (PR #131417)

2025-03-17 Thread Snehasish Kumar via llvm-branch-commits
@@ -265,7 +275,16 @@ Error llvm::createCtxProfFromYAML(StringRef Profile, raw_ostream &Out) { if (!TopList) return createStringError( "Unexpected error converting internal structure to ctx profile"); - Writer.writeContextual(*TopList, DC.TotalRoo

[llvm-branch-commits] [compiler-rt] [llvm] [ctxprof] Track unhandled call targets (PR #131417)

2025-03-17 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/131417 >From 82e70eef49a048788bc5413e44461f2b7f96cf91 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Fri, 14 Mar 2025 15:59:22 -0700 Subject: [PATCH] [ctxprof] Track unhandled call targets --- .../lib/ctx_profile

[llvm-branch-commits] [clang] Backport/20.x: [Clang] Fix an incorrect assumption on getTemplatedDecl() (PR #131729)

2025-03-17 Thread Younan Zhang via llvm-branch-commits
https://github.com/zyn0217 milestoned https://github.com/llvm/llvm-project/pull/131729 ___ 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] Backport/20.x: [Clang] Fix an incorrect assumption on getTemplatedDecl() (PR #131729)

2025-03-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Younan Zhang (zyn0217) Changes This backports d9110858ee because it fixes a regression introduced in 19 and we don't want it to persist in 20 --- Full diff: https://github.com/llvm/llvm-project/pull/131729.diff 3 Files Affected: - (mod

[llvm-branch-commits] [compiler-rt] [llvm] [ctxprof] Track unhandled call targets (PR #131417)

2025-03-17 Thread Snehasish Kumar via llvm-branch-commits
@@ -246,22 +246,37 @@ ContextNode *getFlatProfile(FunctionData &Data, GUID Guid, ContextNode *getUnhandledContext(FunctionData &Data, GUID Guid, uint32_t NumCounters) { - // 1) if we are under a root (regardless if this thread is collecting or

[llvm-branch-commits] [compiler-rt] [llvm] [ctxprof] Track unhandled call targets (PR #131417)

2025-03-17 Thread Snehasish Kumar via llvm-branch-commits
@@ -246,22 +246,37 @@ ContextNode *getFlatProfile(FunctionData &Data, GUID Guid, ContextNode *getUnhandledContext(FunctionData &Data, GUID Guid, uint32_t NumCounters) { - // 1) if we are under a root (regardless if this thread is collecting or

[llvm-branch-commits] [compiler-rt] [llvm] [ctxprof] Track unhandled call targets (PR #131417)

2025-03-17 Thread Snehasish Kumar via llvm-branch-commits
@@ -83,6 +84,20 @@ struct ContextRoot { // Count the number of entries - regardless if we could take the `Taken` mutex ::__sanitizer::atomic_uint64_t TotalEntries = {}; + // Profiles for functions we encounter when collecting a contexutal profile, + // that are not asso

[llvm-branch-commits] [compiler-rt] [llvm] [ctxprof] Track unhandled call targets (PR #131417)

2025-03-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-pgo Author: Mircea Trofin (mtrofin) Changes Collect profiles for functions we encounter when collecting a contextual profile, that are not associated with a call site. This is expected to happen for signal handlers, but it also - problematically - curr

[llvm-branch-commits] [compiler-rt] [llvm] [ctxprof] Track unhandled call targets (PR #131417)

2025-03-17 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin ready_for_review https://github.com/llvm/llvm-project/pull/131417 ___ 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] [ctxprof] Track unhandled call targets (PR #131417)

2025-03-17 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin edited https://github.com/llvm/llvm-project/pull/131417 ___ 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] [GlobalISel] Combine redundant sext_inreg (PR #131624)

2025-03-17 Thread Matt Arsenault via llvm-branch-commits
@@ -372,3 +372,30 @@ bool CombinerHelper::matchCastOfInteger(const MachineInstr &CastMI, return false; } } + +void CombinerHelper::applyRedundantSextInReg(MachineInstr &Root, + MachineInstr &Other) const { + assert(Root.getOpc

[llvm-branch-commits] [llvm] [AMDGPU] Add sext_trunc in RegBankCombiner (PR #131623)

2025-03-17 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm commented: Missing test changes? https://github.com/llvm/llvm-project/pull/131623 ___ 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: Reduce memory usage in AST parent map generation by lazily checking if nodes have been seen (#129934) (PR #131209)

2025-03-17 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/131209 ___ 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: Reduce memory usage in AST parent map generation by lazily checking if nodes have been seen (#129934) (PR #131209)

2025-03-17 Thread via llvm-branch-commits
github-actions[bot] wrote: @higher-performance (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 t

[llvm-branch-commits] [clang] 0b23d98 - Reduce memory usage in AST parent map generation by lazily checking if nodes have been seen (#129934)

2025-03-17 Thread Tom Stellard via llvm-branch-commits
Author: higher-performance Date: 2025-03-17T14:46:32-07:00 New Revision: 0b23d98dceaa9f965bfa196a6adfa38b1b8bda8e URL: https://github.com/llvm/llvm-project/commit/0b23d98dceaa9f965bfa196a6adfa38b1b8bda8e DIFF: https://github.com/llvm/llvm-project/commit/0b23d98dceaa9f965bfa196a6adfa38b1b8bda8e.

[llvm-branch-commits] [llvm] [llvm] Add option to emit `callgraph` section (PR #87574)

2025-03-17 Thread Paul Kirth via llvm-branch-commits
@@ -0,0 +1,93 @@ +# Test MIR printer and parser for type id field in callSites. It is used +# for propogating call site type identifiers to emit in the call graph section. + +# RUN: llc --call-graph-section %s -run-pass=none -o - | FileCheck %s +# CHECK: name: main +# CHECK: callS

[llvm-branch-commits] [llvm] [llvm] Add option to emit `callgraph` section (PR #87574)

2025-03-17 Thread Paul Kirth via llvm-branch-commits
@@ -496,6 +496,9 @@ class LLVM_ABI MachineFunction { struct CallSiteInfo { /// Vector of call argument and its forwarding register. SmallVector ArgRegPairs; + +/// Callee type id. +ConstantInt *TypeId = nullptr; ilovepi wrote: ```suggestion

[llvm-branch-commits] [clang] [Clang][CodeGen] Do not promote if complex divisor is real (PR #131451)

2025-03-17 Thread Eli Friedman via llvm-branch-commits
https://github.com/efriedma-quic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/131451 ___ 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] [llvm] Add option to emit `callgraph` section (PR #87574)

2025-03-17 Thread Paul Kirth via llvm-branch-commits
@@ -576,6 +576,9 @@ void MIRPrinter::convertCallSiteObjects(yaml::MachineFunction &YMF, printRegMIR(ArgReg.Reg, YmlArgReg.Reg, TRI); YmlCS.ArgForwardingRegs.emplace_back(YmlArgReg); } +// Get type id. +if (CSInfo.second.TypeId) + YmlCS.TypeId = CSI

[llvm-branch-commits] [clang] [Clang][CodeGen] Do not promote if complex divisor is real (PR #131451)

2025-03-17 Thread Eli Friedman via llvm-branch-commits
@@ -314,7 +313,7 @@ class ComplexExprEmitter } QualType getPromotionType(FPOptionsOverride Features, QualType Ty, -bool IsDivOpCode = false) { +bool IsComplexDivisor = false) { efriedma-quic wrote: M

[llvm-branch-commits] [clang] [Clang][CodeGen] Do not promote if complex divisor is real (PR #131451)

2025-03-17 Thread Eli Friedman via llvm-branch-commits
https://github.com/efriedma-quic edited https://github.com/llvm/llvm-project/pull/131451 ___ 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] Do not emit nodiscard warnings for the base expr of static member access (#131450) (PR #131474)

2025-03-17 Thread via llvm-branch-commits
https://github.com/cor3ntin updated https://github.com/llvm/llvm-project/pull/131474 >From e46c31e5a5d2aae2fcfc8d835681fcb58ea4c505 Mon Sep 17 00:00:00 2001 From: cor3ntin Date: Sat, 15 Mar 2025 22:27:08 +0100 Subject: [PATCH 1/2] [Clang] Do not emit nodiscard warnings for the base expr of sta

[llvm-branch-commits] [llvm] [llvm] Extract and propagate indirect call type id (PR #87575)

2025-03-17 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi commented: LGTM on the RISC-V additions, but do follow through on @arsenm's comments before landing. https://github.com/llvm/llvm-project/pull/87575 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org htt

[llvm-branch-commits] [libcxx] release/20.x: [libcxx] Add a missing include for __bit_iterator (#127015) (PR #131382)

2025-03-17 Thread Louis Dionne via llvm-branch-commits
ldionne wrote: I'd like us to validate that this is the right fix on `main` first. I've asked for a reproducer in #127015. https://github.com/llvm/llvm-project/pull/131382 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https:/

[llvm-branch-commits] [llvm] release/20.x: [IR] Fix assertion error in User new/delete edge case (#129914) (PR #130580)

2025-03-17 Thread Nikita Popov via llvm-branch-commits
nikic wrote: I'm not sure this is the right fix. I left a comment on the original PR: https://github.com/llvm/llvm-project/pull/129914#pullrequestreview-2691932377 https://github.com/llvm/llvm-project/pull/130580 ___ llvm-branch-commits mailing list l

[llvm-branch-commits] [llvm] release/20.x: [LAA] Consider accessed addrspace when mapping underlying obj to access. (#129087) (PR #129317)

2025-03-17 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/129317 ___ 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++][test] Backport test skipping for Apple Clang 17 (PR #131506)

2025-03-17 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne approved this pull request. https://github.com/llvm/llvm-project/pull/131506 ___ 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] [OpenMP][MLIR] Refactor code related to collecting privatizer info into a shared util (PR #131582)

2025-03-17 Thread Pranav Bhandarkar via llvm-branch-commits
https://github.com/bhandarkar-pranav approved this pull request. LGTM, thank you for this change. https://github.com/llvm/llvm-project/pull/131582 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/ma

[llvm-branch-commits] [llvm] AMDGPU: Fix broken broken negative test for gfx950 assembler (#129667) (PR #129686)

2025-03-17 Thread via llvm-branch-commits
github-actions[bot] wrote: @arsenm (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

[llvm-branch-commits] [llvm] AMDGPU: Fix broken broken negative test for gfx950 assembler (#129667) (PR #129686)

2025-03-17 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/129686 ___ 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] 073ae08 - AMDGPU: Fix broken broken negative test for gfx950 assembler (#129667) (#129686)

2025-03-17 Thread via llvm-branch-commits
Author: Matt Arsenault Date: 2025-03-17T12:50:18-07:00 New Revision: 073ae08864b40310448289c6f40b95ca4f330444 URL: https://github.com/llvm/llvm-project/commit/073ae08864b40310448289c6f40b95ca4f330444 DIFF: https://github.com/llvm/llvm-project/commit/073ae08864b40310448289c6f40b95ca4f330444.diff

[llvm-branch-commits] [llvm] cb50aaf - [llvm-objcopy] Apply encryptable offset to first segment, not section (#130517)

2025-03-17 Thread via llvm-branch-commits
Author: Daniel Rodríguez Troitiño Date: 2025-03-14T21:45:15Z New Revision: cb50aaf8a11b89f2785641fba5ffd4b67f566a32 URL: https://github.com/llvm/llvm-project/commit/cb50aaf8a11b89f2785641fba5ffd4b67f566a32 DIFF: https://github.com/llvm/llvm-project/commit/cb50aaf8a11b89f2785641fba5ffd4b67f566a3

[llvm-branch-commits] [llvm] release/20.x: [llvm-objcopy] Apply encryptable offset to first segment, not section (#130517) (PR #131398)

2025-03-17 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/131398 ___ 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-objcopy] Apply encryptable offset to first segment, not section (#130517) (PR #131398)

2025-03-17 Thread via llvm-branch-commits
github-actions[bot] wrote: @nikic (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. htt

[llvm-branch-commits] [llvm] [GlobalISel] Combine redundant sext_inreg (PR #131624)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
Pierre-vh 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/131624?utm_source=stack-comment-downstack-mergeability-warning

[llvm-branch-commits] [llvm] [llvm][AsmPrinter] Emit call graph section (PR #87576)

2025-03-17 Thread Paul Kirth via llvm-branch-commits
ilovepi wrote: Is there documentation anywhere on the format being output via `--call-graph-section`? I get you're checking the MD5, but I'm also interested in if we're checking the output sufficiently. https://discourse.llvm.org/t/rfc-computing-storing-and-restoring-conservative-call-graphs-w

[llvm-branch-commits] [mlir] [OpenMP][MLIR] Refactor code related to collecting privatizer info into a shared util (PR #131582)

2025-03-17 Thread Tom Eccles via llvm-branch-commits
https://github.com/tblah approved this pull request. Nice cleanup. I think this is a NFC? Could you add that to the commit title LGTM https://github.com/llvm/llvm-project/pull/131582 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.

[llvm-branch-commits] [llvm] [CodeGen][NPM] Port LiveDebugValues to NPM (PR #131563)

2025-03-17 Thread Jeremy Morse via llvm-branch-commits
https://github.com/jmorse edited https://github.com/llvm/llvm-project/pull/131563 ___ 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] [CodeGen][NPM] Port LiveDebugValues to NPM (PR #131563)

2025-03-17 Thread Jeremy Morse via llvm-branch-commits
https://github.com/jmorse approved this pull request. LGTM, although I'm not especially familiar with the transition to the new pass manager. https://github.com/llvm/llvm-project/pull/131563 ___ llvm-branch-commits mailing list llvm-branch-commits@lis

[llvm-branch-commits] [llvm] [CodeGen][NPM] Port LiveDebugValues to NPM (PR #131563)

2025-03-17 Thread Jeremy Morse via llvm-branch-commits
@@ -77,36 +78,68 @@ class LiveDebugValues : public MachineFunctionPass { AU.setPreservesCFG(); MachineFunctionPass::getAnalysisUsage(AU); } +}; + +struct LiveDebugValues { + LiveDebugValues(); + ~LiveDebugValues() = default; + bool run(MachineFunction &MF, bool Sho

[llvm-branch-commits] [flang] [flang][OpenMP] Enable delayed privatization by default for `omp.distribute` (PR #131574)

2025-03-17 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy created https://github.com/llvm/llvm-project/pull/131574 Switches delayed privatization for `omp.distribute` to be on by default: controlled by the `-openmp-enable-delayed-privatization` instead of by `-openmp-enable-delayed-privatization-staging` >From d8463d8f7092e

[llvm-branch-commits] [libcxx] [libc++][format] Implements P3107R5 in . (PR #130500)

2025-03-17 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/130500 >From c132aa555a38efde9b04c2a3f435ba598778c28d Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 30 Mar 2024 17:35:56 +0100 Subject: [PATCH 1/3] [libc++][format] Implements P3107R5 in . The followup pape

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

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

[llvm-branch-commits] [llvm] release/20.x: [SCEV] Check whether the start is non-zero in `ScalarEvolution::howFarToZero` (#131522) (PR #131568)

2025-03-17 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/131568 ___ 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] [ctxprof] Track unhandled call targets (PR #131417)

2025-03-17 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/131417 >From debbc1f5a66b6b344515b9d8cc9143a028c688a5 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Fri, 14 Mar 2025 15:59:22 -0700 Subject: [PATCH] [ctxprof] Track unhandled call targets --- .../lib/ctx_profile

[llvm-branch-commits] [compiler-rt] [ctxprof] Track unhandled call targets (PR #131417)

2025-03-17 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/131417 >From debbc1f5a66b6b344515b9d8cc9143a028c688a5 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Fri, 14 Mar 2025 15:59:22 -0700 Subject: [PATCH] [ctxprof] Track unhandled call targets --- .../lib/ctx_profile

[llvm-branch-commits] [llvm] [AMDGPU] Add sext_trunc in RegBankCombiner (PR #131623)

2025-03-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Pierre van Houtryve (Pierre-vh) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/131623.diff 1 Files Affected: - (modified) llvm/lib/Target/AMDGPU/AMDGPUCombine.td (+1-1) ``diff diff --git a/llvm/lib

[llvm-branch-commits] [llvm] [GlobalISel] Combine redundant sext_inreg (PR #131624)

2025-03-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Pierre van Houtryve (Pierre-vh) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/131624.diff 6 Files Affected: - (modified) llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h (+3) - (modified) llvm/include/

[llvm-branch-commits] [llvm] [AMDGPU] Add sext_trunc in RegBankCombiner (PR #131623)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh ready_for_review https://github.com/llvm/llvm-project/pull/131623 ___ 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] [GlobalISel] Combine redundant sext_inreg (PR #131624)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh ready_for_review https://github.com/llvm/llvm-project/pull/131624 ___ 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] Add sext_trunc in RegBankCombiner (PR #131623)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
Pierre-vh 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/131623?utm_source=stack-comment-downstack-mergeability-warning

[llvm-branch-commits] [llvm] [GlobalISel] Combine redundant sext_inreg (PR #131624)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh created https://github.com/llvm/llvm-project/pull/131624 None >From e36f66595a582b6ba926186674b6da6b41236ff5 Mon Sep 17 00:00:00 2001 From: pvanhout Date: Mon, 17 Mar 2025 13:54:59 +0100 Subject: [PATCH] [GlobalISel] Combine redundant sext_inreg --- .../llvm/Code

[llvm-branch-commits] [llvm] [AMDGPU] Add sext_trunc in RegBankCombiner (PR #131623)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh created https://github.com/llvm/llvm-project/pull/131623 None >From 3f2cbbd6addf4844c7c861a6de55be59a8c96c35 Mon Sep 17 00:00:00 2001 From: pvanhout Date: Mon, 17 Mar 2025 13:22:25 +0100 Subject: [PATCH] [AMDGPU] Add sext_trunc in RegBankCombiner --- llvm/lib/Tar

[llvm-branch-commits] [flang] [flang][OpenMP] Enable delayed privatization by default for `omp.distribute` (PR #131574)

2025-03-17 Thread Tom Eccles via llvm-branch-commits
tblah wrote: Have you run any testsuites on this? If so please add that to the commit description. https://github.com/llvm/llvm-project/pull/131574 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/

[llvm-branch-commits] [libcxx] 5c1188d - Revert "[libc++] Optimize num_put integral functions (#120859)"

2025-03-17 Thread via llvm-branch-commits
Author: Alexander Kornienko Date: 2025-03-17T14:38:37+01:00 New Revision: 5c1188dfb27c3499f58849bde211ac03026d90d1 URL: https://github.com/llvm/llvm-project/commit/5c1188dfb27c3499f58849bde211ac03026d90d1 DIFF: https://github.com/llvm/llvm-project/commit/5c1188dfb27c3499f58849bde211ac03026d90d1

[llvm-branch-commits] [llvm] release/20.x: [SCEV] Check whether the start is non-zero in `ScalarEvolution::howFarToZero` (#131522) (PR #131568)

2025-03-17 Thread via llvm-branch-commits
llvmbot wrote: @dtcxzyw What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/131568 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listi

[llvm-branch-commits] [llvm] [AMDGPU][SIFoldOperands] Fold some redundant bitmasks (PR #131311)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh closed https://github.com/llvm/llvm-project/pull/131311 ___ 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][GlobalISel] Combine (sext (trunc (sext_in_reg x))) (PR #131312)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh closed https://github.com/llvm/llvm-project/pull/131312 ___ 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] [CodeGen][NPM] Port LiveDebugValues to NPM (PR #131563)

2025-03-17 Thread Matt Arsenault via llvm-branch-commits
@@ -77,36 +78,68 @@ class LiveDebugValues : public MachineFunctionPass { AU.setPreservesCFG(); MachineFunctionPass::getAnalysisUsage(AU); } +}; + +struct LiveDebugValues { + LiveDebugValues(); + ~LiveDebugValues() = default; + bool run(MachineFunction &MF, bool Sho

[llvm-branch-commits] [mlir] [OpenMP][MLIR] Refactor code related to collecting privatizer info into a shared util (PR #131582)

2025-03-17 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy updated https://github.com/llvm/llvm-project/pull/131582 >From 19e8b682071fcdd3fb0b26383c5e0dc20a357da8 Mon Sep 17 00:00:00 2001 From: ergawy Date: Mon, 17 Mar 2025 03:37:00 -0500 Subject: [PATCH] [OpenMP][MLIR] Refactor code related to collecting privatizer info into

[llvm-branch-commits] [llvm] [CodeGen][NPM] Port LiveDebugValues to NPM (PR #131563)

2025-03-17 Thread Matt Arsenault via llvm-branch-commits
@@ -77,36 +78,68 @@ class LiveDebugValues : public MachineFunctionPass { AU.setPreservesCFG(); MachineFunctionPass::getAnalysisUsage(AU); } +}; + +struct LiveDebugValues { + LiveDebugValues(); + ~LiveDebugValues() = default; + bool run(MachineFunction &MF, bool Sho

[llvm-branch-commits] [llvm] [CodeGen][NPM] Port LiveDebugValues to NPM (PR #131563)

2025-03-17 Thread Matt Arsenault via llvm-branch-commits
@@ -77,36 +78,68 @@ class LiveDebugValues : public MachineFunctionPass { AU.setPreservesCFG(); MachineFunctionPass::getAnalysisUsage(AU); } +}; + +struct LiveDebugValues { + LiveDebugValues(); + ~LiveDebugValues() = default; + bool run(MachineFunction &MF, bool Sho

[llvm-branch-commits] [llvm] [CodeGen][NPM] Port LiveDebugValues to NPM (PR #131563)

2025-03-17 Thread Matt Arsenault via llvm-branch-commits
@@ -0,0 +1,32 @@ +//===- llvm/CodeGen/LiveDebugValuesPass.h ---*- C++ -*-===// +// +// 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] [llvm] [CodeGen][NPM] Port LiveDebugValues to NPM (PR #131563)

2025-03-17 Thread Akshat Oke via llvm-branch-commits
https://github.com/optimisan updated https://github.com/llvm/llvm-project/pull/131563 >From e743c8a2a8b1d22455aa6fb62d119fa7f7a6d1f5 Mon Sep 17 00:00:00 2001 From: Akshat Oke Date: Wed, 12 Mar 2025 09:31:58 + Subject: [PATCH 1/2] [CodeGen][NPM] Port LiveDebugValues to NPM --- .../llvm/Cod

[llvm-branch-commits] [llvm] [CodeGen][NPM] Port LiveDebugValues to NPM (PR #131563)

2025-03-17 Thread Akshat Oke via llvm-branch-commits
https://github.com/optimisan updated https://github.com/llvm/llvm-project/pull/131563 >From e743c8a2a8b1d22455aa6fb62d119fa7f7a6d1f5 Mon Sep 17 00:00:00 2001 From: Akshat Oke Date: Wed, 12 Mar 2025 09:31:58 + Subject: [PATCH 1/2] [CodeGen][NPM] Port LiveDebugValues to NPM --- .../llvm/Cod

[llvm-branch-commits] [llvm] [AMDGPU] Precommit si-fold-bitmask.mir (PR #131310)

2025-03-17 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: > Where and how should that be implemented ? I struggled with that. I tried > adding a new special case in TableGen but I just couldn't find the right way > to do it. Do I just add it in C++ InstructionSelector before it checks the > patterns? Or should it be some kind of post-pr

[llvm-branch-commits] [mlir] [OpenMP][MLIR] Refactor code related to collecting privatizer info into a shared util (PR #131582)

2025-03-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-openmp @llvm/pr-subscribers-flang-openmp Author: Kareem Ergawy (ergawy) Changes Moves code needed to collect info about delayed privatizers into a shared util instread of repeating the same patter across all relevant constructs. --- Patch is 22.9

[llvm-branch-commits] [llvm] AMDGPU: Replace unused permlane inputs with poison instead of undef (PR #131288)

2025-03-17 Thread Nuno Lopes via llvm-branch-commits
https://github.com/nunoplopes approved this pull request. https://github.com/llvm/llvm-project/pull/131288 ___ 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] [libc++] Implement std::move_only_function (P0288R9) (PR #94670)

2025-03-17 Thread A. Jiang via llvm-branch-commits
https://github.com/frederick-vs-ja edited https://github.com/llvm/llvm-project/pull/94670 ___ 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] Extract and propagate indirect call type id (PR #87575)

2025-03-17 Thread Matt Arsenault via llvm-branch-commits
@@ -0,0 +1,29 @@ +;; Tests that call site type ids can be extracted and set from type operand +;; bundles. + +;; Verify the exact typeId value to ensure it is not garbage but the value +;; computed as the type id from the type operand bundle. +; RUN: llc --call-graph-section -mtri

[llvm-branch-commits] [libcxx] [libc++] Implement std::move_only_function (P0288R9) (PR #94670)

2025-03-17 Thread A. Jiang via llvm-branch-commits
https://github.com/frederick-vs-ja edited https://github.com/llvm/llvm-project/pull/94670 ___ 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] Extract and propagate indirect call type id (PR #87575)

2025-03-17 Thread Matt Arsenault via llvm-branch-commits
@@ -0,0 +1,29 @@ +;; Tests that call site type ids can be extracted and set from type operand +;; bundles. + +;; Verify the exact typeId value to ensure it is not garbage but the value +;; computed as the type id from the type operand bundle. +; RUN: llc --call-graph-section -mtri

[llvm-branch-commits] [llvm] [llvm] Extract and propagate indirect call type id (PR #87575)

2025-03-17 Thread Matt Arsenault via llvm-branch-commits
@@ -0,0 +1,102 @@ +;; Test MIR printer and parser for type id field in call site info. Test that +;; it works well with/without --emit-call-site-info. + +;; Multiplex --call-graph-section and -emit-call-site-info as both utilize +;; CallSiteInfo and callSites. + +;

[llvm-branch-commits] [mlir] [OpenMP][MLIR] Refactor code related to collecting privatizer info into a shared util (PR #131582)

2025-03-17 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy updated https://github.com/llvm/llvm-project/pull/131582 >From 1b934bafb44a4e5e07f02dd3daab88bbd27017c3 Mon Sep 17 00:00:00 2001 From: ergawy Date: Mon, 17 Mar 2025 03:37:00 -0500 Subject: [PATCH] [OpenMP][MLIR] Refactor code related to collecting privatizer info into

[llvm-branch-commits] [flang] [flang][OpenMP] Enable delayed privatization by default for `omp.distribute` (PR #131574)

2025-03-17 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy updated https://github.com/llvm/llvm-project/pull/131574 >From 047e4b2327da0ee0ad0398fe8d3c799cefc3f7d8 Mon Sep 17 00:00:00 2001 From: ergawy Date: Mon, 17 Mar 2025 02:08:23 -0500 Subject: [PATCH] [flang][OpenMP] Enable delayed privatization by default for `omp.distri

[llvm-branch-commits] [llvm] [AMDGPU][GlobalISel] Combine (sext (trunc (sext_in_reg x))) (PR #131312)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/131312 >From 782153a9a47d4a0fdb897e811033179fa67c5060 Mon Sep 17 00:00:00 2001 From: pvanhout Date: Fri, 14 Mar 2025 10:34:51 +0100 Subject: [PATCH] [AMDGPU][GlobalISel] Combine (sext (trunc (sext_in_reg x))) This i

[llvm-branch-commits] [llvm] [AMDGPU][SIFoldOperands] Fold some redundant bitmasks (PR #131311)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/131311 >From f3fddad8dca1e8ed327d7cc7cfee7a465032dcc4 Mon Sep 17 00:00:00 2001 From: pvanhout Date: Fri, 14 Mar 2025 10:05:19 +0100 Subject: [PATCH 1/2] [AMDGPU][SIFoldOperands] Fold some redundant bitmasks Instruct

[llvm-branch-commits] [llvm] [AMDGPU] Precommit si-fold-bitmask.mir (PR #131310)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/131310 >From 65d5012c30366cc713b793a30ab5119ddf8a77af Mon Sep 17 00:00:00 2001 From: pvanhout Date: Fri, 14 Mar 2025 10:00:21 +0100 Subject: [PATCH] [AMDGPU] Precommit si-fold-bitmask.mir --- llvm/test/CodeGen/AMDG

[llvm-branch-commits] [llvm] [AMDGPU][GlobalISel] Allow forming s16 U/SBFX pre-regbankselect (PR #131309)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/131309 >From d65db023bfae0c9a5eaeb5bebac39d75723c27d6 Mon Sep 17 00:00:00 2001 From: pvanhout Date: Wed, 12 Mar 2025 09:43:15 +0100 Subject: [PATCH] [AMDGPU][GlobalISel] Allow forming s16 U/SBFX pre-regbankselect M

[llvm-branch-commits] [llvm] [AMDGPU][GlobalISel] Combine (sext (trunc (sext_in_reg x))) (PR #131312)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/131312 >From 9fabf931105e1cf86cf69f90bd5c62068846c3e1 Mon Sep 17 00:00:00 2001 From: pvanhout Date: Fri, 14 Mar 2025 10:34:51 +0100 Subject: [PATCH] [AMDGPU][GlobalISel] Combine (sext (trunc (sext_in_reg x))) This i

[llvm-branch-commits] [llvm] [AMDGPU][SIFoldOperands] Fold some redundant bitmasks (PR #131311)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/131311 >From 17e13825f173be8fd67494f13f002f35d93e357f Mon Sep 17 00:00:00 2001 From: pvanhout Date: Fri, 14 Mar 2025 10:05:19 +0100 Subject: [PATCH 1/2] [AMDGPU][SIFoldOperands] Fold some redundant bitmasks Instruct

[llvm-branch-commits] [llvm] [AMDGPU] Precommit si-fold-bitmask.mir (PR #131310)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/131310 >From d4b257d1b34b51018f51546974bffdc2ea56433d Mon Sep 17 00:00:00 2001 From: pvanhout Date: Fri, 14 Mar 2025 10:00:21 +0100 Subject: [PATCH] [AMDGPU] Precommit si-fold-bitmask.mir --- llvm/test/CodeGen/AMDG

[llvm-branch-commits] [llvm] [AMDGPU][GlobalISel] Allow forming s16 U/SBFX pre-regbankselect (PR #131309)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/131309 >From 2dc7126ab1abb6aa49aaf263a0591759130ddca5 Mon Sep 17 00:00:00 2001 From: pvanhout Date: Wed, 12 Mar 2025 09:43:15 +0100 Subject: [PATCH] [AMDGPU][GlobalISel] Allow forming s16 U/SBFX pre-regbankselect M

[llvm-branch-commits] [llvm] [AMDGPU][Legalizer] Widen i16 G_SEXT_INREG (PR #131308)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/131308 >From cdfba0ea7ab0fcb60d632a25433b18b421022c25 Mon Sep 17 00:00:00 2001 From: pvanhout Date: Wed, 5 Mar 2025 13:41:04 +0100 Subject: [PATCH 1/2] [AMDGPU][Legalizer] Widen i16 G_SEXT_INREG It's better to widen

[llvm-branch-commits] [mlir] [OpenMP][MLIR] Refactor code related to collecting privatizer info into a shared util (PR #131582)

2025-03-17 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy created https://github.com/llvm/llvm-project/pull/131582 Moves code needed to collect info about delayed privatizers into a shared util instread of repeating the same patter across all relevant constructs. >From e237f8b5c88d9a3106398cf0eac2a5fba4cdb6e4 Mon Sep 17 00:0

[llvm-branch-commits] [llvm] AMDGPU: Replace unused update.dpp inputs with poison instead of undef (PR #131287)

2025-03-17 Thread Nuno Lopes via llvm-branch-commits
https://github.com/nunoplopes approved this pull request. https://github.com/llvm/llvm-project/pull/131287 ___ 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] [OpenMP][MLIR] Refactor code related to collecting privatizer info into a shared util (PR #131582)

2025-03-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-llvm Author: Kareem Ergawy (ergawy) Changes Moves code needed to collect info about delayed privatizers into a shared util instread of repeating the same patter across all relevant constructs. --- Patch is 22.93 KiB, truncated to 20.00 KiB below,

[llvm-branch-commits] [llvm] AMDGPU: Switch simplifydemandedbits-recursion.ll to generated checks (PR #131317)

2025-03-17 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: ### Merge activity * **Mar 17, 4:47 AM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/131317). https://github.com/llvm/llvm-project/pull/131317 _

[llvm-branch-commits] [llvm] [AMDGPU][Legalizer] Widen i16 G_SEXT_INREG (PR #131308)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/131308 >From be5c76eeb981e94017cc2a504f35079d47d7ce5c Mon Sep 17 00:00:00 2001 From: pvanhout Date: Wed, 5 Mar 2025 13:41:04 +0100 Subject: [PATCH 1/2] [AMDGPU][Legalizer] Widen i16 G_SEXT_INREG It's better to widen

[llvm-branch-commits] [llvm] [llvm] Add option to emit `callgraph` section (PR #87574)

2025-03-17 Thread Matt Arsenault via llvm-branch-commits
@@ -0,0 +1,93 @@ +# Test MIR printer and parser for type id field in callSites. It is used +# for propogating call site type identifiers to emit in the call graph section. + +# RUN: llc --call-graph-section %s -run-pass=none -o - | FileCheck %s +# CHECK: name: main +# CHECK: callS

[llvm-branch-commits] [llvm] [AMDGPU][RegBankInfo] Promote scalar i16 and/or/xor to i32 (PR #131306)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
@@ -2432,6 +2433,29 @@ void AMDGPURegisterBankInfo::applyMappingImpl( return; } +// 16-bit operations are VALU only, but can be promoted to 32-bit SALU. +// Packed 16-bit operations need to be scalarized and promoted. Pierre-vh wrote: It was

[llvm-branch-commits] [llvm] [AMDGPU][RegBankCombiner] Add cast_of_cast and constant_fold_cast combines (PR #131307)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
Pierre-vh wrote: ### Merge activity * **Mar 17, 4:51 AM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/131307). https://github.com/llvm/llvm-project/pull/131307 __

[llvm-branch-commits] [llvm] [AMDGPU][RegBankInfo] Promote scalar i16 and/or/xor to i32 (PR #131306)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
Pierre-vh wrote: ### Merge activity * **Mar 17, 4:51 AM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/131306). https://github.com/llvm/llvm-project/pull/131306 __

[llvm-branch-commits] [llvm] [AMDGPU][SIFoldOperands] Fold some redundant bitmasks (PR #131311)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/131311 >From 520757cf40d285b58eb0539840be2bf282c0a0af Mon Sep 17 00:00:00 2001 From: pvanhout Date: Fri, 14 Mar 2025 10:05:19 +0100 Subject: [PATCH 1/2] [AMDGPU][SIFoldOperands] Fold some redundant bitmasks Instruct

[llvm-branch-commits] [llvm] [AMDGPU][Legalizer] Widen i16 G_SEXT_INREG (PR #131308)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/131308 >From be5c76eeb981e94017cc2a504f35079d47d7ce5c Mon Sep 17 00:00:00 2001 From: pvanhout Date: Wed, 5 Mar 2025 13:41:04 +0100 Subject: [PATCH 1/2] [AMDGPU][Legalizer] Widen i16 G_SEXT_INREG It's better to widen

[llvm-branch-commits] [llvm] [AMDGPU][GlobalISel] Combine (sext (trunc (sext_in_reg x))) (PR #131312)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/131312 >From 4751d38d86886106c00e9140bf0bb3a3459950cb Mon Sep 17 00:00:00 2001 From: pvanhout Date: Fri, 14 Mar 2025 10:34:51 +0100 Subject: [PATCH] [AMDGPU][GlobalISel] Combine (sext (trunc (sext_in_reg x))) This i

[llvm-branch-commits] [llvm] [AMDGPU][RegBankInfo] Promote scalar i16 and/or/xor to i32 (PR #131306)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/131306 >From 1af83464f02df212384bd97848b0073d41053234 Mon Sep 17 00:00:00 2001 From: pvanhout Date: Wed, 5 Mar 2025 10:46:01 +0100 Subject: [PATCH 1/2] [AMDGPU][RegBankInfo] Promote scalar i16 and/or/xor to i32 See

[llvm-branch-commits] [llvm] [AMDGPU] Precommit si-fold-bitmask.mir (PR #131310)

2025-03-17 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/131310 >From 6db5fe8cc5ff82cc7dc8751ac584870ddbf1b537 Mon Sep 17 00:00:00 2001 From: pvanhout Date: Fri, 14 Mar 2025 10:00:21 +0100 Subject: [PATCH] [AMDGPU] Precommit si-fold-bitmask.mir --- llvm/test/CodeGen/AMDG

  1   2   >