[all-commits] [llvm/llvm-project] 0d20eb: [BasicAA] Use ranges for more than one index

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Oct 25 06:31:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d20ebf6862f77ce0913187c05c02ba5df175f29
      https://github.com/llvm/llvm-project/commit/0d20ebf6862f77ce0913187c05c02ba5df175f29
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-10-25 (Mon, 25 Oct 2021)

  Changed paths:
    M llvm/lib/Analysis/BasicAliasAnalysis.cpp
    M llvm/test/Analysis/BasicAA/range.ll

  Log Message:
  -----------
  [BasicAA] Use ranges for more than one index

D109746 made BasicAA use range information to determine the
minimum/maximum GEP offset. However, it was limited to the case of
a single variable index. This patch extends support to multiple
indices by adding all the ranges together.

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




More information about the All-commits mailing list