[PATCH] D38662: [BasicAA] Support arbitrary pointer sizes (and fix an overflow bug)
Michael Ferguson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 31 13:41:07 PDT 2018
mppf added a comment.
Note that this commit is related:
> commit 4b3289612268b4fbbf578256a15d31e3f5033003
> Author: Davide Italiano <davide at freebsd.org>
> Date: Mon Jan 15 01:40:18 2018 +0000
>
> [BasicAA] Stop crashing when dealing with pointers > 64 bits.
>
> An alternative (and probably better) fix would be that of
> making `Scale` an APInt, and there's a patch floating around
> to do this. As we're still discussing it, at least stop crashing
> in the meanwhile (added bonus, we now have a regression test for
> this situation).
>
> Fixes PR35843.
>
> Thanks to Eli for suggesting the fix and Simon for reporting and
> reducing the bug.
>
> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322467 91177308-0d34-0410-b5e6-96231b3b80d8
>
https://reviews.llvm.org/D38662
More information about the llvm-commits
mailing list