llvm-6502/lib/Transforms
Duncan Sands c43cee3fbb Move some shift transforms out of instcombine and into InstructionSimplify.
While there, I noticed that the transform "undef >>a X -> undef" was wrong.
For example if X is 2 then the top two bits must be equal, so the result can
not be anything.  I fixed this in the constant folder as well.  Also, I made
the transform for "X << undef" stronger: it now folds to undef always, even
though X might be zero.  This is in accordance with the LangRef, but I must
admit that it is fairly aggressive.  Also, I added "i32 X << 32 -> undef"
following the LangRef and the constant folder, likewise fairly aggressive.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123417 91177308-0d34-0410-b5e6-96231b3b80d8
2011-01-14 00:37:45 +00:00
..
Hello
InstCombine Move some shift transforms out of instcombine and into InstructionSimplify. 2011-01-14 00:37:45 +00:00
Instrumentation
IPO Improve the accuracy of the inlining heuristic looking for the 2011-01-04 19:01:54 +00:00
Scalar Fix whitespace. 2011-01-13 20:59:44 +00:00
Utils Fix a non-deterministic loop in llvm::MergeBlockIntoPredecessor. 2011-01-11 22:54:38 +00:00
Makefile