search for: removeuseles

Displaying 2 results from an estimated 2 matches for "removeuseles".

Did you mean: removeuseless
2009 Sep 10
0
[LLVMdev] problem with multiple LLVM passes
I'm trying to write two LLVM passes, one of which uses the results of the other. The first is LiveVars and the second is RemoveUseless. In the RemoveUseless class I have: virtual void getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequired<LiveVars>(); } This compiles fine, but when I try to run it I get an error: Pass class not registered! The error goes away if I take out that "addRequired...
2009 Oct 05
0
[LLVMdev] [Fwd: Re: problem with multiple LLVM passes]
...t; My reply button isn't working like it used to... > :) > > -- John T. > > > Susan Horwitz wrote: > > I'm trying to write two LLVM passes, one of which uses the > results of the > > other. The first is LiveVars and the second is RemoveUseless. > In the > > RemoveUseless class I have: > > > There's a number of things that could be going wrong. Here are some > questions to try to narrow down what might be the problem: > > 1) Are both passes included in the same dynamic library? If...