mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 04:45:00 +00:00
Do not run loop-aligner at -fast (e.g. -O0).
llvm-svn: 51898
This commit is contained in:
parent
5c7e594b97
commit
cbb64ece8a
@ -140,7 +140,7 @@ LLVMTargetMachine::addPassesToEmitFile(PassManagerBase &PM,
|
||||
if (addPreEmitPass(PM, Fast) && PrintMachineCode)
|
||||
PM.add(createMachineFunctionPrinterPass(cerr));
|
||||
|
||||
if (AlignLoops && !OptimizeForSize)
|
||||
if (AlignLoops && !Fast && !OptimizeForSize)
|
||||
PM.add(createLoopAlignerPass());
|
||||
|
||||
switch (FileType) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user