[all-commits] [llvm/llvm-project] 4972d1: [SCEV] Only add direct loop users (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Nov 1 10:50:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4972d12185b087263c6ec189ae2e46a11f9d2d29
      https://github.com/llvm/llvm-project/commit/4972d12185b087263c6ec189ae2e46a11f9d2d29
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-11-01 (Mon, 01 Nov 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/lib/Analysis/ScalarEvolution.cpp

  Log Message:
  -----------
  [SCEV] Only add direct loop users (NFC)

It it now sufficient to track only direct addrec users of a loop,
and let the SCEVUsers mechanism track and invalidate transitive users.

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




More information about the All-commits mailing list