configure: Fix default value for optimize_option, I messed up the test condition
authorDaniel Dunbar <daniel@zuster.org>
Sat, 10 Apr 2010 18:56:24 +0000 (18:56 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sat, 10 Apr 2010 18:56:24 +0000 (18:56 +0000)
commit195d2dec10a7faef45e9f5b4002ed44b1f6627be
treea5c85f339b075e487686b032efd6e4a8e4914814
parent6f285d21053552e5aff9aba74f0425505d6ab61a
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
autoconf/configure.ac
configure