summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/options/foo.cpp
diff options
context:
space:
mode:
authorBrendon Cahoon <bcahoon@codeaurora.org>2017-07-05 21:35:47 +0000
committerBrendon Cahoon <bcahoon@codeaurora.org>2017-07-05 21:35:47 +0000
commitcb8c7b912d5748d5a1aa46097b190a9646e6b8a3 (patch)
treebbb61005815e6efc1d79b2cf3350355128c57ce2 /lldb/packages/Python/lldbsuite/test/expression_command/options/foo.cpp
parentc0fe1f211acea5db185c245e22ac46a5e4c4423d (diff)
downloadbcm5719-llvm-cb8c7b912d5748d5a1aa46097b190a9646e6b8a3.tar.gz
bcm5719-llvm-cb8c7b912d5748d5a1aa46097b190a9646e6b8a3.zip
[DependenceAnalysis] Make sure base objects are the same when comparing GEPs
The dependence analysis was returning incorrect information when using the GEPs to compute dependences. The analysis uses the GEP indices under certain conditions, but was doing it incorrectly when the base objects of the GEP are aliases, but pointing to different locations in the same array. This patch adds another check for the base objects. If the base pointer SCEVs are not equal, then the dependence analysis should fall back on the path that uses the whole SCEV for the dependence check. This fixes PR33567. Differential Revision: https://reviews.llvm.org/D34702 llvm-svn: 307203
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/options/foo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud