[llvm-branch-commits] [clang] 75c486a - Revert "[RISCV][NFC] Make generated intrinsic records more human-readable (#1…"

2025-04-13 Thread via llvm-branch-commits
Author: Pengcheng Wang Date: 2025-04-14T12:53:45+08:00 New Revision: 75c486af5652662bc4c9adcff164d6ec8efcddbf URL: https://github.com/llvm/llvm-project/commit/75c486af5652662bc4c9adcff164d6ec8efcddbf DIFF: https://github.com/llvm/llvm-project/commit/75c486af5652662bc4c9adcff164d6ec8efcddbf.diff

[llvm-branch-commits] [llvm] Store GUIDs in metadata (PR #133682)

2025-04-13 Thread Owen Rodley via llvm-branch-commits
https://github.com/orodley updated https://github.com/llvm/llvm-project/pull/133682 >From c7c5b411e4b22efd9a1b37cd5c71f2fa98069dc8 Mon Sep 17 00:00:00 2001 From: Owen Rodley Date: Mon, 31 Mar 2025 16:16:35 +1100 Subject: [PATCH] Store GUIDs in metadata See https://discourse.llvm.org/t/rfc-keep

[llvm-branch-commits] [clang] [llvm] release/20.x: [X86][AVX10] Remove VAES and VPCLMULQDQ feature from AVX10.1 (#135489) (PR #135577)

2025-04-13 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (llvmbot) Changes Backport ebba554a3211b0b98d3ae33ba70f9d6ceaab6ad4 Requested by: @phoebewang --- Full diff: https://github.com/llvm/llvm-project/pull/135577.diff 3 Files Affected: - (modified) clang/test/CodeGen/attr-target-x86.c

[llvm-branch-commits] [llvm] Store GUIDs in metadata (PR #133682)

2025-04-13 Thread Owen Rodley via llvm-branch-commits
https://github.com/orodley updated https://github.com/llvm/llvm-project/pull/133682 >From 67d512e2d2055c73d3e6121d3972b23932342d5d Mon Sep 17 00:00:00 2001 From: Owen Rodley Date: Mon, 31 Mar 2025 16:16:35 +1100 Subject: [PATCH] Store GUIDs in metadata See https://discourse.llvm.org/t/rfc-keep

[llvm-branch-commits] [llvm] Store GUIDs in metadata (PR #133682)

2025-04-13 Thread Owen Rodley via llvm-branch-commits
https://github.com/orodley updated https://github.com/llvm/llvm-project/pull/133682 >From 9d34fae78840876402a1b049d345b73285ffe4e5 Mon Sep 17 00:00:00 2001 From: Owen Rodley Date: Mon, 31 Mar 2025 16:16:35 +1100 Subject: [PATCH] Store GUIDs in metadata This takes the existing AssignGUID pass f

[llvm-branch-commits] [clang] [llvm] release/20.x: [X86][AVX10] Remove VAES and VPCLMULQDQ feature from AVX10.1 (#135489) (PR #135577)

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

[llvm-branch-commits] [llvm] Store GUIDs in metadata (PR #133682)

2025-04-13 Thread Owen Rodley via llvm-branch-commits
https://github.com/orodley updated https://github.com/llvm/llvm-project/pull/133682 >From 59631d43b44c8db12520c26fe4813c02a85c319c Mon Sep 17 00:00:00 2001 From: Owen Rodley Date: Mon, 31 Mar 2025 16:16:35 +1100 Subject: [PATCH] Store GUIDs in metadata This takes the existing AssignGUID pass f

[llvm-branch-commits] [llvm] Store GUIDs in metadata (PR #133682)

2025-04-13 Thread Owen Rodley via llvm-branch-commits
https://github.com/orodley updated https://github.com/llvm/llvm-project/pull/133682 >From 59631d43b44c8db12520c26fe4813c02a85c319c Mon Sep 17 00:00:00 2001 From: Owen Rodley Date: Mon, 31 Mar 2025 16:16:35 +1100 Subject: [PATCH] Store GUIDs in metadata This takes the existing AssignGUID pass f

[llvm-branch-commits] [llvm] RISCVAsmParser: Reject call foo@invalid (PR #135509)

2025-04-13 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay updated https://github.com/llvm/llvm-project/pull/135509 >From 3579f7d24a771f4c02e796a2ac9b91024b3c6ce9 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sat, 12 Apr 2025 16:27:14 -0700 Subject: [PATCH] . Created using spr 1.3.5-bogner --- llvm/test/MC/RISCV/functio

[llvm-branch-commits] [llvm] RISCVAsmParser: Reject call foo@invalid (PR #135509)

2025-04-13 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay updated https://github.com/llvm/llvm-project/pull/135509 >From 3579f7d24a771f4c02e796a2ac9b91024b3c6ce9 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sat, 12 Apr 2025 16:27:14 -0700 Subject: [PATCH] . Created using spr 1.3.5-bogner --- llvm/test/MC/RISCV/functio

[llvm-branch-commits] [llvm] RISCVAsmParser: Reject call foo@invalid (PR #135509)

2025-04-13 Thread Fangrui Song via llvm-branch-commits
MaskRay wrote: > I had pushed #135324 a couple of days ago to fix the same issue. I'm happy to > land either patch. Thanks! I'll land this one (wanted to make it clear `@plt` is a legacy thing and test `call foo@3`). Let me think about the AsmBackend change. https://github.com/llvm/llvm-proje

[llvm-branch-commits] [flang] [llvm] [Github][CI] Upload .ninja_log as an artifact (PR #135539)

2025-04-13 Thread Matheus Izvekov via llvm-branch-commits
@@ -33,6 +33,8 @@ function at-exit { mkdir -p artifacts ccache --print-stats > artifacts/ccache_stats.txt + cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log + ls artifacts/ mizvekov wrote: Should include hidden files, since we are uploading these too a

[llvm-branch-commits] [llvm] RISCVAsmParser: Reject call foo@invalid (PR #135509)

2025-04-13 Thread Sudharsan Veeravalli via llvm-branch-commits
svs-quic wrote: I had pushed #135324 a couple of days ago to fix the same issue. I'm happy to land either patch. https://github.com/llvm/llvm-project/pull/135509 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llv

[llvm-branch-commits] [clang] release/20.x: [modules] Handle friend function that was a definition but became only a declaration during AST deserialization (#132214) (PR #134232)

2025-04-13 Thread Nikita Popov via llvm-branch-commits
nikic wrote: > @nikic what do you mean by ABI change in this case? It doesn't change ABI of > generated code, moreover it doesn't even change PCM serialized format because > it is in memory only filed and attribute. It changes the ABI of libclang-cpp, by changing the layout of an exported type

[llvm-branch-commits] [clang] release/20.x: [modules] Handle friend function that was a definition but became only a declaration during AST deserialization (#132214) (PR #134232)

2025-04-13 Thread Dmitry Polukhin via llvm-branch-commits
dmpolukhin wrote: @nikic what do you mean by ABI change in this case? It doesn't change ABI of generated code, moreover it doesn't even change PCM serialized format because it is in memory only filed and attribute. https://github.com/llvm/llvm-project/pull/134232 __

[llvm-branch-commits] [clang] release/20.x: [modules] Handle friend function that was a definition but became only a declaration during AST deserialization (#132214) (PR #134232)

2025-04-13 Thread Nikita Popov via llvm-branch-commits
@@ -1392,6 +1392,10 @@ class ASTReader llvm::DenseMap DefinitionSource; + /// Friend functions that were defined but might have had their bodies + /// removed. + llvm::DenseSet ThisDeclarationWasADefinitionSet; nikic wrote: This is an ABI break. https:

[llvm-branch-commits] [clang] release/20.x: [modules] Handle friend function that was a definition but became only a declaration during AST deserialization (#132214) (PR #134232)

2025-04-13 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic requested changes to this pull request. https://github.com/llvm/llvm-project/pull/134232 ___ 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] [clang] release/20.x: [modules] Handle friend function that was a definition but became only a declaration during AST deserialization (#132214) (PR #134232)

2025-04-13 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/134232 ___ 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] An attempt to cherry-pick the fix PR #132691 (cherry-pick from the main branch to the release/20.x branch) (PR #135231)

2025-04-13 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic requested changes to this pull request. Breaks LoopUtils.h ABI in obvious ways and FMF.h ABI in less obvious ways. Can this be fixed in a more minimal way than backporting 18 commits that include a lot of refactorings? https://github.com/llvm/llvm-project/pull/135231 _

[llvm-branch-commits] [llvm] SCEVExpander: Don't look at uses of constants (PR #134691)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: 30ae47eeefaeb2c78ae7f234621b8bb0444b7844 https://github.com/llvm/llvm-project/pull/134691 ___ 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] SCEVExpander: Don't look at uses of constants (PR #134691)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm closed https://github.com/llvm/llvm-project/pull/134691 ___ 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] An attempt to cherry-pick the fix PR #132691 (cherry-pick from the main branch to the release/20.x branch) (PR #135231)

2025-04-13 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/135231 ___ 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] [X86] Backport saturate-convert intrinsics renaming & YMM rounding intrinsics removal in AVX10.2 (PR #135549)

2025-04-13 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/135549 ___ 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] LICM: Avoid looking at use list of constant data (PR #134690)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm closed https://github.com/llvm/llvm-project/pull/134690 ___ 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] LICM: Avoid looking at use list of constant data (PR #134690)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: 393c783a10052b14d2b76b3ee930b3d83e7f1a16 https://github.com/llvm/llvm-project/pull/134690 ___ 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] PHITransAddr: Avoid looking at constant use lists (PR #134689)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm closed https://github.com/llvm/llvm-project/pull/134689 ___ 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] PHITransAddr: Avoid looking at constant use lists (PR #134689)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: b37476f99c37a9edf48684d82dde745d9e0df957 https://github.com/llvm/llvm-project/pull/134689 ___ 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] SimplifyLibCalls: Skip sincospi optimization for ConstantData (PR #134688)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: a24ef4b07ee798b14fe0f3daa23cc3ec09410bc6 https://github.com/llvm/llvm-project/pull/134688 ___ 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] SimplifyLibCalls: Skip sincospi optimization for ConstantData (PR #134688)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm closed https://github.com/llvm/llvm-project/pull/134688 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [llvm] [X86] Backport new intrinsic and instruction changes in AVX10.2 (PR #133219)

2025-04-13 Thread Phoebe Wang via llvm-branch-commits
phoebewang wrote: > > > Doesn't this break ABI by changing intrinsic / builtin numbers? > > > > > > So the headers could still be updated but must use the existing builtins in > > the backport? > > Sounds good, I can try with it. Thanks! A reduced one for intrinsics only https://github.com/

[llvm-branch-commits] [clang] [llvm] [X86] Backport new intrinsic and instruction changes in AVX10.2 (PR #133219)

2025-04-13 Thread Phoebe Wang via llvm-branch-commits
https://github.com/phoebewang closed https://github.com/llvm/llvm-project/pull/133219 ___ 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] [X86] Backport saturate-convert intrinsics renaming & YMM rounding intrinsics removal in AVX10.2 (PR #135549)

2025-04-13 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 @llvm/pr-subscribers-clang Author: Phoebe Wang (phoebewang) Changes AVX10.2 YMM rounding instructions are removed from latest AVX10 technical paper. Remove all intrinsics from compiler. AVX10.2 saturate-convert intrinsics are modified to us

[llvm-branch-commits] [llvm] IR: Remove uselist for constantdata (PR #134692)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
@@ -437,7 +437,8 @@ static bool LinearizeExprTree(Instruction *I, for (unsigned OpIdx = 0; OpIdx < I->getNumOperands(); ++OpIdx) { // Visit operands. Value *Op = I->getOperand(OpIdx); LLVM_DEBUG(dbgs() << "OPERAND: " << *Op << " (" << Weight << ")\n"); - a

[llvm-branch-commits] [llvm] IR: Remove uselist for constantdata (PR #134692)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
@@ -889,10 +919,50 @@ inline raw_ostream &operator<<(raw_ostream &OS, const Value &V) { return OS; } +inline Use::~Use() { + if (Val) +Val->removeUse(*this); +} + +void Use::addToList(unsigned &Count) { + assert(isa(Val) && "Only ConstantData is ref-counted"); + ++Co

[llvm-branch-commits] [llvm] release/20.x: [SCEV] Use ashr to adjust constant multipliers (#135534) (PR #135543)

2025-04-13 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-analysis Author: None (llvmbot) Changes Backport bb9580a02b393683ff0b6c360df684f33c715a1f Requested by: @dtcxzyw --- Full diff: https://github.com/llvm/llvm-project/pull/135543.diff 2 Files Affected: - (modified) llvm/lib/Analysis/ScalarEvoluti

[llvm-branch-commits] [llvm] release/20.x: [SCEV] Use ashr to adjust constant multipliers (#135534) (PR #135543)

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

[llvm-branch-commits] [llvm] release/20.x: [SCEV] Use ashr to adjust constant multipliers (#135534) (PR #135543)

2025-04-13 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/135543 ___ 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: [SCEV] Use ashr to adjust constant multipliers (#135534) (PR #135543)

2025-04-13 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/135543 Backport bb9580a02b393683ff0b6c360df684f33c715a1f Requested by: @dtcxzyw >From aa784fdf7baffcff8ae1c4f5c353632828aa00a4 Mon Sep 17 00:00:00 2001 From: Yingwei Zheng Date: Sun, 13 Apr 2025 20:22:48 +0800 Subjec

[llvm-branch-commits] [llvm] IR: Remove uselist for constantdata (PR #134692)

2025-04-13 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic commented: Compile-time: https://llvm-compile-time-tracker.com/compare.php?from=09588e93bbe486ce782de9fba604f5cd184ec446&to=54260021fd4ffa41b5f20994af7b34653b4d4d42&stat=instructions%3Au It's possible that the wall-time picture may be different due to slightly less mem

[llvm-branch-commits] [flang] [llvm] [Github][CI] Upload .ninja_log as an artifact (PR #135539)

2025-04-13 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/135539 >From 109923e35d854d63faa5b9599f5fd128bcfe5c79 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sun, 13 Apr 2025 11:26:06 + Subject: [PATCH 1/2] testing Created using spr 1.3.4 --- .ci/monolithic

[llvm-branch-commits] [llvm] [Github][CI] Upload .ninja_log as an artifact (PR #135539)

2025-04-13 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 edited https://github.com/llvm/llvm-project/pull/135539 ___ 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] [Github]CI] Upload .ninja_log as an artifact (PR #135539)

2025-04-13 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/135539 >From 109923e35d854d63faa5b9599f5fd128bcfe5c79 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sun, 13 Apr 2025 11:26:06 + Subject: [PATCH] testing Created using spr 1.3.4 --- .ci/monolithic-lin

[llvm-branch-commits] [llvm] [Github]CI] Upload .ninja_log as an artifact (PR #135539)

2025-04-13 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/135539 >From 109923e35d854d63faa5b9599f5fd128bcfe5c79 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sun, 13 Apr 2025 11:26:06 + Subject: [PATCH] testing Created using spr 1.3.4 --- .ci/monolithic-lin

[llvm-branch-commits] [llvm] [Github]CI] Upload .ninja_log as an artifact (PR #135539)

2025-04-13 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/135539 >From 109923e35d854d63faa5b9599f5fd128bcfe5c79 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sun, 13 Apr 2025 11:26:06 + Subject: [PATCH] testing Created using spr 1.3.4 --- .ci/monolithic-lin

[llvm-branch-commits] [Github]CI] Upload .ninja_log as an artifact (PR #135539)

2025-04-13 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/135539 ___ 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] [Github]CI] Upload .ninja_log as an artifact (PR #135539)

2025-04-13 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/135539 ___ 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] [Github]CI] Upload .ninja_log as an artifact (PR #135539)

2025-04-13 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/135539 This enables using tools like https://github.com/nico/ninjatracing for performance introspection. ___ llvm-branch-commits mailing list llvm-branch-commits@lis

[llvm-branch-commits] [llvm] IR: Remove uselist for constantdata (PR #134692)

2025-04-13 Thread Nikita Popov via llvm-branch-commits
@@ -889,10 +919,50 @@ inline raw_ostream &operator<<(raw_ostream &OS, const Value &V) { return OS; } +inline Use::~Use() { + if (Val) +Val->removeUse(*this); +} + +void Use::addToList(unsigned &Count) { + assert(isa(Val) && "Only ConstantData is ref-counted"); + ++Co

[llvm-branch-commits] [llvm] IR: Remove uselist for constantdata (PR #134692)

2025-04-13 Thread Nikita Popov via llvm-branch-commits
@@ -8857,6 +8857,8 @@ bool LLParser::parseMDNodeVector(SmallVectorImpl &Elts) { //===--===// bool LLParser::sortUseListOrder(Value *V, ArrayRef Indexes, SMLoc Loc) { + if (isa(

[llvm-branch-commits] [llvm] IR: Remove uselist for constantdata (PR #134692)

2025-04-13 Thread Nikita Popov via llvm-branch-commits
@@ -437,7 +437,8 @@ static bool LinearizeExprTree(Instruction *I, for (unsigned OpIdx = 0; OpIdx < I->getNumOperands(); ++OpIdx) { // Visit operands. Value *Op = I->getOperand(OpIdx); LLVM_DEBUG(dbgs() << "OPERAND: " << *Op << " (" << Weight << ")\n"); - a

[llvm-branch-commits] [llvm] IR: Remove uselist for constantdata (PR #134692)

2025-04-13 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Matt Arsenault (arsenm) Changes This is a resurrected version of the patch attached to this RFC: https://discourse.llvm.org/t/rfc-constantdata-should-not-have-use-lists/42606 In this adaptation, there are a few differences. In t

[llvm-branch-commits] [llvm] IR: Remove uselist for constantdata (PR #134692)

2025-04-13 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-analysis Author: Matt Arsenault (arsenm) Changes This is a resurrected version of the patch attached to this RFC: https://discourse.llvm.org/t/rfc-constantdata-should-not-have-use-lists/42606 In this adaptation, there are a few differences. In the

[llvm-branch-commits] [llvm] IR: Remove uselist for constantdata (PR #134692)

2025-04-13 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 @llvm/pr-subscribers-llvm-ir Author: Matt Arsenault (arsenm) Changes This is a resurrected version of the patch attached to this RFC: https://discourse.llvm.org/t/rfc-constantdata-should-not-have-use-lists/42606 In this adaptation, ther

[llvm-branch-commits] [llvm] IR: Remove uselist for constantdata (PR #134692)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/134692 ___ 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] IR: Remove uselist for constantdata (PR #134692)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm edited https://github.com/llvm/llvm-project/pull/134692 ___ 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] SCEVExpander: Don't look at uses of constants (PR #134691)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/134691 >From 36377c351008594c2b05c4751a483c3c5565e68e Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 7 Apr 2025 21:56:00 +0700 Subject: [PATCH] SCEVExpander: Don't look at uses of constants This could be more

[llvm-branch-commits] [llvm] IR: Remove uselist for constantdata (PR #134692)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/134692 >From 21970c51d15b2a95a3cea384662139cee341ebbd Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 3 Apr 2025 17:30:01 +0700 Subject: [PATCH] IR: Remove uselist for constantdata This is a resurrected versio

[llvm-branch-commits] [llvm] LICM: Avoid looking at use list of constant data (PR #134690)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/134690 >From a0cee0af33f27ac37aff44f8c20f76d0f4f1dbd8 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 7 Apr 2025 20:10:54 +0700 Subject: [PATCH] LICM: Avoid looking at use list of constant data The codegen tes

[llvm-branch-commits] [llvm] IR: Remove uselist for constantdata (PR #134692)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/134692 >From 21970c51d15b2a95a3cea384662139cee341ebbd Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 3 Apr 2025 17:30:01 +0700 Subject: [PATCH] IR: Remove uselist for constantdata This is a resurrected versio

[llvm-branch-commits] [llvm] PHITransAddr: Avoid looking at constant use lists (PR #134689)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/134689 >From 744e2c14fb3f9134f3e9bd658066e13a04838771 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 7 Apr 2025 07:42:53 +0700 Subject: [PATCH] PHITransAddr: Avoid looking at constant use lists Avoids asserts

[llvm-branch-commits] [llvm] SimplifyLibCalls: Skip sincospi optimization for ConstantData (PR #134688)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/134688 >From a59013c053ef9362ca9a15436d31435dec39a5d5 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 7 Apr 2025 07:36:45 +0700 Subject: [PATCH] SimplifyLibCalls: Skip sincospi optimization for ConstantData Av

[llvm-branch-commits] [llvm] PHITransAddr: Avoid looking at constant use lists (PR #134689)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/134689 >From 744e2c14fb3f9134f3e9bd658066e13a04838771 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 7 Apr 2025 07:42:53 +0700 Subject: [PATCH] PHITransAddr: Avoid looking at constant use lists Avoids asserts

[llvm-branch-commits] [llvm] SCEVExpander: Don't look at uses of constants (PR #134691)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/134691 >From 36377c351008594c2b05c4751a483c3c5565e68e Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 7 Apr 2025 21:56:00 +0700 Subject: [PATCH] SCEVExpander: Don't look at uses of constants This could be more

[llvm-branch-commits] [llvm] SimplifyLibCalls: Skip sincospi optimization for ConstantData (PR #134688)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/134688 >From a59013c053ef9362ca9a15436d31435dec39a5d5 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 7 Apr 2025 07:36:45 +0700 Subject: [PATCH] SimplifyLibCalls: Skip sincospi optimization for ConstantData Av

[llvm-branch-commits] [llvm] LICM: Avoid looking at use list of constant data (PR #134690)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/134690 >From a0cee0af33f27ac37aff44f8c20f76d0f4f1dbd8 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 7 Apr 2025 20:10:54 +0700 Subject: [PATCH] LICM: Avoid looking at use list of constant data The codegen tes

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

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
@@ -8203,14 +8203,14 @@ static SDValue getMemcpyLoadsAndStores( Value = DAG.getExtLoad( ISD::EXTLOAD, dl, NVT, Chain, - DAG.getMemBasePlusOffset(Src, TypeSize::getFixed(SrcOff), dl), + DAG.getObjectPtrOffset(dl, Src, TypeSize::getFixed(SrcOff)

[llvm-branch-commits] [llvm] [SSAUpdaterBulk] Add PHI simplification pass. (PR #135180)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
@@ -77,6 +76,10 @@ class SSAUpdaterBulk { /// vector. void RewriteAllUses(DominatorTree *DT, SmallVectorImpl *InsertedPHIs = nullptr); + + /// Rewrite all uses and simplify the inserted PHI nodes. + /// Use this method to preserve behavior when repla

[llvm-branch-commits] [llvm] [SSAUpdaterBulk] Add PHI simplification pass. (PR #135180)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
@@ -222,3 +223,38 @@ void SSAUpdaterBulk::RewriteAllUses(DominatorTree *DT, } } } + +// Perform a single pass of simplification over the worklist of PHIs. +static void SimplifyPass(MutableArrayRef Worklist) { arsenm wrote: Start with lowercase https://

[llvm-branch-commits] [llvm] [SSAUpdaterBulk] Add PHI simplification pass. (PR #135180)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
@@ -222,3 +223,38 @@ void SSAUpdaterBulk::RewriteAllUses(DominatorTree *DT, } } } + +// Perform a single pass of simplification over the worklist of PHIs. +static void SimplifyPass(MutableArrayRef Worklist) { + if (Worklist.empty()) +return; + + const DataLayout &DL

[llvm-branch-commits] [llvm] [SSAUpdaterBulk] Add PHI simplification pass. (PR #135180)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
@@ -222,3 +223,38 @@ void SSAUpdaterBulk::RewriteAllUses(DominatorTree *DT, } } } + +// Perform a single pass of simplification over the worklist of PHIs. +static void SimplifyPass(MutableArrayRef Worklist) { + if (Worklist.empty()) +return; + + const DataLayout &DL

[llvm-branch-commits] [llvm] RISCVAsmParser: Reject call foo@invalid (PR #135509)

2025-04-13 Thread Sam Elliott via llvm-branch-commits
https://github.com/lenary approved this pull request. https://github.com/llvm/llvm-project/pull/135509 ___ 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] Improve StructurizeCFG pass performance by using SSAUpdaterBulk. (PR #135181)

2025-04-13 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/135181 ___ 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] 61393cc - Revert "[tosa]: canonicalize dynamic size of tosa.slice to static output shap…"

2025-04-13 Thread via llvm-branch-commits
Author: Thurston Dang Date: 2025-04-13T00:06:12-07:00 New Revision: 61393cc94c0223c2d2fe3ee15e6f79e55c4f3e8b URL: https://github.com/llvm/llvm-project/commit/61393cc94c0223c2d2fe3ee15e6f79e55c4f3e8b DIFF: https://github.com/llvm/llvm-project/commit/61393cc94c0223c2d2fe3ee15e6f79e55c4f3e8b.diff