[PATCH] D83085: DomTree: Remove getRoots() accessor

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 2 14:36:15 PDT 2020


nhaehnle created this revision.
nhaehnle added reviewers: arsenm, RKSimon, mehdi_amini, courbet.
Herald added subscribers: kerbowa, kuhar, hiraditya, wdng, jvesely.
Herald added a project: LLVM.
nhaehnle added a parent revision: D83084: DomTree: Remove the releaseMemory() method.
nhaehnle added a child revision: D83086: DomTree: add private create{Child,Node} helpers.

Avoid exposing details about how roots are stored. This enables subsequent
type-erasure changes.

Change-Id: I532b774cc71f2224e543bc7d79131d97f63f093d


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83085

Files:
  llvm/include/llvm/Analysis/DominanceFrontier.h
  llvm/include/llvm/CodeGen/MachineDominators.h
  llvm/include/llvm/CodeGen/MachinePostDominators.h
  llvm/include/llvm/Support/GenericDomTree.h
  llvm/include/llvm/Support/GenericDomTreeConstruction.h
  llvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
  llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
  llvm/unittests/IR/DominatorTreeTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83085.275228.patch
Type: text/x-patch
Size: 6150 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200702/161ae545/attachment.bin>


More information about the llvm-commits mailing list