Displaying 1 result from an estimated 1 matches for "optimizerlast".
2018 Jun 25
2
How to include a opt pass in clang driver
Hi Eli,
I have tried that:
static void registerMyPass(const PassManagerBuilder &,
llvm::legacy::PassManagerBase &PM) {
PM.add(new MyPass());
}
static RegisterStandardPasses
RegisterMyPass(PassManagerBuilder::EP_OptimizerLast,
registerMyPass);
It still couldn't find my pass.
Regards,
Soham Sinha
PhD Student, Department of Computer Science
Boston University
On Mon, Jun 25, 2018 at 3:58 PM Friedman, Eli <efriedma at codeaurora.org>
wrote:
> On 6/25/2018 1:38 PM, Soham Sinha via...