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 */ } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits