commit | 93698d997764a457fbe8c1a1df1d57f23a59ae14 | [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 | e3769efeeb9676732f07f7b50952c3d529dbabb1 [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) {