llvmbot wrote:
@llvm/pr-subscribers-mlir-core
Author: Krzysztof Drewniak (krzysz00)
Changes
This commit improves the `EnumProp` class, causing it to wrap around an
`EnumInfo` just like` EnumAttr` does. This EnumProp also has logic for
converting to/from an integer attribute and for being
llvmbot wrote:
@llvm/pr-subscribers-mlir-ods
Author: Krzysztof Drewniak (krzysz00)
Changes
This commit improves the `EnumProp` class, causing it to wrap around an
`EnumInfo` just like` EnumAttr` does. This EnumProp also has logic for
converting to/from an integer attribute and for being
https://github.com/krzysz00 created
https://github.com/llvm/llvm-project/pull/132349
This commit improves the `EnumProp` class, causing it to wrap around an
`EnumInfo` just like` EnumAttr` does. This EnumProp also has logic for
converting to/from an integer attribute and for being read and wri
https://github.com/HighCommander4 updated
https://github.com/llvm/llvm-project/pull/131074
>From 9530a2186f46fa852021a67c17d06085360d5b9c Mon Sep 17 00:00:00 2001
From: Nathan Ridge
Date: Thu, 13 Mar 2025 01:23:03 -0400
Subject: [PATCH] [clang][HeuristicResolver] Default argument heuristic for
ergawy wrote:
The same issue (requesting reviews from an enormous amounts of people) happened
here as well. No idea why. I just did a simple rebase on `main`. Apologies for
the noise once more.
https://github.com/llvm/llvm-project/pull/127633
___
llv
ergawy wrote:
I have no idea how the PR requested reviews from all these poeple!!! Sorry for
the noise.
https://github.com/llvm/llvm-project/pull/127635
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/127633
>From f6a61dc9d383f19fa1cf38173829f2a732a4d544 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Tue, 18 Feb 2025 02:50:46 -0600
Subject: [PATCH 1/3] [flang][OpenMP] Map simple `do concurrent` loops to
OpenMP host con
https://github.com/ergawy updated
https://github.com/llvm/llvm-project/pull/127634
>From 4515ac1a9f1a3efe94c902b7882400d04d25d4e8 Mon Sep 17 00:00:00 2001
From: ergawy
Date: Tue, 18 Feb 2025 06:17:17 -0600
Subject: [PATCH 1/2] [flang][OpenMP] Extend `do concurrent` mapping to
multi-range loops
https://github.com/androm3da approved this pull request.
https://github.com/llvm/llvm-project/pull/132336
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
llvmbot wrote:
@androm3da What do you think about merging this PR to the release branch?
https://github.com/llvm/llvm-project/pull/132336
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/lis
https://github.com/ylzsx updated
https://github.com/llvm/llvm-project/pull/123680
>From 0f580567169ffbf1546a5389ab4b9f7d1fc07c71 Mon Sep 17 00:00:00 2001
From: yangzhaoxin
Date: Thu, 2 Jan 2025 20:58:56 +0800
Subject: [PATCH 1/8] Convert TLS IE to LE in the normal or medium code model.
Origina
llvmbot wrote:
@llvm/pr-subscribers-bolt
Author: Amir Ayupov (aaupov)
Changes
Define new JumpTable types for AArch64 based on definitions
used in LLVM:
https://github.com/llvm/llvm-project/blob/335a4614dee4123ff4f86e6400fc6a305766e227/llvm/lib/Target/AArch64/AArch64InstrInfo.td#L1217-L122
@@ -1002,6 +1008,87 @@ static bool relax(Ctx &ctx, InputSection &sec) {
return changed;
}
+// Convert TLS IE to LE in the normal or medium code model.
+// Original code sequence:
+// * pcalau12i $a0, %ie_pc_hi20(sym)
+// * ld.d $a0, $a0, %ie_pc_lo12(sym)
+//
+// The c
tstellar wrote:
> Assuming it's safe to define a new override for `softPromoteHalfType()` in a
> new 20.x release, this LGTM.
It's fine, but also it's a non-public header, so it wouldn't matter any way.
https://github.com/llvm/llvm-project/pull/132138
__
https://github.com/tstellar created
https://github.com/llvm/llvm-project/pull/132293
None
>From 10ade7a5d4567202ad7d9d0e29feb356c1d1372d Mon Sep 17 00:00:00 2001
From: Tom Stellard
Date: Thu, 20 Mar 2025 15:02:33 -0700
Subject: [PATCH] Bump version to 20.1.2
---
cmake/Modules/LLVMVersion.cma
ilovepi 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/132101?utm_source=stack-comment-downstack-mergeability-warning";
github-actions[bot] wrote:
:warning: Python code formatter, darker found issues in your code. :warning:
You can test this locally with the following command:
``bash
darker --check --diff -r
46fb4c42cb77909ac86bfec701bfaca288eba33c...b4bcfb2ae2fd41636a7da4986b1da3da6cb31b60
libcx
https://github.com/alexrp approved this pull request.
https://github.com/llvm/llvm-project/pull/132049
___
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/aaupov edited
https://github.com/llvm/llvm-project/pull/132113
___
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/aaupov ready_for_review
https://github.com/llvm/llvm-project/pull/132109
___
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/aaupov edited
https://github.com/llvm/llvm-project/pull/132109
___
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-bolt
Author: Amir Ayupov (aaupov)
Changes
Optional arguments of `analyzeJumpTable` (`EntriesAsAddress` and
`HasEntryInFragment`) are attributes of a JumpTable class.
Instead of passing them separately, accept a pointer to `JumpTable`.
#132114 is a follo
https://github.com/aaupov ready_for_review
https://github.com/llvm/llvm-project/pull/132110
___
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/aaupov edited
https://github.com/llvm/llvm-project/pull/132110
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
ilovepi wrote:
### Merge activity
* **Mar 20, 5:02 PM EDT**: A user started a stack merge that includes this pull
request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/132103).
https://github.com/llvm/llvm-project/pull/132103
Author: Matheus Izvekov
Date: 2025-03-20T17:53:19-03:00
New Revision: 9d96ab9704ba87c81e71d7b26095b68b2ca8aa80
URL:
https://github.com/llvm/llvm-project/commit/9d96ab9704ba87c81e71d7b26095b68b2ca8aa80
DIFF:
https://github.com/llvm/llvm-project/commit/9d96ab9704ba87c81e71d7b26095b68b2ca8aa80.dif
https://github.com/ldionne closed
https://github.com/llvm/llvm-project/pull/132241
___
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/atrosinenko updated
https://github.com/llvm/llvm-project/pull/131897
>From 00d2c847edfe93465587e3931e2bc805028f355b Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Mon, 17 Mar 2025 19:28:25 +0300
Subject: [PATCH 1/2] [BOLT] Gadget scanner: refactor analysis of RET
in
https://github.com/paschalis-mpeis converted_to_draft
https://github.com/llvm/llvm-project/pull/116964
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -480,28 +481,43 @@ static void printBB(const BinaryContext &BC, const
BinaryBasicBlock *BB,
static void reportFoundGadgetInSingleBBSingleOverwInst(
raw_ostream &OS, const BinaryContext &BC, const MCInstReference OverwInst,
-const MCInstReference RetInst) {
- Binar
efriedma-quic wrote:
> with respect to whatever the address operand is pointing to
Say you have two adjacent objects `a` and `b`. So `&a+1 == &b`. If you have
an integer `x` such that `x == &a+1 == &b`, which object is `x` pointing to?
In some cases, you might be able to disambiguate based o
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/131898
>From b0a9955a9af939019a1e720c3d78e7c07ece7a02 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Mon, 17 Mar 2025 22:27:53 +0300
Subject: [PATCH 1/2] [BOLT] Gadget scanner: reformulate the state for
d
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/131899
>From f2b0aece24f35199e88b37ed8d6a6f96ee4b6b26 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Tue, 18 Mar 2025 21:32:11 +0300
Subject: [PATCH 1/2] [BOLT] Gadget scanner: detect non-protected indirec
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/131898
>From b0a9955a9af939019a1e720c3d78e7c07ece7a02 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Mon, 17 Mar 2025 22:27:53 +0300
Subject: [PATCH 1/2] [BOLT] Gadget scanner: reformulate the state for
d
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/131897
>From 136dc3d8728a3511bd524d416059c289f0118100 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Mon, 17 Mar 2025 19:28:25 +0300
Subject: [PATCH 1/2] [BOLT] Gadget scanner: refactor analysis of RET
in
https://github.com/aaupov updated
https://github.com/llvm/llvm-project/pull/132109
>From fda61935133623f207bf4e59af4291e31121ae60 Mon Sep 17 00:00:00 2001
From: Amir Ayupov
Date: Thu, 20 Mar 2025 08:45:44 -0700
Subject: [PATCH] Untangle changes
Created using spr 1.3.4
---
bolt/lib/Core/Binary
https://github.com/dybv-sc created
https://github.com/llvm/llvm-project/pull/132241
This is a backport of original commit #97591 to 18.x release.
>From 881b155a6a432cd8caf96076ed8d53bd6ac029fb Mon Sep 17 00:00:00 2001
From: Louis Dionne
Date: Mon, 8 Jul 2024 15:20:21 -0500
Subject: [PATCH] [li
https://github.com/androm3da approved this pull request.
Assuming it's safe to define a new override for `softPromoteHalfType()` in a
new 20.x release, this LGTM.
https://github.com/llvm/llvm-project/pull/132138
___
llvm-branch-commits mailing list
ll
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/131897
>From 01cc7eef9495cf0d0dc14641fccb5b944bcf03b8 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Mon, 17 Mar 2025 19:28:25 +0300
Subject: [PATCH 1/2] [BOLT] Gadget scanner: refactor analysis of RET
in
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/131899
>From 317a2d79f2b810be89f11fcf7afaa6f92c245e61 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Tue, 18 Mar 2025 21:32:11 +0300
Subject: [PATCH 1/2] [BOLT] Gadget scanner: detect non-protected indirec
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/131896
>From 4af05a4981ec82dd0bce922725ee5b0f72ff8c9b Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Mon, 17 Mar 2025 18:21:30 +0300
Subject: [PATCH 1/3] [BOLT] Gadget scanner: streamline issue reporting
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/131897
>From 01cc7eef9495cf0d0dc14641fccb5b944bcf03b8 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Mon, 17 Mar 2025 19:28:25 +0300
Subject: [PATCH 1/2] [BOLT] Gadget scanner: refactor analysis of RET
in
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/131898
>From da27c6c3ddaf09a97fff98365b457eb1e86828b0 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Mon, 17 Mar 2025 22:27:53 +0300
Subject: [PATCH 1/2] [BOLT] Gadget scanner: reformulate the state for
d
@@ -704,7 +713,10 @@ void BinaryContext::populateJumpTables() {
uint64_t NextJTAddress = 0;
auto NextJTI = std::next(JTI);
-if (NextJTI != JTE)
+if (isAArch64()) {
yavtuk wrote:
here can be a gap between JT, it's better to check $d symbol or n
https://github.com/yavtuk edited
https://github.com/llvm/llvm-project/pull/132114
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -1002,6 +1008,89 @@ static bool relax(Ctx &ctx, InputSection &sec) {
return changed;
}
+// Convert TLS IE to LE in the normal or medium code model.
+// Original code sequence:
+// * pcalau12i $a0, %ie_pc_hi20(sym)
+// * ld.d $a0, $a0, %ie_pc_lo12(sym)
+//
+// The c
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff 9d29d9bbeb0695ec90e79017ed0fd420c073e47e
46f34a90ae7ca02fd57b59a0c38c570d0627f27f --e
https://github.com/SixWeining commented:
Seem that the commit message has some typo.
```
The code sequence converted is as follows:
lu12i.w $a0, %ie_pc_hi20(sym) # le_hi20 != 0, otherwise NOP
ori $a0 $a0, %ie_pc_lo12(sym)
```
`%ie_pc_hi20` should be `%le_hi20`, right?
And the source register
@@ -1375,14 +1375,20 @@ unsigned RelocationScanner::handleTlsRelocation(RelExpr
expr, RelType type,
return 1;
}
+ // LoongArch support IE to LE optimization in non-extreme code model.
SixWeining wrote:
```suggestion
// LoongArch supports IE to LE op
@@ -1002,6 +1008,87 @@ static bool relax(Ctx &ctx, InputSection &sec) {
return changed;
}
+// Convert TLS IE to LE in the normal or medium code model.
+// Original code sequence:
+// * pcalau12i $a0, %ie_pc_hi20(sym)
+// * ld.d $a0, $a0, %ie_pc_lo12(sym)
+//
+// The c
@@ -1002,6 +1008,87 @@ static bool relax(Ctx &ctx, InputSection &sec) {
return changed;
}
+// Convert TLS IE to LE in the normal or medium code model.
+// Original code sequence:
+// * pcalau12i $a0, %ie_pc_hi20(sym)
+// * ld.d $a0, $a0, %ie_pc_lo12(sym)
+//
+// The c
https://github.com/SixWeining edited
https://github.com/llvm/llvm-project/pull/123680
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -1002,6 +1008,87 @@ static bool relax(Ctx &ctx, InputSection &sec) {
return changed;
}
+// Convert TLS IE to LE in the normal or medium code model.
+// Original code sequence:
+// * pcalau12i $a0, %ie_pc_hi20(sym)
+// * ld.d $a0, $a0, %ie_pc_lo12(sym)
+//
+// The c
@@ -0,0 +1,70 @@
+# REQUIRES: loongarch
+## Test LA64 IE -> LE in various cases.
+
+# RUN: llvm-mc --filetype=obj --triple=loongarch64 -mattr=+relax %s -o %t.o
+
+## FIXME: IE relaxation has not yet been implemented.
+## --relax/--no-relax has the same result. Also check --emit-re
@@ -1002,6 +1008,87 @@ static bool relax(Ctx &ctx, InputSection &sec) {
return changed;
}
+// Convert TLS IE to LE in the normal or medium code model.
+// Original code sequence:
+// * pcalau12i $a0, %ie_pc_hi20(sym)
+// * ld.d $a0, $a0, %ie_pc_lo12(sym)
+//
+// The c
@@ -1375,14 +1375,20 @@ unsigned RelocationScanner::handleTlsRelocation(RelExpr
expr, RelType type,
return 1;
}
+ // LoongArch support IE to LE optimization in non-extreme code model.
+ bool execOptimizeInLoongArch =
+ ctx.arg.emachine == EM_LOONGARCH &&
+ (
rovka wrote:
Oh, oops, I think this got closed automatically when I merged my branch into
main. Can you please reopen and update the branch to main? Thanks!
https://github.com/llvm/llvm-project/pull/131329
___
llvm-branch-commits mailing list
llvm-bra
57 matches
Mail list logo