llvm-6502/lib
Chandler Carruth a864748284 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167286 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-02 08:33:25 +00:00
..
Analysis Revert the majority of the next patch in the address space series: 2012-11-01 09:14:31 +00:00
Archive Mark checkSignature const, and in turn stop casting away const from 2012-09-05 22:09:23 +00:00
AsmParser Change ForceSizeOpt attribute into MinSize attribute 2012-10-30 16:32:52 +00:00
Bitcode Move the Attributes::Builder outside of the Attributes class and into its own class named AttrBuilder. No functionality change. 2012-10-15 20:35:56 +00:00
CodeGen OutputArg: added an index of the original argument to match the change to 2012-11-01 23:49:58 +00:00
DebugInfo Reformat and 80-column this. It's not strictly conforming 2012-10-30 21:36:43 +00:00
ExecutionEngine Fixed format string to avoid pointer truncation during 64-bit debugging. 2012-11-01 19:49:21 +00:00
Linker Move the "findUsedStructTypes" functionality outside of the Module class. 2012-08-03 00:30:35 +00:00
MC Add support for generating dwarf debugging info with assembly files 2012-11-01 17:31:35 +00:00
Object Add interface for querying object files for symbol values. 2012-10-29 10:47:00 +00:00
Support [Support] Fix StrError on Windows to actually return the error string... 2012-11-01 00:34:09 +00:00
TableGen Remove exception handling usage from tblgen. 2012-10-25 20:33:17 +00:00
Target Use the relationship models infrastructure to add two relations - getPredOpcode 2012-11-01 19:13:23 +00:00
Transforms Revert the switch of loop-idiom to use the new dependence analysis. 2012-11-02 08:33:25 +00:00
VMCore Remove a weird static helper from the GEP instruction and just directly 2012-11-01 10:59:30 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile