<div dir="ltr">I detected this bug using test case from platform which is not currently supported on llvm targets. (Our team is porting llvm on new target).<br>Creating the test case will take some extra time. I'll try to do it ASAP.<br>Have you any ideas about the test case? (targets using ExpandInsertToVectorThroughStack, etc...)<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 12, 2014 at 8:29 PM, Owen Anderson <span dir="ltr"><<a href="mailto:resistor@mac.com" target="_blank">resistor@mac.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">LGTM.  Can you supply a testcase?<br>
<br>
—Owen<br>
<div><div class="h5"><br>
> On Nov 12, 2014, at 5:52 AM, Daniil Troshkov <<a href="mailto:troshkovdanil@gmail.com">troshkovdanil@gmail.com</a>> wrote:<br>
><br>
> Hi Owen!<br>
><br>
> The "First store the whole vector" is without uses and will be deleted later.<br>
> I've attached trivial patch to fix it.<br>
> I have no commit access so if patch is OK, please, commit it .<br>
><br>
> Danil.<br>
</div></div>> <ExpandInsertToVectorThroughStack.patch><br>
<br>
</blockquote></div><br></div>