<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp, branch users/nico/python-2</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>[DAG] Implement SDPatternMatch `m_SpecificScalarVT` and `m_SpecificVectorElementVT` matchers (#144996)</title>
<updated>2025-06-30T12:26:00+00:00</updated>
<author>
<name>zhaohui</name>
<email>wangzhaohui@uniontech.com</email>
</author>
<published>2025-06-30T12:26:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=eb1a80bfd3a07e1d771c1d322ed377254afc5f2e'/>
<id>eb1a80bfd3a07e1d771c1d322ed377254afc5f2e</id>
<content type='text'>
Resolves https://github.com/llvm/llvm-project/issues/144477

---------

Co-authored-by: Simon Pilgrim &lt;llvm-dev@redking.me.uk&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolves https://github.com/llvm/llvm-project/issues/144477

---------

Co-authored-by: Simon Pilgrim &lt;llvm-dev@redking.me.uk&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[DAG] Add `SDPatternMatch::m_Load` (#145481)</title>
<updated>2025-06-26T17:33:31+00:00</updated>
<author>
<name>Abhishek Kaushik</name>
<email>abhishek.kaushik@intel.com</email>
</author>
<published>2025-06-26T17:33:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=abf8e25ac7644dd035361383ec4f74e0456c1b3e'/>
<id>abf8e25ac7644dd035361383ec4f74e0456c1b3e</id>
<content type='text'>
Add SDPatternMatch matcher and unit test coverage for `ISD::LOAD`
opcode.
This only matches the loaded value i.e. ResNo 0 and not the output
chain.
e.g.
```
m_Load(m_Value(), m_Value(), m_Value())
```

The first value is the input chain, the second is the base pointer, and
the last value is the offset.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add SDPatternMatch matcher and unit test coverage for `ISD::LOAD`
opcode.
This only matches the loaded value i.e. ResNo 0 and not the output
chain.
e.g.
```
m_Load(m_Value(), m_Value(), m_Value())
```

The first value is the input chain, the second is the base pointer, and
the last value is the offset.</pre>
</div>
</content>
</entry>
<entry>
<title>[DAG] Add SDPatternMatch::m_Result to match a specific SDValue result (#145775)</title>
<updated>2025-06-26T16:38:22+00:00</updated>
<author>
<name>Min-Yih Hsu</name>
<email>min.hsu@sifive.com</email>
</author>
<published>2025-06-26T16:38:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f0c1a9a85d1864aef23b3aa9157df1c48c9f2a5e'/>
<id>f0c1a9a85d1864aef23b3aa9157df1c48c9f2a5e</id>
<content type='text'>
`m_Result&lt;N&gt;` matches a SDValue that is the N-th result of the defining
SDNode. This is useful for creating a more fine-grained matching on
SDNode with multiple results.

-----
Inspired by #145481</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`m_Result&lt;N&gt;` matches a SDValue that is the N-th result of the defining
SDNode. This is useful for creating a more fine-grained matching on
SDNode with multiple results.

-----
Inspired by #145481</pre>
</div>
</content>
</entry>
<entry>
<title>[SDPatternMatch] Add m_Poison matcher (#144860)</title>
<updated>2025-06-20T02:58:02+00:00</updated>
<author>
<name>Ming Yan</name>
<email>99472920+NexMing@users.noreply.github.com</email>
</author>
<published>2025-06-20T02:58:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=bb51c5d4b85a655e8c90247a6678e507402703a4'/>
<id>bb51c5d4b85a655e8c90247a6678e507402703a4</id>
<content type='text'>
Add SDPatternMatch matcher and unit test coverage for ISD::POISON opcode

e.g.
```
m_InsertElt(m_Poison(), m_Value(), m_Zero())
```</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add SDPatternMatch matcher and unit test coverage for ISD::POISON opcode

e.g.
```
m_InsertElt(m_Poison(), m_Value(), m_Zero())
```</pre>
</div>
</content>
</entry>
<entry>
<title>[DAG] Implement SDPatternMatch `m_Abs()` matcher (#144512)</title>
<updated>2025-06-18T07:29:27+00:00</updated>
<author>
<name>Rajveer Singh Bharadwaj</name>
<email>rajveer.developer@icloud.com</email>
</author>
<published>2025-06-18T07:29:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e07b1b26c38ba48af247b370a29eeb9879cefc97'/>
<id>e07b1b26c38ba48af247b370a29eeb9879cefc97</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm] Compare std::optional&lt;T&gt; to values directly (NFC) (#143340)</title>
<updated>2025-06-09T05:37:59+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-06-09T05:37:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=03f616eb3acf1ae5a219ea247d9efe3cbfd41b59'/>
<id>03f616eb3acf1ae5a219ea247d9efe3cbfd41b59</id>
<content type='text'>
This patch transforms:

  X &amp;&amp; *X == Y

to:

  X == Y

where X is of std::optional&lt;T&gt;, and Y is of T or similar.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch transforms:

  X &amp;&amp; *X == Y

to:

  X == Y

where X is of std::optional&lt;T&gt;, and Y is of T or similar.</pre>
</div>
</content>
</entry>
<entry>
<title>[DAG] Add SDPatternMatch::m_BitwiseLogic common matcher for AND/OR/XOR nodes (#138301)</title>
<updated>2025-05-06T11:50:50+00:00</updated>
<author>
<name>Simon Pilgrim</name>
<email>llvm-dev@redking.me.uk</email>
</author>
<published>2025-05-06T11:50:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=bde39d72515dd3a0e6fe2f62c7a08676af920384'/>
<id>bde39d72515dd3a0e6fe2f62c7a08676af920384</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DAG] SDPatternMatch - add matchers for reassociatable binops (#119985)</title>
<updated>2025-03-21T20:05:06+00:00</updated>
<author>
<name>Ethan Kaji</name>
<email>ethan.kaji@gmail.com</email>
</author>
<published>2025-03-21T20:05:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6b00ae6359b6442b827d0961357a09ec8dce72a4'/>
<id>6b00ae6359b6442b827d0961357a09ec8dce72a4</id>
<content type='text'>
fixes https://github.com/llvm/llvm-project/issues/118847

implements matchers for reassociatable opcodes as well as helpers for
commonly used reassociatable binary matchers.

---------

Co-authored-by: Min-Yih Hsu &lt;min@myhsu.dev&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fixes https://github.com/llvm/llvm-project/issues/118847

implements matchers for reassociatable opcodes as well as helpers for
commonly used reassociatable binary matchers.

---------

Co-authored-by: Min-Yih Hsu &lt;min@myhsu.dev&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[TargetRegistry] Accept Triple in createTargetMachine() (NFC) (#130940)</title>
<updated>2025-03-12T16:35:09+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>npopov@redhat.com</email>
</author>
<published>2025-03-12T16:35:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f137c3d592e96330e450a8fd63ef7e8877fc1908'/>
<id>f137c3d592e96330e450a8fd63ef7e8877fc1908</id>
<content type='text'>
This avoids doing a Triple -&gt; std::string -&gt; Triple round trip in lots
of places, now that the Module stores a Triple.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids doing a Triple -&gt; std::string -&gt; Triple round trip in lots
of places, now that the Module stores a Triple.</pre>
</div>
</content>
</entry>
<entry>
<title>[DAG] Add SDPatternMatch::m_BitCast matcher (#123327)</title>
<updated>2025-01-17T12:22:07+00:00</updated>
<author>
<name>Simon Pilgrim</name>
<email>llvm-dev@redking.me.uk</email>
</author>
<published>2025-01-17T12:22:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=bacfdcd7e0989117a3c76b040fe9efe093fa8708'/>
<id>bacfdcd7e0989117a3c76b040fe9efe093fa8708</id>
<content type='text'>
Simplifies a future patch</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Simplifies a future patch</pre>
</div>
</content>
</entry>
</feed>
