<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/145177>145177</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[WebAssembly] Missed optimization in any_true/all_true
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
badumbatish
</td>
</tr>
</table>
<pre>
From @lukel97 in #144741
> We should also follow up on this to also handle:
all_true (setcc x, 0, eq) -> not any_true
any_true (setcc x, 0, ne) -> any_true
all_true (setcc x, 0, ne) -> all_true
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8kcFu3CwQgJ8GX0a7gsHY8YFD_j_1reccK7Bn17TYbD2QdPv0FZttmkNVCQHSzDfD8DnmcN6IrDD_CfPUuJKXtFvv5rJ6lwMvjU_z1Y57WkG0MpZvFIcewgYCtWrbvlUg5GNd-hM8E_CSSpzBRU5wSjGmVygXSBvkJTDk9BZZ3DZHErqCLsYveS8EAh-Y8jTBD4H_g6wbfRc4wKHW3lIGt11vqZW6X_9GbfROfST-0ecjcU97m6qZrZ4HPbiGrOqNNNhqLZvF9v7UD32vJ6KuGyZDpjt5r9TDoLWWJ90EixKN7FCprjVaHjsyqpuxHahzflaTaCWtLsRjjC_rMe3nJjAXsqo1qu-b6DxFvolB3OgVblGBWD3ttkIHX85crQTO_KdMDjnejD6Tf2Sm1cerME_wOTDTDOmSwxp-uhzSVkW-fxGOv2dvyh7tkvOFqyIcBY7nkJfij1NaBY611f04XPb0laYscLw9kAWO9wleLP4KAAD__5Lxvgo">