<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/144474>144474</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[DAG] Add SDPatternMatch m_Abs() matcher
</td>
</tr>
<tr>
<th>Labels</th>
<td>
good first issue,
llvm:SelectionDAG
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
RKSimon
</td>
</tr>
</table>
<pre>
- [ ] Add a SDPatternMatch::m_Abs() matcher for ISD::ABS unary ops
- [ ] Unit test coverage in SelectionDAGPatternMatchTest.cpp
- [ ] Refactor DAGCombiner::foldABSToABD to use m_Abs(m_Sub(m_Value(Op0), m_Value(Op1))) as an initial usage
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxsUlGLpDwQ_DXtS7NDbM2oDz5kRmb5-DjuWPfudYkmOjmikSQO7L8_dPbYWTgINFRXuipdkSGYcda6Bn4C3iRyjVfn65f_WzO5Oemceq-fEPgJgTcolEKJbfNDxqj9_E3G_gqZgExMb6ILQCVQhdMGa4-D8_hf29wJ4tTiOkv_jm4JwMTn0J-ziRh1iNi7m_Zy1GhmbLXVfTRubsTzo9yrDvHQL8uXES96kH10HhvxfHZTZ2bt77KDs0qc2lcnTg1Gh2vQ-Nfr9Nau3V5_SbtqoPL7woAqoDM-YumObQdlQDmjmU000uIa5KgTVWeqyiqZ6DotOEvzoiCWXGvK06LjKiVVFTxLpTr26bHgTFdUZgUvE1MTI86OacFKVubsIDkNpWK94qqQxAfImZ6ksQdrb9PB-TExIay6TvM8L_LEyk7bsCdHNDqncDA-RNxJQAR0BqLtLmTicZ9bjzeJr7feU7eOAXJmTYjhUymaaPdfsfE_ov8aPP4j82T1tr7GuIRt_XQBuowmXtfu0LsJ6LKbuZenxbvfuo9Al91wALp8POxW058AAAD__xDdzUE">