<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git, branch revert-136627-cuf_kernel_stream2</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>Revert "[flang][cuda] Update stream type for cuf kernel op (#136627)"</title>
<updated>2025-04-22T02:37:09+00:00</updated>
<author>
<name>Valentin Clement (バレンタイン クレメン)</name>
<email>clementval@gmail.com</email>
</author>
<published>2025-04-22T02:37:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f84b83e552e411409870ed67d264f7bef6aebfb1'/>
<id>f84b83e552e411409870ed67d264f7bef6aebfb1</id>
<content type='text'>
This reverts commit 46e734746db7176f6e32b3c98beacf1e94fced37.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 46e734746db7176f6e32b3c98beacf1e94fced37.
</pre>
</div>
</content>
</entry>
<entry>
<title>[flang][cuda] Update stream type for cuf kernel op (#136627)</title>
<updated>2025-04-22T02:22:07+00:00</updated>
<author>
<name>Valentin Clement (バレンタイン クレメン)</name>
<email>clementval@gmail.com</email>
</author>
<published>2025-04-22T02:22:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=46e734746db7176f6e32b3c98beacf1e94fced37'/>
<id>46e734746db7176f6e32b3c98beacf1e94fced37</id>
<content type='text'>
Update the type of the stream operand to be similar to KernelLaunchOp.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update the type of the stream operand to be similar to KernelLaunchOp.</pre>
</div>
</content>
</entry>
<entry>
<title>[RISCV] Remove the FIXME for using sraiw+and. NFC.</title>
<updated>2025-04-22T01:13:11+00:00</updated>
<author>
<name>Jim Lin</name>
<email>jim@andestech.com</email>
</author>
<published>2025-04-22T01:06:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ddb8870a5f396f2f17462f878fb7c0cffc879ce4'/>
<id>ddb8870a5f396f2f17462f878fb7c0cffc879ce4</id>
<content type='text'>
https://github.com/llvm/llvm-project/pull/102034 has implemented it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/llvm/llvm-project/pull/102034 has implemented it.
</pre>
</div>
</content>
</entry>
<entry>
<title>[RISCV] Fix Lsb &gt; Msb case in (sra (sext_inreg X, _), C) for th.ext (#136287)</title>
<updated>2025-04-22T01:17:37+00:00</updated>
<author>
<name>Jim Lin</name>
<email>jim@andestech.com</email>
</author>
<published>2025-04-22T01:17:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=698cd48db9c2058442e5e6355a77e91e3456ec2c'/>
<id>698cd48db9c2058442e5e6355a77e91e3456ec2c</id>
<content type='text'>
According the
[spec](https://github.com/XUANTIE-RV/thead-extension-spec/releases/tag/2.3.0),
the operation of `th.ext rd, rs1, msb, lsb` is

  reg[rd] := sign_extend(reg[rs1][msb:lsb])

The spec doesn't specify if lsb is greater than msb.

I don't think lsb can be greater than msb. So that If the shift-right
amount is greater than msb, we can set lsb equal to msb to extract the
bit rs1[msb] and sign-extend it.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According the
[spec](https://github.com/XUANTIE-RV/thead-extension-spec/releases/tag/2.3.0),
the operation of `th.ext rd, rs1, msb, lsb` is

  reg[rd] := sign_extend(reg[rs1][msb:lsb])

The spec doesn't specify if lsb is greater than msb.

I don't think lsb can be greater than msb. So that If the shift-right
amount is greater than msb, we can set lsb equal to msb to extract the
bit rs1[msb] and sign-extend it.</pre>
</div>
</content>
</entry>
<entry>
<title>LowerTypeTests: Switch to emitting one inline asm call per jump table entry.</title>
<updated>2025-04-22T00:49:48+00:00</updated>
<author>
<name>Peter Collingbourne</name>
<email>peter@pcc.me.uk</email>
</author>
<published>2025-04-22T00:49:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c7ea01b8a0382c21da1f64a9bf077c951096db8e'/>
<id>c7ea01b8a0382c21da1f64a9bf077c951096db8e</id>
<content type='text'>
With the previous approach of emitting one inline asm call for all jump
table entries we would encounter SelectionDAG's limit on the number
of operands per node (65536) when the number of jump table entries
exceeded that number. Fix the problem by switching to one inline asm
per jump table entry so that each DAG node only needs one operand.

Reviewers: fmayer, vitalybuka

Reviewed By: fmayer

Pull Request: https://github.com/llvm/llvm-project/pull/136265
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With the previous approach of emitting one inline asm call for all jump
table entries we would encounter SelectionDAG's limit on the number
of operands per node (65536) when the number of jump table entries
exceeded that number. Fix the problem by switching to one inline asm
per jump table entry so that each DAG node only needs one operand.

Reviewers: fmayer, vitalybuka

Reviewed By: fmayer

Pull Request: https://github.com/llvm/llvm-project/pull/136265
</pre>
</div>
</content>
</entry>
<entry>
<title>[LLVM][TableGen] Fix VarlenDecoder.td to not used fixed opcode values (#136632)</title>
<updated>2025-04-22T00:46:24+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2025-04-22T00:46:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2b44eb9f56a51a25391319541de750bb9b5c1fc9'/>
<id>2b44eb9f56a51a25391319541de750bb9b5c1fc9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[lldb] Avoid force loading symbols in statistics collection (#136236)"</title>
<updated>2025-04-22T00:19:54+00:00</updated>
<author>
<name>Shubham Sandeep Rastogi</name>
<email>srastogi22@apple.com</email>
</author>
<published>2025-04-22T00:19:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=08b4c52540727455194b0cf0f6310f391e87c2a5'/>
<id>08b4c52540727455194b0cf0f6310f391e87c2a5</id>
<content type='text'>
This reverts commit d5b40c71f6be972f677de5d9886f91866df007b5.

This change broke greendragon lldb test:

lldb-api :: commands/statistics/basic/TestStats.py

And is therefore being reverted.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit d5b40c71f6be972f677de5d9886f91866df007b5.

This change broke greendragon lldb test:

lldb-api :: commands/statistics/basic/TestStats.py

And is therefore being reverted.
</pre>
</div>
</content>
</entry>
<entry>
<title>[MemProf] Merge callee clones as needed before assigning functions (#135702)</title>
<updated>2025-04-22T00:05:34+00:00</updated>
<author>
<name>Teresa Johnson</name>
<email>tejohnson@google.com</email>
</author>
<published>2025-04-22T00:05:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2cdf474f12090919e5b14c6ef922e5d5df407418'/>
<id>2cdf474f12090919e5b14c6ef922e5d5df407418</id>
<content type='text'>
We perform cloning for each allocation node separately. However, this
sometimes results in a situation where the same node calls multiple
clones of the same callee, created for different allocations. This
causes issues when assigning functions to these clones, as each node can
in reality only call a single callee clone.

To address this, before assigning functions, merge callee clone nodes as
needed using a post order traversal from the allocations. We attempt to
use existing clones as the merge node when legal, and to share them
among callers with the same properties (callers calling the same set of
callee clone nodes for the same allocations).

Without this fix, in some cases incorrect function assignment will lead
to calling the wrong allocation clone. In fact, this showed up in an
existing test, that I didn't notice as it existed to test earlier parts
of the cloning process.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We perform cloning for each allocation node separately. However, this
sometimes results in a situation where the same node calls multiple
clones of the same callee, created for different allocations. This
causes issues when assigning functions to these clones, as each node can
in reality only call a single callee clone.

To address this, before assigning functions, merge callee clone nodes as
needed using a post order traversal from the allocations. We attempt to
use existing clones as the merge node when legal, and to share them
among callers with the same properties (callers calling the same set of
callee clone nodes for the same allocations).

Without this fix, in some cases incorrect function assignment will lead
to calling the wrong allocation clone. In fact, this showed up in an
existing test, that I didn't notice as it existed to test earlier parts
of the cloning process.</pre>
</div>
</content>
</entry>
<entry>
<title>[RISCV] Remove duplicate call to MFI.getStackID(FI). NFC</title>
<updated>2025-04-21T23:53:22+00:00</updated>
<author>
<name>Craig Topper</name>
<email>craig.topper@sifive.com</email>
</author>
<published>2025-04-21T23:53:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a1db2c64918efa3d74dfdb402b8cff30bc555521'/>
<id>a1db2c64918efa3d74dfdb402b8cff30bc555521</id>
<content type='text'>
Reuse existing local variable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reuse existing local variable.
</pre>
</div>
</content>
</entry>
<entry>
<title>[lldb] Avoid force loading symbols in statistics collection (#136236)</title>
<updated>2025-04-21T23:53:14+00:00</updated>
<author>
<name>royitaqi</name>
<email>royitaqi@users.noreply.github.com</email>
</author>
<published>2025-04-21T23:53:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d5b40c71f6be972f677de5d9886f91866df007b5'/>
<id>d5b40c71f6be972f677de5d9886f91866df007b5</id>
<content type='text'>
Currently, `DebuggerStats::ReportStatistics()` calls
`Module::GetSymtab(/*can_create=*/false)`, but then the latter calls
`SymbolFile::GetSymtab()`. This will load symbols if haven't yet. See
stacktrace below.

The problem is that `DebuggerStats::ReportStatistics` should be
read-only. This is especially important because it reports stats for
symtab parsing/indexing time, which could be affected by the reporting
itself if it's not read-only.

This patch fixes this problem by adding an optional parameter
`SymbolFile::GetSymtab(bool can_create = true)` and receive the `false`
value passed down from `Module::GetSymtab(/*can_create=*/false)` when
the call was initiated from `DebuggerStats::ReportStatistics()`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, `DebuggerStats::ReportStatistics()` calls
`Module::GetSymtab(/*can_create=*/false)`, but then the latter calls
`SymbolFile::GetSymtab()`. This will load symbols if haven't yet. See
stacktrace below.

The problem is that `DebuggerStats::ReportStatistics` should be
read-only. This is especially important because it reports stats for
symtab parsing/indexing time, which could be affected by the reporting
itself if it's not read-only.

This patch fixes this problem by adding an optional parameter
`SymbolFile::GetSymtab(bool can_create = true)` and receive the `false`
value passed down from `Module::GetSymtab(/*can_create=*/false)` when
the call was initiated from `DebuggerStats::ReportStatistics()`.
</pre>
</div>
</content>
</entry>
</feed>
