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
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
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
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
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
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
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
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
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
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
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
@@ -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
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
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
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
__
@@ -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:
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
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
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
_
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
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
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
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
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
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
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
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
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
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
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/
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
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
@@ -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
@@ -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
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
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
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
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
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
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
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
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
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
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
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
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
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
@@ -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
@@ -8857,6 +8857,8 @@ bool LLParser::parseMDNodeVector(SmallVectorImpl &Elts) {
//===--===//
bool LLParser::sortUseListOrder(Value *V, ArrayRef Indexes,
SMLoc Loc) {
+ if (isa(
@@ -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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
@@ -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)
@@ -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
@@ -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://
@@ -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
@@ -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
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
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
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
73 matches
Mail list logo