[all-commits] [llvm/llvm-project] 5fae61: [LVI] Don't require DominatorTree in LVI (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue May 19 11:22:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5fae613a4fd3c7aed075a98761bbfde8855b5c3b
      https://github.com/llvm/llvm-project/commit/5fae613a4fd3c7aed075a98761bbfde8855b5c3b
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/LazyValueInfo.h
    M llvm/lib/Analysis/LazyValueInfo.cpp
    M llvm/lib/Transforms/Scalar/JumpThreading.cpp
    M llvm/lib/Transforms/Utils/LowerSwitch.cpp
    M llvm/test/Analysis/LazyValueAnalysis/invalidation.ll

  Log Message:
  -----------
  [LVI] Don't require DominatorTree in LVI (NFC)

After D76797 the dominator tree is no longer used in LVI, so we
can remove it as a pass dependency, and also get rid of the
dominator tree enabling/disabling logic in JumpThreading.

Apart from cleaning up the code, this also clarifies LVI
cache consistency, in that the LVI cache can no longer
depend on whether the DT was or wasn't enabled due to
pending DT updates at any given time.

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




More information about the All-commits mailing list