diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-04-10 18:56:24 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-04-10 18:56:24 +0000 |
commit | 195d2dec10a7faef45e9f5b4002ed44b1f6627be (patch) | |
tree | a5c85f339b075e487686b032efd6e4a8e4914814 /autoconf/configure.ac | |
parent | 6f285d21053552e5aff9aba74f0425505d6ab61a (diff) | |
download | external_llvm-195d2dec10a7faef45e9f5b4002ed44b1f6627be.zip external_llvm-195d2dec10a7faef45e9f5b4002ed44b1f6627be.tar.gz external_llvm-195d2dec10a7faef45e9f5b4002ed44b1f6627be.tar.bz2 |
configure: Fix default value for optimize_option, I messed up the test condition
in r86005 and unintentionally changed the default from -O3 to -O2.
- It's odd the things automated perf testing turns up! :)
- Also, the configure diff is messed up slightly. It looks like someone either
didn't regenerate configure correctly (or I didn't), or autoconf has some
funnyness in it. Eric, any ideas?
This has been at -O2 for so long, that I am slightly nervous that this change
will uncover miscompiles of LLVM on other systems. If that is the case, I think
we should just set the default universally at -O3, and let developers/vendors
use -O3 if they want it and have tested it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100941 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf/configure.ac')
-rw-r--r-- | autoconf/configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index bd85577..ff5804b 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -728,8 +728,8 @@ AC_MSG_CHECKING([optimization flags]) case "$withval" in default) case "$llvm_cv_os_type" in - MingW) optimize_option=-O3 ;; - *) optimize_option=-O2 ;; + MingW) optimize_option=-O2 ;; + *) optimize_option=-O3 ;; esac ;; *) optimize_option="$withval" ;; esac |