[llvm] r209837 - fail to find dimensions when ElementSize is nullptr

Chandler Carruth chandlerc at google.com
Thu May 29 12:57:48 PDT 2014


On Thu, May 29, 2014 at 12:44 PM, Sebastian Pop <spop at codeaurora.org> wrote:

> Author: spop
> Date: Thu May 29 14:44:05 2014
> New Revision: 209837
>
> URL: http://llvm.org/viewvc/llvm-project?rev=209837&view=rev
> Log:
> fail to find dimensions when ElementSize is nullptr
>
> when ScalarEvolution::getElementSize returns nullptr it is safe to early
> return
> in ScalarEvolution::findArrayDimensions such that we avoid later problems
> when
> we try to divide the terms by ElementSize.
>

Test case please.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140529/67810030/attachment.html>


More information about the llvm-commits mailing list