Internally the pass skips any function with the optnone attribute. But that still requires checking each function. If the opt level is set to None we might as well just skip putting in the pipeline at all. This what is already done for many of the passes added by TargetPassConfig.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo