Skip to content
Commit 5d5b0876 authored by Eli Friedman's avatar Eli Friedman
Browse files

[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
parent a8ad9170
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment