[PATCH] Add control dependence computation that computes control dependence equivalence classes.Unlike other implementations commonly found, this does not require either a post-dominatortree or post-dominance frontiers.It computes the relationship in...

Daniel Berlin dberlin at dberlin.org
Mon Mar 23 15:45:27 PDT 2015


Hi chandlerc, hfinkel,

...linear time and space, and in fact, requires less time
that computing post-dominators! 

If we wanted to, we could make this incrementally updated in O(sqrt(N) log n) time.

(This is currently used by newgvn to solve a problem GVN has of trying to figure out where it can propagate edge equivalences to)

http://reviews.llvm.org/D8568

Files:
  include/llvm/Analysis/ControlDependence.h
  include/llvm/Analysis/Passes.h
  include/llvm/InitializePasses.h
  include/llvm/LinkAllPasses.h
  lib/Analysis/Analysis.cpp
  lib/Analysis/CMakeLists.txt
  lib/Analysis/ControlDependence.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8568.22525.patch
Type: text/x-patch
Size: 27896 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150323/ad1b620a/attachment.bin>


More information about the llvm-commits mailing list