projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Do not align loops if optimizing for size.
[oota-llvm.git]
/
lib
/
CodeGen
/
LLVMTargetMachine.cpp
diff --git
a/lib/CodeGen/LLVMTargetMachine.cpp
b/lib/CodeGen/LLVMTargetMachine.cpp
index 33cf6b5489156e060b3c6a210b5f595b376a8fe0..04c59107f8ce628d5cbcadab0aff3407bffa761a 100644
(file)
--- a/
lib/CodeGen/LLVMTargetMachine.cpp
+++ b/
lib/CodeGen/LLVMTargetMachine.cpp
@@
-135,7
+135,7
@@
LLVMTargetMachine::addPassesToEmitFile(PassManagerBase &PM,
if (addPreEmitPass(PM, Fast) && PrintMachineCode)
PM.add(createMachineFunctionPrinterPass(cerr));
- if (AlignLoops)
+ if (AlignLoops
&& !OptimizeForSize
)
PM.add(createLoopAlignerPass());
switch (FileType) {