<div dir="auto">Tangentially, that fptosi/fadd/sitofp pattern is what the Float2Int pass is meant to fix up. I wonder if it's legality checks could be extended to match this benchmark (we need to ensure the int is less than 23 bits). </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 17 Sep 2019, 09:08 Roman Lebedev via Phabricator, <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">lebedev.ri added a comment.<br>
<br>
In D67318#1671803 <<a href="https://reviews.llvm.org/D67318#1671803" rel="noreferrer noreferrer" target="_blank">https://reviews.llvm.org/D67318#1671803</a>>, @xbolva00 wrote:<br>
<br>
> Just curious, did you try threshold 5 or 6 for your rawspeed benchmark?<br>
<br>
<br>
No, i have not tried any other thresholds here.<br>
I'm personally not aware of any patterns that would benefit from those thresholds, although i did not look.<br>
<br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
CHANGES SINCE LAST ACTION<br>
  <a href="https://reviews.llvm.org/D67318/new/" rel="noreferrer noreferrer" target="_blank">https://reviews.llvm.org/D67318/new/</a><br>
<br>
<a href="https://reviews.llvm.org/D67318" rel="noreferrer noreferrer" target="_blank">https://reviews.llvm.org/D67318</a><br>
<br>
<br>
<br>
</blockquote></div>