Specify dependency of my LLVM pass on the mem2reg pass -


I am writing a ModulePass and assign it to opt-load .

There is an indication that Promomomerochemical transit pass is nearby and as it should not be necessary from me it is a statement from 2010. Does he still catch up?

I found that something similar from the post

  AU.addRequiredID (PromoteMemoryToRegister :: MemoryToRegisterID);   

But what I denied was the post written above.

So my question is, if possible, how should this dependence be expressed to me? How can I express such close dependence in general? And what is the difference between the passphrase pass, and ok, another pass?

What's the difference between the transform pass and the other near?

A passphrase pass is a pass that can invalidate other nearby results.

How do I express this dependence to me?

First of all, I recommend reading. In any case, the correct way to add a dependency between change pass is to add one before the other in the manager (), or if you just call opt , you want to Add all pass in order you want them , like:

  opt-load mypass.so -mem2reg -mypass    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -