<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git, branch llvmorg-21.1.6</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>Reland "[LoongArch] Add `isSafeToMove` hook to prevent unsafe instruction motion" (#167465)</title>
<updated>2025-11-13T09:22:08+00:00</updated>
<author>
<name>hev</name>
<email>wangrui@loongson.cn</email>
</author>
<published>2025-11-12T00:51:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a832a5222e489298337fbb5876f8dcaf072c5cca'/>
<id>a832a5222e489298337fbb5876f8dcaf072c5cca</id>
<content type='text'>
This patch introduces a new virtual method
`TargetInstrInfo::isSafeToMove()` to allow backends to control whether a
machine instruction can be safely moved by optimization passes.

The `BranchFolder` pass now respects this hook when hoisting common
code. By default, all instructions are considered safe to to move.

For LoongArch, `isSafeToMove()` is overridden to prevent
relocation-related instruction sequences (e.g. PC-relative addressing
and calls) from being broken by instruction motion. Correspondingly,
`isSchedulingBoundary()` is updated to reuse this logic for consistency.

Relands #163725

(cherry picked from commit ea10026b64f66b3b69c0545db20f9daa8579f5cb)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch introduces a new virtual method
`TargetInstrInfo::isSafeToMove()` to allow backends to control whether a
machine instruction can be safely moved by optimization passes.

The `BranchFolder` pass now respects this hook when hoisting common
code. By default, all instructions are considered safe to to move.

For LoongArch, `isSafeToMove()` is overridden to prevent
relocation-related instruction sequences (e.g. PC-relative addressing
and calls) from being broken by instruction motion. Correspondingly,
`isSchedulingBoundary()` is updated to reuse this logic for consistency.

Relands #163725

(cherry picked from commit ea10026b64f66b3b69c0545db20f9daa8579f5cb)
</pre>
</div>
</content>
</entry>
<entry>
<title>[CMake][Release] Stop linking against stage1 runtimes (#164017)</title>
<updated>2025-11-12T20:24:37+00:00</updated>
<author>
<name>Tom Stellard</name>
<email>tstellar@redhat.com</email>
</author>
<published>2025-10-22T02:46:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2d631cc168b2d038b25060b8ab68801b9005adef'/>
<id>2d631cc168b2d038b25060b8ab68801b9005adef</id>
<content type='text'>
This was causing a build failure on Darwin and a test failure on Linux.
This config is not widely used or well tested, so I don't think the
potential and likely small performance gains and the portability from
this are worth the maintenance costs.

(cherry picked from commit 1906c3e1e30759d2eb85b2833e8c5ff64128bfba)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was causing a build failure on Darwin and a test failure on Linux.
This config is not widely used or well tested, so I don't think the
potential and likely small performance gains and the portability from
this are worth the maintenance costs.

(cherry picked from commit 1906c3e1e30759d2eb85b2833e8c5ff64128bfba)
</pre>
</div>
</content>
</entry>
<entry>
<title>[MachineCopyPropagation] Remove logic to recognise and delete no-op moves produced after forwarded uses (#167336)</title>
<updated>2025-11-12T12:04:22+00:00</updated>
<author>
<name>Alex Bradbury</name>
<email>asb@igalia.com</email>
</author>
<published>2025-11-11T15:44:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6ca64545e1eb772fc9b0686690a4b82d5d98758b'/>
<id>6ca64545e1eb772fc9b0686690a4b82d5d98758b</id>
<content type='text'>
As reported in &lt;https://github.com/llvm/llvm-project/issues/166870&gt;,
some copies with src==reg are not no-ops, e.g. when self-assigning a
w-reg on AArch64 which will zero-extend the corresponding x register.

Revert in order to fix the issue. We may revisit whether the
optimisation can be made safe at a later point.

Reverts dffbc030e75b758e7512518abd499a0f680addbf.
Fixes #166870.

(cherry picked from commit a314b3b401b5f9e6218d863bfcc29393e1b6f447)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As reported in &lt;https://github.com/llvm/llvm-project/issues/166870&gt;,
some copies with src==reg are not no-ops, e.g. when self-assigning a
w-reg on AArch64 which will zero-extend the corresponding x register.

Revert in order to fix the issue. We may revisit whether the
optimisation can be made safe at a later point.

Reverts dffbc030e75b758e7512518abd499a0f680addbf.
Fixes #166870.

(cherry picked from commit a314b3b401b5f9e6218d863bfcc29393e1b6f447)
</pre>
</div>
</content>
</entry>
<entry>
<title>[RISCV] Correct the CFA offsets for stack probing. (#166616)</title>
<updated>2025-11-12T10:18:16+00:00</updated>
<author>
<name>Craig Topper</name>
<email>craig.topper@sifive.com</email>
</author>
<published>2025-11-06T15:09:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=69586a904bb8dcc4a7c174b39fc5935f2fdff037'/>
<id>69586a904bb8dcc4a7c174b39fc5935f2fdff037</id>
<content type='text'>
We need to take into account that we may have already done a FirstSPAdjust.

Fixes #164805.

(cherry picked from commit ff11b93bb8f5578c9eb7296160570ea001a1155f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to take into account that we may have already done a FirstSPAdjust.

Fixes #164805.

(cherry picked from commit ff11b93bb8f5578c9eb7296160570ea001a1155f)
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][modules] Fix crash in enum visibility lookup for C++20 header units (#166272)</title>
<updated>2025-11-12T09:13:39+00:00</updated>
<author>
<name>Naveen Seth Hanig</name>
<email>naveen.hanig@outlook.com</email>
</author>
<published>2025-11-04T01:54:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2fde0df911255af394d5e6daba3c5b79dc85f797'/>
<id>2fde0df911255af394d5e6daba3c5b79dc85f797</id>
<content type='text'>
Fixes #165445.

Fixes a crash when `ASTWriter::GenerateNameLookupTable` processes enum
constants from C++20 header units.

The special handling for enum constants, introduced in fccc6ee, doesn't
account for declarations whose owning module is a C++20 header unit. It
calls `isNamedModule()` on the result of
`getTopLevelOwningNamedModule()`, which returns null for header units,
causing a null pointer dereference.

(cherry picked from commit bc08e69959ecefecc7ea41b648a659aa19c458c8)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #165445.

Fixes a crash when `ASTWriter::GenerateNameLookupTable` processes enum
constants from C++20 header units.

The special handling for enum constants, introduced in fccc6ee, doesn't
account for declarations whose owning module is a C++20 header unit. It
calls `isNamedModule()` on the result of
`getTopLevelOwningNamedModule()`, which returns null for header units,
causing a null pointer dereference.

(cherry picked from commit bc08e69959ecefecc7ea41b648a659aa19c458c8)
</pre>
</div>
</content>
</entry>
<entry>
<title>[Github] Backport ABI Workflow Changes to Release Branch</title>
<updated>2025-11-12T09:11:19+00:00</updated>
<author>
<name>Aiden Grossman</name>
<email>aidengrossman@google.com</email>
</author>
<published>2025-11-11T21:04:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=251d2d374e014643017fa6cf66426c672b7b0e03'/>
<id>251d2d374e014643017fa6cf66426c672b7b0e03</id>
<content type='text'>
This patch just copies the definitions from main, which should be working.
There are a lot of changes that were not explicitly backported.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch just copies the definitions from main, which should be working.
There are a lot of changes that were not explicitly backported.
</pre>
</div>
</content>
</entry>
<entry>
<title>[debugserver] Fix debugserver build on &lt; macOS 10.15 (#166599)</title>
<updated>2025-11-05T18:50:24+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2025-11-05T18:32:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4b2ac3f7a210c1c8de5e8ee4c5f47104a3859ed7'/>
<id>4b2ac3f7a210c1c8de5e8ee4c5f47104a3859ed7</id>
<content type='text'>
The VM_MEMORY_SANITIZER constant was added in macOs 10.15 and friends.
Support using the constant on older OSes.

Fixes #156144

(cherry picked from commit bc55f4f4f2b4ef196cf3ec25f69dfbd9cd032237)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The VM_MEMORY_SANITIZER constant was added in macOs 10.15 and friends.
Support using the constant on older OSes.

Fixes #156144

(cherry picked from commit bc55f4f4f2b4ef196cf3ec25f69dfbd9cd032237)
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump version to 21.1.6</title>
<updated>2025-11-04T09:28:54+00:00</updated>
<author>
<name>Cullen Rhodes</name>
<email>cullen.rhodes@arm.com</email>
</author>
<published>2025-11-04T09:28:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4aaab27c234399f7beafc9d7f708fea184d060ed'/>
<id>4aaab27c234399f7beafc9d7f708fea184d060ed</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[OpenMP] Fix preprocessor mismatches between include and usages of hwloc (#158349)</title>
<updated>2025-11-03T09:35:47+00:00</updated>
<author>
<name>Peter Arzt</name>
<email>peter@arzt-fd.de</email>
</author>
<published>2025-10-15T08:58:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8e2cd28cd4ba46613a46467b0c91b1cabead26cd'/>
<id>8e2cd28cd4ba46613a46467b0c91b1cabead26cd</id>
<content type='text'>
Fix https://github.com/llvm/llvm-project/issues/156679

There is a mismatch between the preprocessor guards around the include
of `hwloc.h` and those protecting its usages, leading to build failures
on Darwin: https://github.com/spack/spack-packages/pull/1212

This change introduces `KMP_HWLOC_ENABLED` that reflects
whether hwloc is actually used.

(cherry picked from commit cd24d108a2c19c23c4ac80b501fa7361963cca3d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix https://github.com/llvm/llvm-project/issues/156679

There is a mismatch between the preprocessor guards around the include
of `hwloc.h` and those protecting its usages, leading to build failures
on Darwin: https://github.com/spack/spack-packages/pull/1212

This change introduces `KMP_HWLOC_ENABLED` that reflects
whether hwloc is actually used.

(cherry picked from commit cd24d108a2c19c23c4ac80b501fa7361963cca3d)
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-shlib] Fix linking libclang-cpp on Haiku (#156401)</title>
<updated>2025-10-31T10:33:53+00:00</updated>
<author>
<name>Brad Smith</name>
<email>brad@comstyle.com</email>
</author>
<published>2025-10-30T00:55:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=df3145bf4239824619ad36ffaf523fdcceac88c5'/>
<id>df3145bf4239824619ad36ffaf523fdcceac88c5</id>
<content type='text'>
Haiku requires linking in libnetwork.

Co-authored-by: Jérôme Duval &lt;jerome.duval@gmail.com&gt;
(cherry picked from commit 21bcd00e54416b0950da19fe8adb0628a19bf66f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Haiku requires linking in libnetwork.

Co-authored-by: Jérôme Duval &lt;jerome.duval@gmail.com&gt;
(cherry picked from commit 21bcd00e54416b0950da19fe8adb0628a19bf66f)
</pre>
</div>
</content>
</entry>
</feed>
