aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/python-wrapper.swig
diff options
context:
space:
mode:
authorEli Friedman <efriedma@codeaurora.org>2017-06-20 22:53:02 +0000
committerEli Friedman <efriedma@codeaurora.org>2017-06-20 22:53:02 +0000
commit5e589ea4b1ee5d5bfaa963566e5eedb9cea3e5af (patch)
treeeaeab31e0f92fd2407000563a7fe7a8e5ed90313 /lldb/scripts/Python/python-wrapper.swig
parentcd22753689f6e91e0a2dc19b58a499d5c0b71790 (diff)
downloadllvm-5e589ea4b1ee5d5bfaa963566e5eedb9cea3e5af.zip
llvm-5e589ea4b1ee5d5bfaa963566e5eedb9cea3e5af.tar.gz
llvm-5e589ea4b1ee5d5bfaa963566e5eedb9cea3e5af.tar.bz2
[ScopInfo] Fix crash with sum of invariant load and AddRec.
r303971 added an assertion that SCEV addition involving an AddRec and a SCEVUnknown must involve a dominance relation: either the SCEVUnknown value dominates the AddRec's loop, or the AddRec's loop header dominates the SCEVUnknown. This is generally fine for most usage of SCEV because it isn't possible to write an expression in IR which would violate it, but it's a bit inconvenient here for polly. To solve the issue, just avoid creating a SCEV expression which triggers the asssertion. I'm not really happy with this solution, but I don't have any better ideas. Fixes https://bugs.llvm.org/show_bug.cgi?id=33464. Differential Revision: https://reviews.llvm.org/D34259 llvm-svn: 305864
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions