llvm-6502/lib/Analysis
Chris Lattner e233b8c64b Eliminate generality that is not buying us anything. In particular, this
will cause us to miss cases where the input pointer to a load could be value
numbered to another load.  Something like this:


  %X = load int* %P1
  %Y = load int* %P2

Those are obviously the same if P1/P2 are the same.  The code this patch
removes attempts to handle that.  However, since GCSE iterates, this doesn't
actually buy us anything: GCSE will first replace P1 or P2 with the other
one, then the load can be value numbered as equal.

Removing this code speeds up gcse a lot.  On 176.gcc in debug mode, this
speeds up gcse from 29.08s -> 25.73s, a 13% savings.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19906 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-29 06:11:16 +00:00
..
DataStructure Remove this code as it is currently completely broken and unmaintained. 2005-01-28 06:12:46 +00:00
IPA Add even more missing createXxxPass functions. 2005-01-08 22:01:16 +00:00
AliasAnalysis.cpp Adjust to new alias analysis interfaces 2004-12-15 07:22:13 +00:00
AliasAnalysisCounter.cpp Add even more missing createXxxPass functions. 2005-01-08 22:01:16 +00:00
AliasAnalysisEvaluator.cpp Add even more missing createXxxPass functions. 2005-01-08 22:01:16 +00:00
AliasSetTracker.cpp Adjust to new alias analysis interfaces 2004-12-15 07:22:13 +00:00
BasicAliasAnalysis.cpp Add even more missing createXxxPass functions. 2005-01-08 22:01:16 +00:00
CFGPrinter.cpp For PR387:\ 2004-12-07 04:03:45 +00:00
ConstantRange.cpp Bug fixes for PR341 2004-07-15 01:29:12 +00:00
Expressions.cpp Add #include <iostream> since Value.h does not #include it any more. 2004-07-04 12:19:56 +00:00
InstCount.cpp Standardize on 'class' instead of 'struct'. Gets rid of warnings in VC++ 2004-11-16 06:58:55 +00:00
Interval.cpp Fixes for PR341 2004-07-15 02:31:46 +00:00
IntervalPartition.cpp For PR387:\ 2004-12-07 04:03:45 +00:00
LoadValueNumbering.cpp Eliminate generality that is not buying us anything. In particular, this 2005-01-29 06:11:16 +00:00
LoopInfo.cpp For PR387:\ 2004-12-07 04:03:45 +00:00
Makefile Change Library Names Not To Conflict With Others When Installed 2004-10-27 23:18:45 +00:00
PostDominators.cpp Add support for unreachable 2004-10-16 18:21:33 +00:00
ProfileInfo.cpp Add even more missing createXxxPass functions. 2005-01-08 22:01:16 +00:00
ProfileInfoLoader.cpp Add #include <iostream> since Value.h does not #include it any more. 2004-07-04 12:19:56 +00:00
ProfileInfoLoaderPass.cpp Apply feed back from Chris: 2005-01-10 03:56:27 +00:00
ScalarEvolution.cpp For PR387:\ 2004-12-07 04:03:45 +00:00
Trace.cpp Add #include <iostream> since Value.h does not #include it any more. 2004-07-04 12:19:56 +00:00
ValueNumbering.cpp Add even more missing createXxxPass functions. 2005-01-08 22:01:16 +00:00