llvm-6502/lib
Chris Lattner 33a6113995 Move some code around.
Make the "fold (and (cast A), (cast B)) -> (cast (and A, B))" transformation
only apply when both casts really will cause code to be generated.  If one or
both doesn't, then this xform doesn't remove a cast.

This fixes Transforms/InstCombine/2006-05-06-Infloop.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28141 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-06 09:00:16 +00:00
..
Analysis
Archive more C++ daintiness 2005-12-26 14:31:26 +00:00
AsmParser
Bytecode
CodeGen Fold (trunc (srl x, c)) -> (srl (trunc x), c) 2006-05-06 00:11:52 +00:00
Debugger
ExecutionEngine Adjust to use proper TargetData copy ctor 2006-05-04 21:18:40 +00:00
Linker
Support
System Mingw32 patches supplied by Anton Korobeynikov. 2006-04-29 18:41:44 +00:00
Target Teach the X86 backend about non-i32 inline asm register classes. 2006-05-06 00:29:37 +00:00
Transforms Move some code around. 2006-05-06 09:00:16 +00:00
VMCore Add assertions that verify that the actual arguments to a call or invoke match 2006-05-03 00:48:22 +00:00
Makefile