[all-commits] [llvm/llvm-project] 3fa989: DomTree: remove explicit use of DomTreeNodeBase::i...

Nicolai Hähnle via All-commits all-commits at lists.llvm.org
Wed Jul 8 09:19:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3fa989d4fd6b854209ba4e950d96b91d6d5797b4
      https://github.com/llvm/llvm-project/commit/3fa989d4fd6b854209ba4e950d96b91d6d5797b4
  Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M clang/include/clang/Analysis/Analyses/Dominators.h
    M llvm/include/llvm/CodeGen/MachineDominators.h
    M llvm/include/llvm/IR/Dominators.h
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/lib/Transforms/Scalar/EarlyCSE.cpp
    M llvm/lib/Transforms/Scalar/Sink.cpp
    M llvm/lib/Transforms/Vectorize/VPlanDominatorTree.h
    M mlir/include/mlir/IR/Dominance.h
    M mlir/lib/Transforms/CSE.cpp

  Log Message:
  -----------
  DomTree: remove explicit use of DomTreeNodeBase::iterator

Summary:
Almost all uses of these iterators, including implicit ones, really
only need the const variant (as it should be). The only exception is
in NewGVN, which changes the order of dominator tree child nodes.

Change-Id: I4b5bd71e32d71b0c67b03d4927d93fe9413726d4

Reviewers: arsenm, RKSimon, mehdi_amini, courbet, rriddle, aartbik

Subscribers: wdng, Prazek, hiraditya, kuhar, rogfer01, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, grosul1, vkmr, Kayjukh, jurahul, msifontes, cfe-commits, llvm-commits

Tags: #clang, #mlir, #llvm

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




More information about the All-commits mailing list