EnableSinking("enable-sinking", cl::init(false), cl::Hidden,
cl::desc("Perform sinking on machine code"));
static cl::opt<bool>
+AlignLoops("align-loops", cl::init(true), cl::Hidden,
+ cl::desc("Align loop headers"));
+static cl::opt<bool>
PerformLICM("machine-licm",
cl::init(false), cl::Hidden,
cl::desc("Perform loop-invariant code motion on machine code"));
if (addPreEmitPass(PM, Fast) && PrintMachineCode)
PM.add(createMachineFunctionPrinterPass(cerr));
+ if (AlignLoops)
+ PM.add(createLoopAlignerPass());
+
switch (FileType) {
default:
break;