static const bool ViewISelDAGs = 0, ViewSchedDAGs = 0;
#endif
-namespace {
-static cl::opt<bool>
-NoFoldNodeInFlight(
- "no-isel-fold-inflight",
- cl::Hidden,
- cl::desc("Do not attempt to fold a node even if it is being selected"));
-}
-
// Scheduling heuristics
enum SchedHeuristics {
defaultScheduling, // Let the target specify its preference.
if (ViewISelDAGs) DAG.viewGraph();
- // TEMPORARY.
- FoldNodeInFlight = !NoFoldNodeInFlight;
-
// Third, instruction select all of the operations to machine code, adding the
// code to the MachineBasicBlock.
InstructionSelectBasicBlock(DAG);
if (!isRoot) {
const SDNodeInfo &CInfo = ISE.getSDNodeInfo(N->getOperator());
// Not in flight?
- emitCheck("(FoldNodeInFlight || InFlightSet.count("
- + RootName + ".Val) == 0)");
+ emitCheck("InFlightSet.count(" + RootName + ".Val) == 0");
// Multiple uses of actual result?
emitCheck(RootName + ".hasOneUse()");
EmittedUseCheck = true;