Jakob Stoklund Olesen
2009-Nov-17 18:51 UTC
[LLVMdev] Getting optimization level in getAnalysisUsage()
Hi, Is it possible to access the optimization level in getAnalysisUsage() on a machine function pass? Once the pass is running, it is available through getAnalysis<MachineFunctionAnalysis>().getOptLevel(). That doesn't work during getAnalysisUsage(), though. /jakob