[PATCH] Move NearestCommonDominator class into common code.
Matt Arsenault
Matthew.Arsenault at amd.com
Mon Feb 3 18:43:20 PST 2014
Use the dominator base class so it could also be used for machine dominators.
This is a helper class for more efficiently finding the common dominator of N nodes, rather than only two as findNearestCommonDominator does.
This is the result of the discussion had previously when I moved StructurizeCFG out of R600:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130603/176639.html
http://llvm-reviews.chandlerc.com/D2683
Files:
include/llvm/IR/Dominators.h
include/llvm/Support/GenericDomTree.h
lib/IR/Dominators.cpp
lib/Transforms/Scalar/StructurizeCFG.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2683.1.patch
Type: text/x-patch
Size: 6524 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140203/a385b0ec/attachment.bin>
More information about the llvm-commits
mailing list