<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/CodeGen/MachineOperand.cpp, branch main</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>Fix the usage issue of getRegMask. (#141215)</title>
<updated>2025-11-02T04:55:08+00:00</updated>
<author>
<name>wdx727</name>
<email>wudexin@kuaishou.com</email>
</author>
<published>2025-11-02T04:55:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=befae81fa2559a7cefa8fe6227149c6147e1eb2f'/>
<id>befae81fa2559a7cefa8fe6227149c6147e1eb2f</id>
<content type='text'>
In the process of determining whether two MachineOperands are equal and
calculating the hash of a MachineOperand, both MO_RegisterMask and
MO_RegisterLiveOut types were uniformly handled. However, when the type
is MO_RegisterLiveOut, calling getRegMask() triggers an assertion
failure. This PR addresses this issue.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the process of determining whether two MachineOperands are equal and
calculating the hash of a MachineOperand, both MO_RegisterMask and
MO_RegisterLiveOut types were uniformly handled. However, when the type
is MO_RegisterLiveOut, calling getRegMask() triggers an assertion
failure. This PR addresses this issue.</pre>
</div>
</content>
</entry>
<entry>
<title>[LoongArch] Fix MergeBaseOffset for constant pool index operand (#159336)</title>
<updated>2025-09-18T02:06:33+00:00</updated>
<author>
<name>hev</name>
<email>wangrui@loongson.cn</email>
</author>
<published>2025-09-18T02:06:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7ca448e47965005b24d107aff6fab4644b8b81b4'/>
<id>7ca448e47965005b24d107aff6fab4644b8b81b4</id>
<content type='text'>
Fixes #159200</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #159200</pre>
</div>
</content>
</entry>
<entry>
<title>[AMDGPU] Add NoaliasAddrSpace to AAMDnodes (#149247)</title>
<updated>2025-07-29T02:10:06+00:00</updated>
<author>
<name>Shoreshen</name>
<email>372660931@qq.com</email>
</author>
<published>2025-07-29T02:10:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a5deb59dfef13cb5eb8e3defc7e94904ea132a34'/>
<id>a5deb59dfef13cb5eb8e3defc7e94904ea132a34</id>
<content type='text'>
This is the following PR of
https://github.com/llvm/llvm-project/pull/136553 which calculate
NoaliasAddrSpace.

This PR carries the info calculated into MIR by adding it into AAMDnodes</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the following PR of
https://github.com/llvm/llvm-project/pull/136553 which calculate
NoaliasAddrSpace.

This PR carries the info calculated into MIR by adding it into AAMDnodes</pre>
</div>
</content>
</entry>
<entry>
<title>[CodeGen][LLVM] Fix MachineOperand::print crash when TII is nullptr. (#135170)</title>
<updated>2025-04-11T07:26:55+00:00</updated>
<author>
<name>z</name>
<email>feqin1023@gmail.com</email>
</author>
<published>2025-04-11T07:26:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b3397bacfb85aa824e1257085500551d3026d49a'/>
<id>b3397bacfb85aa824e1257085500551d3026d49a</id>
<content type='text'>
This crash will caused if run this testcase:
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.barrier-fastregalloc.ll

When build the SDNode, precisely build the SDNode for this ir:
```ir
  call void @llvm.amdgcn.ds.gws.barrier(i32 %val, i32 0)
```
If want call the dump function of the new SDNode in the gdb environment
like this:
```gdb
  p N-&gt;dump()
```
The llvm will crash.

All of these is because calling ```dump()``` will cause the
calling```MachineMemOperand::print()```
with the argument value for the```TII``` is nullptr. 
And the llvm/lib/CodeGen/MachineOperand.cpp#L1235 is a derefrence of
TII.

Signed-off-by: fanfuqiang &lt;fuqiang.fan@mthreads.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This crash will caused if run this testcase:
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.barrier-fastregalloc.ll

When build the SDNode, precisely build the SDNode for this ir:
```ir
  call void @llvm.amdgcn.ds.gws.barrier(i32 %val, i32 0)
```
If want call the dump function of the new SDNode in the gdb environment
like this:
```gdb
  p N-&gt;dump()
```
The llvm will crash.

All of these is because calling ```dump()``` will cause the
calling```MachineMemOperand::print()```
with the argument value for the```TII``` is nullptr. 
And the llvm/lib/CodeGen/MachineOperand.cpp#L1235 is a derefrence of
TII.

Signed-off-by: fanfuqiang &lt;fuqiang.fan@mthreads.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC][LLVM] Remove unused `TargetIntrinsicInfo` class (#126003)</title>
<updated>2025-02-10T22:56:30+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2025-02-10T22:56:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0f674cce82da851961b3e59b1bd663919e17fb65'/>
<id>0f674cce82da851961b3e59b1bd663919e17fb65</id>
<content type='text'>
Remove `TargetIntrinsicInfo` class as its practically unused (its pure
virtual with no subclasses) and its references in the code.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove `TargetIntrinsicInfo` class as its practically unused (its pure
virtual with no subclasses) and its references in the code.</pre>
</div>
</content>
</entry>
<entry>
<title>[CodeGen] Remove implict conversions from Register to unsigned from MachineOperand. NFC</title>
<updated>2025-01-26T07:12:14+00:00</updated>
<author>
<name>Craig Topper</name>
<email>craig.topper@sifive.com</email>
</author>
<published>2025-01-26T06:53:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=37fdde6025c8ead27a7608643b63e0d4498211e2'/>
<id>37fdde6025c8ead27a7608643b63e0d4498211e2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[CodeGen] Use Register/MCRegister::isPhysical. NFC</title>
<updated>2025-01-19T07:37:03+00:00</updated>
<author>
<name>Craig Topper</name>
<email>craig.topper@sifive.com</email>
</author>
<published>2025-01-19T07:36:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4a486e773e0ef1add4515ee47b038c274ced2e76'/>
<id>4a486e773e0ef1add4515ee47b038c274ced2e76</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[CodeGen] Add MOTargetFlag4 to MachineMemOperand Flags (#120136)</title>
<updated>2025-01-03T14:45:52+00:00</updated>
<author>
<name>Acim Maravic</name>
<email>Acim.Maravic@amd.com</email>
</author>
<published>2025-01-03T14:45:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9d6527bc12547e28b86d180b76fe934a96aa518e'/>
<id>9d6527bc12547e28b86d180b76fe934a96aa518e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[CodeGen] Fix warning after #115531</title>
<updated>2024-12-04T05:12:06+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2024-12-04T05:12:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=932c5249ff6b3f31f3b67d944cf5ead156b5dd2c'/>
<id>932c5249ff6b3f31f3b67d944cf5ead156b5dd2c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>CodeGen: Don't assert when printing null GlobalAddress operands (#115531)</title>
<updated>2024-12-04T00:15:56+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2024-12-04T00:15:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e9dc6c5fbb6d2c2c93095acb6ff4ca0b515057ed'/>
<id>e9dc6c5fbb6d2c2c93095acb6ff4ca0b515057ed</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
