1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/test/Analysis/DependenceAnalysis
Brendon Cahoon 10926d2654 [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
2017-07-05 21:35:47 +00:00
..
Banerjee.ll
BasePtrBug.ll [DependenceAnalysis] Make sure base objects are the same when comparing GEPs 2017-07-05 21:35:47 +00:00
Constraints.ll
Coupled.ll
ExactRDIV.ll
ExactSIV.ll
GCD.ll
Invariant.ll
MIVCheckConst.ll [DependenceAnalysis] Check if result of getConstantPart is null 2016-04-04 18:13:18 +00:00
NonAffineExpr.ll
NonCanonicalizedSubscript.ll
PR21585.ll
Preliminary.ll
Propagating.ll
Separability.ll
StrongSIV.ll
SymbolicRDIV.ll
SymbolicSIV.ll
UsefulGEP.ll
WeakCrossingSIV.ll
WeakZeroDstSIV.ll
WeakZeroSrcSIV.ll
ZIV.ll