EnableSinking("enable-sinking", cl::init(false), cl::Hidden,
cl::desc("Perform sinking on machine code"));
static cl::opt<bool>
-EnableStackColoring("stack-coloring",
- cl::init(false), cl::Hidden,
- cl::desc("Perform stack slot coloring"));
-static cl::opt<bool>
EnableLICM("machine-licm",
cl::init(false), cl::Hidden,
cl::desc("Perform loop-invariant code motion on machine code"));
PM.add(createRegisterAllocator());
// Perform stack slot coloring.
- if (EnableStackColoring)
+ if (!Fast)
PM.add(createStackSlotColoringPass());
if (PrintMachineCode) // Print the register-allocated code
PM.add(createRegisterAllocator());
// Perform stack slot coloring.
- if (EnableStackColoring)
+ if (!Fast)
PM.add(createStackSlotColoringPass());
if (PrintMachineCode)