[LLVMdev] LoopInfo::isAnalysis() unused?
Devang Patel
dpatel at apple.com
Mon May 5 11:37:27 PDT 2008
On May 5, 2008, at 9:12 AM, Matthijs Kooijman wrote:
> Hi,
>
> I was looking at the LoopInfo Analysis pass as an example, and found
> it
> defined the isAnalysis() method to return true. I assumed the method
> was
> overriden from some superclass (Pass, probably) and present in all
> analysis
> passes.
>
> However, a better look turns out that the method isn't really used
> anywhere.
> PassInfo does define the same method which is used, but PassInfo is
> not a
> superclass of LoopInfo. AFAICS, LoopInfo::isAnalysis
> (include/llvm/Analysis/LoopInfo.h:924) is unused and can/should be
> removed?
Yes. I removed it. Thanks!
-
Devang
More information about the llvm-dev
mailing list