[llvm] r276510 - [LoopUnrollAnalyzer] Handle out of bounds accesses in visitLoad

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 25 13:51:37 PDT 2016


I think so.

On Mon, Jul 25, 2016 at 4:43 PM, Hans Wennborg <hans at chromium.org> wrote:

> The PR reproduces on 3.9 as well. Should we merge this?
>
> On Fri, Jul 22, 2016 at 7:56 PM, David Majnemer via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
> > Author: majnemer
> > Date: Fri Jul 22 21:56:49 2016
> > New Revision: 276510
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=276510&view=rev
> > Log:
> > [LoopUnrollAnalyzer] Handle out of bounds accesses in visitLoad
> >
> > While we handed loads past the end of an array, we didn't handle loads
> > _before_ the array.
> >
> > This fixes PR28062.
> >
> > N.B. While the bug in the code is obvious, I am struggling to craft a
> > test case which is reasonable in size.
> >
> > Modified:
> >     llvm/trunk/lib/Analysis/LoopUnrollAnalyzer.cpp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160725/92ebb7d6/attachment.html>


More information about the llvm-commits mailing list