<div dir="ltr">> `extractvalue` from `@llvm.with.overflow` specifically?<br><div><br></div><div>Is there a situation in which *any* extractvalue generates code? structs have to be SROA'd into registers anyway, right?</div><div><br></div><div>James</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 30 Jul 2019 at 16:53, 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">lebedev.ri added a comment.<br>
<br>
@dmgreen could you please specify, did you test this point of this patch queue, or this patch itself?<br>
I'm interested in latter, only in perf impact of changing `-phi-node-folding-threshold=2` to `-phi-node-folding-threshold=3`<br>
Otherwise you'd need to test the entire patch queue.<br>
<br>
In D65148#1606412 <<a href="https://reviews.llvm.org/D65148#1606412" rel="noreferrer" target="_blank">https://reviews.llvm.org/D65148#1606412</a>>, @craig.topper wrote:<br>
<br>
> For the mul overflow case, I wonder if we should be treating extractvalue as free? It won’t generate any code.<br>
<br>
<br>
`extractvalue` from `@llvm.with.overflow` specifically?<br>
Only for X86, or in general?<br>
That could work.<br>
<br>
<br>
Repository:<br>
  rG LLVM Github Monorepo<br>
<br>
CHANGES SINCE LAST ACTION<br>
  <a href="https://reviews.llvm.org/D65148/new/" rel="noreferrer" target="_blank">https://reviews.llvm.org/D65148/new/</a><br>
<br>
<a href="https://reviews.llvm.org/D65148" rel="noreferrer" target="_blank">https://reviews.llvm.org/D65148</a><br>
<br>
<br>
<br>
</blockquote></div>