<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git, branch users/boomanaiden154/main.lit-remove-python-27-code-paths-in-builtin-diff</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>[𝘀𝗽𝗿] changes introduced through rebase</title>
<updated>2025-09-09T03:19:14+00:00</updated>
<author>
<name>Aiden Grossman</name>
<email>aidengrossman@google.com</email>
</author>
<published>2025-09-09T03:19:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8c3530cbde51ee85adff6ab20771367ada3a9b49'/>
<id>8c3530cbde51ee85adff6ab20771367ada3a9b49</id>
<content type='text'>
Created using spr 1.3.6

[skip ci]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Created using spr 1.3.6

[skip ci]
</pre>
</div>
</content>
</entry>
<entry>
<title>[APINotes] Prefer diff -u over diff -b</title>
<updated>2025-09-09T03:15:32+00:00</updated>
<author>
<name>Aiden Grossman</name>
<email>aidengrossman@google.com</email>
</author>
<published>2025-09-09T03:15:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3b1ca5e7c5b94b10e3da554a060459a1a1e24495'/>
<id>3b1ca5e7c5b94b10e3da554a060459a1a1e24495</id>
<content type='text'>
Lit's internal shell does not support -b (properly). This patch rewrites
the tests to conform to their existing semantics (using
--implicit-check-not) using diff -u. This allows for enabling lit's
internal shell by default on all platforms.

Fixes #106249.

Reviewers: compnerd, ilovepi, petrhosek, DougGregor

Reviewed By: ilovepi, compnerd

Pull Request: https://github.com/llvm/llvm-project/pull/157588
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Lit's internal shell does not support -b (properly). This patch rewrites
the tests to conform to their existing semantics (using
--implicit-check-not) using diff -u. This allows for enabling lit's
internal shell by default on all platforms.

Fixes #106249.

Reviewers: compnerd, ilovepi, petrhosek, DougGregor

Reviewed By: ilovepi, compnerd

Pull Request: https://github.com/llvm/llvm-project/pull/157588
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc++][NFC] Move some really simple function defintions into the body of __tree (#157424)</title>
<updated>2025-09-09T02:27:27+00:00</updated>
<author>
<name>Nikolas Klauser</name>
<email>nikolasklauser@berlin.de</email>
</author>
<published>2025-09-09T02:27:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b04f6f83f4383c75ec41213ccdaa26553e2f8fd4'/>
<id>b04f6f83f4383c75ec41213ccdaa26553e2f8fd4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[orc-rt] Add 'Test' suffix to unit test names. NFC.</title>
<updated>2025-09-09T02:18:05+00:00</updated>
<author>
<name>Lang Hames</name>
<email>lhames@gmail.com</email>
</author>
<published>2025-09-09T01:29:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4e962c66f1b513a29bf899441a3c010f06687ecd'/>
<id>4e962c66f1b513a29bf899441a3c010f06687ecd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Mips: Force 64bit subtarget feature to be set for ABI options (#157446)</title>
<updated>2025-09-09T02:15:35+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2025-09-09T02:15:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7768cca2c6617523e38ba9a8a3e8366752992ec5'/>
<id>7768cca2c6617523e38ba9a8a3e8366752992ec5</id>
<content type='text'>
Prepare to use this with HwMode. This is mostly code copied from x86.

Mips has an exceptionally broken system where the target-abi option
can be used to change the pointer size. i.e., you can mix and match
32-bit base triples with an explicit request to use 32-bit or 64-bit
pointers such that you cannot rely on the triple reported pointer size.
This hack manages to only work for codegen. The MC subtarget
constructors
do not have access to the target-abi name so those will continue to not
have the appropriate feature set.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prepare to use this with HwMode. This is mostly code copied from x86.

Mips has an exceptionally broken system where the target-abi option
can be used to change the pointer size. i.e., you can mix and match
32-bit base triples with an explicit request to use 32-bit or 64-bit
pointers such that you cannot rely on the triple reported pointer size.
This hack manages to only work for codegen. The MC subtarget
constructors
do not have access to the target-abi name so those will continue to not
have the appropriate feature set.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang] Fix OOB read in SemaSwift::validateSwiftFunctionName (#157139)</title>
<updated>2025-09-09T02:03:56+00:00</updated>
<author>
<name>camc</name>
<email>69519329+camc@users.noreply.github.com</email>
</author>
<published>2025-09-09T02:03:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d4079cf7e25fcf9ffe8800947b671245091c440b'/>
<id>d4079cf7e25fcf9ffe8800947b671245091c440b</id>
<content type='text'>
Resolves #157075 

This was causing an assertion failure on
`_attribute__((swift_name("")))`. Fix ensures this case shows the
warn_attr_swift_name_function diagnostic as expected.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolves #157075 

This was causing an assertion failure on
`_attribute__((swift_name("")))`. Fix ensures this case shows the
warn_attr_swift_name_function diagnostic as expected.</pre>
</div>
</content>
</entry>
<entry>
<title>[bazel] Remove unnecessary AllTargetsAsmParsers dep (#157590)</title>
<updated>2025-09-09T01:44:09+00:00</updated>
<author>
<name>Jordan Rupprecht</name>
<email>rupprecht@google.com</email>
</author>
<published>2025-09-09T01:44:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d16c3e60901706ab1ee6754ead7604e151d5dbc1'/>
<id>d16c3e60901706ab1ee6754ead7604e151d5dbc1</id>
<content type='text'>
Added in #154660 which ported #145899, but only the AllTargetsCodeGens
dep actually seems necessary here.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added in #154660 which ported #145899, but only the AllTargetsCodeGens
dep actually seems necessary here.</pre>
</div>
</content>
</entry>
<entry>
<title>[RISCV] Undo fneg (fmul x, y) -&gt; fmul x, (fneg y) transform (#157388)</title>
<updated>2025-09-09T01:30:33+00:00</updated>
<author>
<name>Luke Lau</name>
<email>luke@igalia.com</email>
</author>
<published>2025-09-09T01:30:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=192d13ea4df1e9535e8736175231798bcde42bb5'/>
<id>192d13ea4df1e9535e8736175231798bcde42bb5</id>
<content type='text'>
InstCombine will hoist an fneg through an fmul, but not for fadd/fsub.
This prevents us from matching fmsub and fnmadd in some cases.

This patch adds a DAG combine to undo this in InstCombine, which helps
some hot loops in 508.namd_r:

@@ -983,18 +983,15 @@
        fld     ft2, 48(a5)
        fld     ft3, 64(a5)
        fld     ft4, 72(a5)
-       fneg.d  fa0, fa0
-       fneg.d  ft0, ft0
-       fneg.d  ft2, ft2
        fmul.d  fa3, ft5, fa3
        fmul.d  fa0, fa3, fa0
        fmul.d  ft0, fa3, ft0
        fmul.d  fa3, fa3, ft2
        fld     ft2, 0(s1)
        fmul.d  fa4, ft5, fa4
-       fmadd.d fa2, fa4, fa2, fa0
-       fmadd.d ft6, fa4, ft6, ft0
-       fmadd.d fa4, fa4, ft1, fa3
+       fmsub.d fa2, fa4, fa2, fa0
+       fmsub.d ft6, fa4, ft6, ft0
+       fmsub.d fa4, fa4, ft1, fa3

This gives a [1.77% improvement in both instruction count and runtime on
508.namd_r](https://lnt.lukelau.me/db_default/v4/nts/profile/1/1022/1021)

This also causes some more fnegs to be sunk after a bitcast to integer,
so they're now done as xor. From glancing at some of the schedules for
WriteFSGN my guess is that this is also profitable.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
InstCombine will hoist an fneg through an fmul, but not for fadd/fsub.
This prevents us from matching fmsub and fnmadd in some cases.

This patch adds a DAG combine to undo this in InstCombine, which helps
some hot loops in 508.namd_r:

@@ -983,18 +983,15 @@
        fld     ft2, 48(a5)
        fld     ft3, 64(a5)
        fld     ft4, 72(a5)
-       fneg.d  fa0, fa0
-       fneg.d  ft0, ft0
-       fneg.d  ft2, ft2
        fmul.d  fa3, ft5, fa3
        fmul.d  fa0, fa3, fa0
        fmul.d  ft0, fa3, ft0
        fmul.d  fa3, fa3, ft2
        fld     ft2, 0(s1)
        fmul.d  fa4, ft5, fa4
-       fmadd.d fa2, fa4, fa2, fa0
-       fmadd.d ft6, fa4, ft6, ft0
-       fmadd.d fa4, fa4, ft1, fa3
+       fmsub.d fa2, fa4, fa2, fa0
+       fmsub.d ft6, fa4, ft6, ft0
+       fmsub.d fa4, fa4, ft1, fa3

This gives a [1.77% improvement in both instruction count and runtime on
508.namd_r](https://lnt.lukelau.me/db_default/v4/nts/profile/1/1022/1021)

This also causes some more fnegs to be sunk after a bitcast to integer,
so they're now done as xor. From glancing at some of the schedules for
WriteFSGN my guess is that this is also profitable.</pre>
</div>
</content>
</entry>
<entry>
<title>[orc-rt] Fix a typo in include-guard comment.</title>
<updated>2025-09-09T01:13:34+00:00</updated>
<author>
<name>Lang Hames</name>
<email>lhames@gmail.com</email>
</author>
<published>2025-09-09T01:11:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=71f98a13b32b85ff6fe1c7b047d8b70c5e7bcc7d'/>
<id>71f98a13b32b85ff6fe1c7b047d8b70c5e7bcc7d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[MLIR][Python] fix stubgen (#157583)</title>
<updated>2025-09-09T01:12:24+00:00</updated>
<author>
<name>Maksim Levental</name>
<email>maksim.levental@gmail.com</email>
</author>
<published>2025-09-09T01:12:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d02c7aeb35a2ac92cd61545329bf8814c3b88de5'/>
<id>d02c7aeb35a2ac92cd61545329bf8814c3b88de5</id>
<content type='text'>
In https://github.com/llvm/llvm-project/pull/155741 I broke the cardinal
rule of CMake: nothing happens when you think it happens 🤷. Meaning:
`declare_mlir_python_sources(SOURCES_GLOB
"_mlir_libs/${_module_name}/**/*.pyi")` wasn't picking up any sources
_because they aren't generated yet_. This of course makes sense in
retrospect (the stubs are generated as part of the build process, post
extension compile, rather than the configure process).

Thus, the API needs to be:

```
GENERATE_TYPE_STUBS: List of generated type stubs expected from stubgen, relative to _mlir_libs.
```

Partially as a result of this omission, the stubs weren't being
installed into either the build dir nor the install dir. That is also
fixed now:

**Source dir (for easy reference):**

&lt;img width="300" height="674" alt="image"
src="https://github.com/user-attachments/assets/a569f066-c2bd-4361-91f3-1c75181e51da"
/&gt;

**Build dir (for forthcoming typechecker tests):**

&lt;img width="398" height="551" alt="image"
src="https://github.com/user-attachments/assets/017859f9-fddb-49ee-85e5-915f5b5f7377"
/&gt;

**Install dir:**

&lt;img width="456" height="884" alt="image"
src="https://github.com/user-attachments/assets/8051be7e-898c-4ec8-a11e-e2408b241a56"
/&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In https://github.com/llvm/llvm-project/pull/155741 I broke the cardinal
rule of CMake: nothing happens when you think it happens 🤷. Meaning:
`declare_mlir_python_sources(SOURCES_GLOB
"_mlir_libs/${_module_name}/**/*.pyi")` wasn't picking up any sources
_because they aren't generated yet_. This of course makes sense in
retrospect (the stubs are generated as part of the build process, post
extension compile, rather than the configure process).

Thus, the API needs to be:

```
GENERATE_TYPE_STUBS: List of generated type stubs expected from stubgen, relative to _mlir_libs.
```

Partially as a result of this omission, the stubs weren't being
installed into either the build dir nor the install dir. That is also
fixed now:

**Source dir (for easy reference):**

&lt;img width="300" height="674" alt="image"
src="https://github.com/user-attachments/assets/a569f066-c2bd-4361-91f3-1c75181e51da"
/&gt;

**Build dir (for forthcoming typechecker tests):**

&lt;img width="398" height="551" alt="image"
src="https://github.com/user-attachments/assets/017859f9-fddb-49ee-85e5-915f5b5f7377"
/&gt;

**Install dir:**

&lt;img width="456" height="884" alt="image"
src="https://github.com/user-attachments/assets/8051be7e-898c-4ec8-a11e-e2408b241a56"
/&gt;</pre>
</div>
</content>
</entry>
</feed>
