[LLVMdev] DominanceFrontier
Andrew Trick
atrick at apple.com
Mon Aug 20 12:48:01 PDT 2012
On Aug 20, 2012, at 12:39 PM, Duncan Sands <baldrick at free.fr> wrote:
> Hi George,
>
>> I saw in the API that DominanceFrontier has been deprecated. Is this for real?
>> I have read the computational issues but shouldn't that be left to the users of
>> llvm?
>> My concern is I am writing a Control Dependence module that uses
>> Dominance-Frontier information.
>> Getting rid of Dominance Frontiers will put me in a tight spot.
>
> if the dominancefrontier code is deleted from LLVM you can always add a copy of
> the last version of the code to your project for your own private use.
That's right. It should be easy to maintain.
If you search the list archives I'm sure you'll find some motivation and alternatives.
My take on it is: checking the dominance frontier on-the-fly is easy, we want to discourage passes from precomputing all frontiers as a global analysis.
-Andy
More information about the llvm-dev
mailing list