[all-commits] [llvm/llvm-project] 77b2bb: [LAA] Use type sizes when determining dependence.

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Wed Dec 8 07:01:18 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77b2bb55671ab0f2daa84f48db7947dc58f065f2
      https://github.com/llvm/llvm-project/commit/77b2bb55671ab0f2daa84f48db7947dc58f065f2
  Author: Jolanta Jensen <jolanta.jensen at arm.com>
  Date:   2021-12-08 (Wed, 08 Dec 2021)

  Changed paths:
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    A llvm/test/Analysis/LoopAccessAnalysis/depend_diff_types.ll

  Log Message:
  -----------
  [LAA] Use type sizes when determining dependence.

In the isDependence function the code does not try hard enough
to determine the dependence between types. If the types are
different it simply gives up, whereas in fact what we really
care about are the type sizes. I've changed the code to compare
sizes instead of types.

Reviewed By: fhahn, sdesmalen

Differential Revision: https://reviews.llvm.org/D108763




More information about the All-commits mailing list