[all-commits] [llvm/llvm-project] 5d5b08: [DependenceAnalysis] Guard analysis using getPoint...

Eli Friedman via All-commits all-commits at lists.llvm.org
Thu Jul 15 14:57:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d5b08761f944d5b9822d582378333cc4b36a0a7
      https://github.com/llvm/llvm-project/commit/5d5b08761f944d5b9822d582378333cc4b36a0a7
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2021-07-15 (Thu, 15 Jul 2021)

  Changed paths:
    M llvm/lib/Analysis/DependenceAnalysis.cpp
    A llvm/test/Analysis/DependenceAnalysis/lcssa.ll

  Log Message:
  -----------
  [DependenceAnalysis] Guard analysis using getPointerBase().

D104806 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




More information about the All-commits mailing list