Displaying 1 result from an estimated 1 matches for "divergenttarget".
2017 Dec 21
2
Pass ordering - GVN vs. loop optimizations
...lication at -Oz
MPM.add(createLoopRotatePass(SizeLevel == 2 ? 0 : -1));
MPM.add(createLICMPass()); // Hoist loop invariants
if (EnableSimpleLoopUnswitch)
MPM.add(createSimpleLoopUnswitchLegacyPass());
else
MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3,
DivergentTarget));
MPM.add(createCFGSimplificationPass());
addInstructionCombiningPass(MPM);
MPM.add(createIndVarSimplifyPass()); // Canonicalize indvars
// <I probably want to add some SimplifyCfg pass here, but
// that's a separate issue>
MPM.add(createLoopIdiomPass()); /...