projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4315eee
)
Do not run loop-aligner at -fast (e.g. -O0).
author
Evan Cheng
<evan.cheng@apple.com>
Tue, 3 Jun 2008 06:56:08 +0000
(06:56 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Tue, 3 Jun 2008 06:56:08 +0000
(06:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51898
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LLVMTargetMachine.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LLVMTargetMachine.cpp
b/lib/CodeGen/LLVMTargetMachine.cpp
index 9a3510939c53f318c7f5c1386103eb5ea6ddfa7e..e4ad872094197c479713af72cb71c9869b15f775 100644
(file)
--- a/
lib/CodeGen/LLVMTargetMachine.cpp
+++ b/
lib/CodeGen/LLVMTargetMachine.cpp
@@
-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) {