Go to file
Chandler Carruth 099f5cb031 Revert the switch of loop-idiom to use the new dependence analysis.
The new analysis is not yet ready for prime time. It has a *critical*
flawed assumption, and some troubling shortages of testing. Until it's
been hammered into better shape, let's stick with the working code. This
should be easy to revert itself when the analysis is ready.

Fixes PR14241, a miscompile of any memcpy-able loop which uses a pointer
as the induction mechanism. If you have been seeing miscompiles in this
revision range, you really want to test with this backed out. The
results of this miscompile are a bit subtle as they can lead to
downstream passes concluding things are impossible which are in fact
possible.

Thanks to David Blaikie for the majority of the reduction of this
miscompile. I'll be checking in the test case in a non-revert commit.

Revesions reverted here:

r167045: LoopIdiom: Fix a serious missed optimization: we only turned
         top-level loops into memmove.
r166877: LoopIdiom: Add checks to avoid turning memmove into an infinite
         loop.
r166875: LoopIdiom: Recognize memmove loops.
r166874: LoopIdiom: Replace custom dependence analysis with
         DependenceAnalysis.
llvm-svn: 167286
2012-11-02 08:33:25 +00:00
clang Delete lines which do nothing from DiagnosticGroups.td. 2012-11-02 03:35:13 +00:00
clang-tools-extra Remove a trailing blank line, test commit. 2012-10-10 14:06:15 +00:00
compiler-rt Flag -ccc-clang-cxx was removed in r166986, remove it from compiler-rt lit configs 2012-10-30 10:06:42 +00:00
debuginfo-tests XTARGET was removed, update debug-info tests. 2012-10-20 01:38:50 +00:00
libclc Implement any() builtin. Patch by Tom Stellard! 2012-10-08 03:39:21 +00:00
libcxx peek should set eofbit if sgetc() returns eof. 2012-11-01 17:32:07 +00:00
libcxxabi Make the type_info for __shim_type_info visible. This should address some failing dynamic_casts that a few applications are doing on the type_info hierarchy. 2012-10-13 18:45:59 +00:00
lld rename dylibNamesToOrdinal now that it is an ivar 2012-11-01 21:44:45 +00:00
lldb Set the MACOSX_DEPLOYMENT_TARGET in a few more places. 2012-11-02 00:35:51 +00:00
llvm Revert the switch of loop-idiom to use the new dependence analysis. 2012-11-02 08:33:25 +00:00
polly Tests: remove ModuleID lines 2012-11-02 06:09:20 +00:00