Hi, I found the -postdomfrontier pass in *llvm*.org/docs/Passes.html, but 'opt' does not accept it. I could not find the relevant codes in PostDominance.cpp in SVN trunk, but I found some relevant codes here http://opensource.apple.com/source/clang/clang-137/src/lib/Analysis/PostDominators.cpp. I am wondering why this pass is removed and what should I do if I want the post dominance frontier information? Thanks!
Hi,> I found the -postdomfrontier pass in *llvm*.org/docs/Passes.html, but > 'opt' does not accept it. I could not find the relevant codes in > PostDominance.cpp in SVN trunk, but I found some relevant codes here > http://opensource.apple.com/source/clang/clang-137/src/lib/Analysis/PostDominators.cpp. > > > I am wondering why this pass is removed and what should I do if I want > the post dominance frontier information?there was some discussion of this on the mailing list already, so I suggest you search the archives. Ciao, Duncan.
On 07/13/2012 04:30 PM, Duncan Sands wrote:> Hi, > >> I found the -postdomfrontier pass in *llvm*.org/docs/Passes.html, but >> 'opt' does not accept it. I could not find the relevant codes in >> PostDominance.cpp in SVN trunk, but I found some relevant codes here >> http://opensource.apple.com/source/clang/clang-137/src/lib/Analysis/PostDominators.cpp. >> >> >> I am wondering why this pass is removed and what should I do if I want >> the post dominance frontier information? > there was some discussion of this on the mailing list already, so I suggest you > search the archives. > > Ciao, Duncan. > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdevI searched the archives and found http://llvm.1065342.n5.nabble.com/post-dominance-frontier-fix-td10221.html http://llvm.1065342.n5.nabble.com/Is-there-a-control-dependence-graph-builder-td35919.html#a35921 http://llvm.1065342.n5.nabble.com/post-dominance-frontier-td6783.html It seems none of them are relevant. Could you give me more hints about this topic? Thanks!
> I found the -postdomfrontier pass in *llvm*.org/docs/Passes.html, but > 'opt' does not accept it. I could not find the relevant codes in > PostDominance.cpp in SVN trunk, but I found some relevant codes here > http://opensource.apple.com/source/clang/clang-137/src/lib/Analysis/PostDominators.cpp.LLVM 3.0 release note said postdomfrontier had been removed [1]. The unused PostOrder Dominator Frontiers and LowerSetJmp passes were removed. I'll send patch to update the document. Regards, chenwj [1] http://llvm.org/releases/3.0/docs/ReleaseNotes.html -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj
On 07/13/2012 05:09 PM, 陳韋任 (Wei-Ren Chen) wrote:>> I found the -postdomfrontier pass in *llvm*.org/docs/Passes.html, but >> 'opt' does not accept it. I could not find the relevant codes in >> PostDominance.cpp in SVN trunk, but I found some relevant codes here >> http://opensource.apple.com/source/clang/clang-137/src/lib/Analysis/PostDominators.cpp. > LLVM 3.0 release note said postdomfrontier had been removed [1]. > > The unused PostOrder Dominator Frontiers and LowerSetJmp passes > were removed. > > I'll send patch to update the document. > > Regards, > chenwj > > [1] http://llvm.org/releases/3.0/docs/ReleaseNotes.html >So it means the postdomfrontier algorithm in <3.0 version is correct, but it is removed because no one uses it. And I can add the codes to my personal code base for my personal use. Am I correct? Thanks!