[llvm-commits] [124625] Don't enable unrolling at -Os.
johannes at apple.com
johannes at apple.com
Mon Mar 5 18:43:51 PST 2007
Revision: 124625
Author: johannes
Date: 2007-03-05 18:43:49 -0800 (Mon, 05 Mar 2007)
Log Message:
-----------
Don't enable unrolling at -Os.
Modified Paths:
--------------
apple-local/branches/llvm/gcc/opts.c
Modified: apple-local/branches/llvm/gcc/opts.c
===================================================================
--- apple-local/branches/llvm/gcc/opts.c 2007-03-06 02:26:56 UTC (rev 124624)
+++ apple-local/branches/llvm/gcc/opts.c 2007-03-06 02:43:49 UTC (rev 124625)
@@ -576,7 +576,7 @@
}
/* APPLE LOCAL begin LLVM */
/* Enable loop unrolling at -O2 if -f[no-]unroll-loops is not used. */
- if (!flag_unroll_loops_set)
+ if (!flag_unroll_loops_set && !optimize_size)
flag_unroll_loops = 1;
/* APPLE LOCAL end LLVM */
}
More information about the llvm-commits
mailing list