[DependenceAnalysis] Guard analysis using getPointerBase().
d1048065 broke some uses of getMinusSCEV() in DependenceAnalysis: subtraction with different pointer bases returns a SCEVCouldNotCompute. Make sure we avoid cases involving such subtractions. Differential Revision: https://reviews.llvm.org/D106099
Loading
Please sign in to comment