commit | 4ae641f4d12c60ee1aaca5e42b6de231c6a02c40 | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Wed Oct 01 23:18:38 2008 +0000 |
committer | Devang Patel <dpatel@apple.com> | Wed Oct 01 23:18:38 2008 +0000 |
tree | 76f97c15558ecdeb6cb91a6282320c169d52dae9 | |
parent | dc756858f92a397ed30362ba8251fec56479735f [diff] [blame] |
Remove OptimizeForSize global. Use function attribute optsize. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56937 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/LLVMTargetMachine.cpp b/lib/CodeGen/LLVMTargetMachine.cpp index bd8d499..cd44455 100644 --- a/lib/CodeGen/LLVMTargetMachine.cpp +++ b/lib/CodeGen/LLVMTargetMachine.cpp
@@ -81,7 +81,7 @@ if (addPreEmitPass(PM, Fast) && PrintMachineCode) PM.add(createMachineFunctionPrinterPass(cerr)); - if (!Fast && !OptimizeForSize) + if (!Fast) PM.add(createLoopAlignerPass()); switch (FileType) {