llvm-6502/test/CodeGen
Chris Lattner 2392ae7d73 Implement rdar://7860110 (also in target/readme.txt) narrowing
a load/or/and/store sequence into a narrower store when it is
safe.  Daniel tells me that clang will start producing this sort
of thing with bitfields, and this does  trigger a few dozen times
on 176.gcc produced by llvm-gcc even now.

This compiles code like CodeGen/X86/2009-05-28-DAGCombineCrash.ll 
into:

        movl    %eax, 36(%rdi)

instead of:

        movl    $4294967295, %eax       ## imm = 0xFFFFFFFF
        andq    32(%rdi), %rax
        shlq    $32, %rcx
        addq    %rax, %rcx
        movq    %rcx, 32(%rdi)

and each of the testcases into a single store.  Each of them used
to compile into craziness like this:

_test4:
	movl	$65535, %eax            ## imm = 0xFFFF
	andl	(%rdi), %eax
	shll	$16, %esi
	addl	%eax, %esi
	movl	%esi, (%rdi)
	ret




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101343 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-15 04:48:01 +00:00
..
Alpha Split big test into multiple directories to cater to 2010-04-07 20:43:35 +00:00
ARM Don't custom lower bit converts to ARM VMOVDRRD or VMOVDRR when the operand 2010-04-14 20:45:23 +00:00
Blackfin
CBackend
CellSPU Make sure this test tests something. 2010-04-09 19:03:31 +00:00
CPP
Generic Fix PR4975. Avoid referencing empty vector. 2010-03-29 21:27:30 +00:00
MBlaze Split big test into multiple directories to cater to 2010-04-07 20:43:35 +00:00
Mips Split big test into multiple directories to cater to 2010-04-07 20:43:35 +00:00
MSP430 add newlines at the end of files. 2010-04-07 22:53:17 +00:00
PIC16 Remove XFAIL for vg_leak as the leaks are fixed by 100601. 2010-04-07 07:06:48 +00:00
PowerPC add newlines at the end of files. 2010-04-07 22:53:17 +00:00
SPARC Split big test into multiple directories to cater to 2010-04-07 20:43:35 +00:00
SystemZ add newlines at the end of files. 2010-04-07 22:53:17 +00:00
Thumb Split big test into multiple directories to cater to 2010-04-07 20:43:35 +00:00
Thumb2 switch the flag for using NEON for SP floating point to a subtarget 'feature'. 2010-03-25 23:47:34 +00:00
X86 Implement rdar://7860110 (also in target/readme.txt) narrowing 2010-04-15 04:48:01 +00:00
XCore Split big test into multiple directories to cater to 2010-04-07 20:43:35 +00:00