<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.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>DAG: Handle poison in m_Undef (#168288)</title>
<updated>2025-11-21T23:29:15+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2025-11-21T23:29:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9fa7627d891007e495eb701a30c09761403f8042'/>
<id>9fa7627d891007e495eb701a30c09761403f8042</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DAG] Add generic m_TernaryOp() / m_c_TernaryOp() matchers (#165520)</title>
<updated>2025-10-29T15:17:38+00:00</updated>
<author>
<name>陈子昂</name>
<email>121872494+Michael-Chen-NJU@users.noreply.github.com</email>
</author>
<published>2025-10-29T15:17:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9b513ad505ff606f66efe8ece35351eeabc4133a'/>
<id>9b513ad505ff606f66efe8ece35351eeabc4133a</id>
<content type='text'>
Similar to the m_BinOp/m_c_BinOp matchers, this patch introduces generic matchers for SelectionDAG nodes with three operands.

This includes:
- Adding m_TernaryOp() and m_c_TernaryOp() templates in SDPatternMatch.h.
- Adding comprehensive test coverage in SelectionDAGPatternMatchTest.cpp.

Fixes #165378</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Similar to the m_BinOp/m_c_BinOp matchers, this patch introduces generic matchers for SelectionDAG nodes with three operands.

This includes:
- Adding m_TernaryOp() and m_c_TernaryOp() templates in SDPatternMatch.h.
- Adding comprehensive test coverage in SelectionDAGPatternMatchTest.cpp.

Fixes #165378</pre>
</div>
</content>
</entry>
<entry>
<title>[DAG] Create SDPatternMatch method `m_SelectLike` to match `ISD::Select` and `ISD::VSelect` (#164069)</title>
<updated>2025-10-22T09:49:34+00:00</updated>
<author>
<name>kper</name>
<email>kevin.per@protonmail.com</email>
</author>
<published>2025-10-22T09:49:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e83eee335c477ab80612b09bf840700d6982c3ef'/>
<id>e83eee335c477ab80612b09bf840700d6982c3ef</id>
<content type='text'>
Fixes #150019</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #150019</pre>
</div>
</content>
</entry>
<entry>
<title>Add m_SelectCCLike matcher to match SELECT_CC or SELECT with SETCC (#149646)</title>
<updated>2025-08-01T09:12:05+00:00</updated>
<author>
<name>黃國庭</name>
<email>we3223@gmail.com</email>
</author>
<published>2025-08-01T09:12:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f04ea2ef1ca11673cd87371ae54dcbdf7dde3cd6'/>
<id>f04ea2ef1ca11673cd87371ae54dcbdf7dde3cd6</id>
<content type='text'>
Fix #147282 and  Follow-up to #148834

---------

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>
Fix #147282 and  Follow-up to #148834

---------

Co-authored-by: Simon Pilgrim &lt;llvm-dev@redking.me.uk&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[LLVM][SelectionDAG] Align poison/undef binop folds with IR. (#149334)</title>
<updated>2025-07-30T10:20:30+00:00</updated>
<author>
<name>Paul Walker</name>
<email>paul.walker@arm.com</email>
</author>
<published>2025-07-30T10:20:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=13f38c97d597f3b07fb674d9b8c2b1db2bc0724f'/>
<id>13f38c97d597f3b07fb674d9b8c2b1db2bc0724f</id>
<content type='text'>
The "at construction" binop folds in SelectionDAG::getNode() has
different behaviour when compared to the equivalent LLVM IR. This PR
makes the behaviour consistent while also extending the coverage to
include signed/unsigned max/min operations.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "at construction" binop folds in SelectionDAG::getNode() has
different behaviour when compared to the equivalent LLVM IR. This PR
makes the behaviour consistent while also extending the coverage to
include signed/unsigned max/min operations.</pre>
</div>
</content>
</entry>
<entry>
<title>[AMDGPU] SelectionDAG divergence tracking should take into account Target divergency. (#147560)</title>
<updated>2025-07-08T22:06:58+00:00</updated>
<author>
<name>alex-t</name>
<email>alex-t@users.noreply.github.com</email>
</author>
<published>2025-07-08T22:06:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9293b65a616b8de432a654d046e802540b146372'/>
<id>9293b65a616b8de432a654d046e802540b146372</id>
<content type='text'>
This is the next attempt to upstream this:
https://github.com/llvm/llvm-project/pull/144947
The las one caused build errors in AArch64.
Issue was resolved.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the next attempt to upstream this:
https://github.com/llvm/llvm-project/pull/144947
The las one caused build errors in AArch64.
Issue was resolved.</pre>
</div>
</content>
</entry>
<entry>
<title>[DAG] SDPatternMatch - add matching for SELECT_CC patterns to min/max like matchers (#147071)</title>
<updated>2025-07-08T20:38:44+00:00</updated>
<author>
<name>Simon Pilgrim</name>
<email>llvm-dev@redking.me.uk</email>
</author>
<published>2025-07-08T20:38:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d3270adcb5b2eccbdac66e193603ac8e3818d309'/>
<id>d3270adcb5b2eccbdac66e193603ac8e3818d309</id>
<content type='text'>
Fixes #147083</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #147083</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC] Remove redundant namespace qualifier in SelectionDAGPatternMatchTest (#147443)</title>
<updated>2025-07-08T02:09:12+00:00</updated>
<author>
<name>woruyu</name>
<email>99597449+woruyu@users.noreply.github.com</email>
</author>
<published>2025-07-08T02:09:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ae43002cd08e320e88758a720e75b27066678a37'/>
<id>ae43002cd08e320e88758a720e75b27066678a37</id>
<content type='text'>
### Summary
This PR remove the extra llvm::SDPatternMatch prefix in
https://github.com/llvm/llvm-project/pull/147044</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
### Summary
This PR remove the extra llvm::SDPatternMatch prefix in
https://github.com/llvm/llvm-project/pull/147044</pre>
</div>
</content>
</entry>
<entry>
<title>[DAG] SDPatternMatch m_Zero/m_One/m_AllOnes have inconsistent undef h… (#147044)</title>
<updated>2025-07-07T14:04:54+00:00</updated>
<author>
<name>woruyu</name>
<email>99597449+woruyu@users.noreply.github.com</email>
</author>
<published>2025-07-07T14:04:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c80fa2364beeca4ad75125afa29de3e20b63fbd3'/>
<id>c80fa2364beeca4ad75125afa29de3e20b63fbd3</id>
<content type='text'>
### Summary
This PR resolves https://github.com/llvm/llvm-project/issues/146871 
This PR resolves https://github.com/llvm/llvm-project/issues/140745

Refactor m_Zero/m_One/m_AllOnes all use struct template function to
match and AllowUndefs=false as default.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
### Summary
This PR resolves https://github.com/llvm/llvm-project/issues/146871 
This PR resolves https://github.com/llvm/llvm-project/issues/140745

Refactor m_Zero/m_One/m_AllOnes all use struct template function to
match and AllowUndefs=false as default.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[AMDGPU] SelectionDAG divergence tracking should take into account Target divergency. (#144947)"</title>
<updated>2025-07-03T18:25:01+00:00</updated>
<author>
<name>Florian Hahn</name>
<email>flo@fhahn.com</email>
</author>
<published>2025-07-03T18:23:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=bfd457588af9a7fa0aca14f14275d169c55e6277'/>
<id>bfd457588af9a7fa0aca14f14275d169c55e6277</id>
<content type='text'>
This reverts commit 8ac7210b7f0ad49ae7809bf6a9faf2f7433384b0.

This breaks the building the AArch64 backend, e.g. see
https://github.com/llvm/llvm-project/pull/144947

Revert to unbreak the build.

Also reverts follow-up commits 1e76f012db3ccfaa05e238812e572b5b6d12c17e.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 8ac7210b7f0ad49ae7809bf6a9faf2f7433384b0.

This breaks the building the AArch64 backend, e.g. see
https://github.com/llvm/llvm-project/pull/144947

Revert to unbreak the build.

Also reverts follow-up commits 1e76f012db3ccfaa05e238812e572b5b6d12c17e.
</pre>
</div>
</content>
</entry>
</feed>
