<p dir="ltr">What is the compile time impact?  Basic AA is supposed to be basic, not catch every case<br>
</p>
<br><div class="gmail_quote"><div dir="ltr">On Wed, Jun 10, 2015, 3:33 PM Tobias Edler von Koch <<a href="mailto:tobias@codeaurora.org">tobias@codeaurora.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 2 Jun 2015 11:32:13 -0500 Tobias Edler von Koch<br>
<<a href="mailto:tobias@codeaurora.org" target="_blank">tobias@codeaurora.org</a>> wrote:<br>
<br>
> Hi all,<br>
><br>
> I came across the following limitation in our BasicAliasAnalysis. This<br>
> happens with the following IR pattern:<br>
><br>
>   %x = phi [ %incptr, ... ] [ %var, ... ]<br>
>   %incptr = getelementptr %x, 1<br>
><br>
> We will basically always return MayAlias for %x and any other value<br>
> because aliasPHI recurses on the first value and gives up.<br>
<br>
Patch now posted as <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D10368&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=XAS0TPm_2YlGHm50hAj_rECjVgV4zuJRIsTP5_wxpe4&s=dW-k0WFK_y9wWUI43KodxAIQ1mSxrCXfmpJKIWfIVzw&e=" rel="noreferrer" target="_blank">http://reviews.llvm.org/D10368</a><br>
<br>
Tobias<br>
<br>
--<br>
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a<br>
Linux Foundation Collaborative Project.<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" rel="noreferrer" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" rel="noreferrer" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div>