} else {
// If the target requests it, assign local variables to stack slots relative
// to one another and simplify frame index references where possible.
- addPass(&LocalStackSlotAllocationID, false);
+ addPass(&LocalStackSlotAllocationID);
}
if (TM->Options.EnableIPRA)
addBlockPlacement();
// Insert before XRay Instrumentation.
- addPass(&FEntryInserterID, false);
+ addPass(&FEntryInserterID);
- addPass(&XRayInstrumentationID, false);
- addPass(&PatchableFunctionID, false);
+ addPass(&XRayInstrumentationID);
+ addPass(&PatchableFunctionID);
addPreEmitPass();
// clobbered registers, to be used to optimize call sites.
addPass(createRegUsageInfoCollector());
+ // FIXME: Some backends are incompatible with running the verifier after
+ // addPreEmitPass. Maybe only pass "false" here for those targets?
addPass(&FuncletLayoutID, false);
addPass(&StackMapLivenessID, false);
// Optimize PHIs before DCE: removing dead PHI cycles may make more
// instructions dead.
- addPass(&OptimizePHIsID, false);
+ addPass(&OptimizePHIsID);
// This pass merges large allocas. StackSlotColoring is a different pass
// which merges spill slots.
- addPass(&StackColoringID, false);
+ addPass(&StackColoringID);
// If the target requests it, assign local variables to stack slots relative
// to one another and simplify frame index references where possible.
- addPass(&LocalStackSlotAllocationID, false);
+ addPass(&LocalStackSlotAllocationID);
// With optimization, dead code should already be eliminated. However
// there is one known exception: lowered code for arguments that are only
// loop info, just like LICM and CSE below.
addILPOpts();
- addPass(&EarlyMachineLICMID, false);
- addPass(&MachineCSEID, false);
+ addPass(&EarlyMachineLICMID);
+ addPass(&MachineCSEID);
addPass(&MachineSinkingID);