llvm-6502/lib
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
..
Analysis Move some shift transforms out of instcombine and into InstructionSimplify. 2011-01-14 00:37:45 +00:00
Archive Fix Whitespace. 2011-01-10 02:34:40 +00:00
AsmParser Reject uses of unnamed_addr in declarations. 2011-01-13 01:30:30 +00:00
Bitcode FixedNumOperandTraits and VariadicOperandTraits assumed that, given a 2011-01-11 15:07:38 +00:00
CodeGen Better terminator avoidance. 2011-01-13 23:35:53 +00:00
CompilerDriver Support/Path: Deprecate PathV1::exists and replace all uses with PathV2::fs::exists. 2011-01-10 02:34:23 +00:00
ExecutionEngine Rename TargetFrameInfo into TargetFrameLowering. Also, put couple of FIXMEs and fixes here and there. 2011-01-10 12:39:04 +00:00
Linker
MC Add comment about Thumb2 fixup comments being completely bogus. 2011-01-13 23:27:39 +00:00
Object Fix mismatched new[]/delete. 2010-12-17 09:56:50 +00:00
Support Support/Path: Deprecate PathV1::IsSymlink and replace all uses with PathV2::is_symlink. 2011-01-12 23:55:06 +00:00
Target fix PR8961 - a fast isel miscompilation where we'd insert a new instruction 2011-01-14 00:01:01 +00:00
Transforms Move some shift transforms out of instcombine and into InstructionSimplify. 2011-01-14 00:37:45 +00:00
VMCore Move some shift transforms out of instcombine and into InstructionSimplify. 2011-01-14 00:37:45 +00:00
Makefile Add LLVMObject Library. 2010-11-15 03:21:41 +00:00