llvm-6502/test
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
..
Analysis Generalize ScalarEvolution's PHI analysis to handle loops that don't 2010-04-12 07:49:36 +00:00
Archive fix a broken archive that was breaking dejagnu only (not lit) 2010-02-04 07:11:08 +00:00
Assembler add newlines at the end of files. 2010-04-07 22:53:17 +00:00
Bindings/Ocaml Add a LLVMWriteBitcodeToFD that exposes the raw_fd_ostream options. 2010-03-06 00:30:06 +00:00
Bitcode add newlines at the end of files. 2010-04-07 22:53:17 +00:00
BugPoint
CodeGen Implement rdar://7860110 (also in target/readme.txt) narrowing 2010-04-15 04:48:01 +00:00
DebugInfo XFAIL this test for powerpc. 2010-04-13 23:23:09 +00:00
ExecutionEngine Floating-point add, sub, and mul are now spelled fadd, fsub, and fmul, 2010-03-02 01:11:08 +00:00
Feature add support for zero initialized unions, patch by Tim Northover! 2010-03-29 17:36:02 +00:00
FrontendAda
FrontendC Print empty structs as {} rather than { }. 2010-04-08 18:03:05 +00:00
FrontendC++ Reverting 100530 & 100531 due to regressions in the GDB test suite. 2010-04-06 21:38:29 +00:00
FrontendFortran
FrontendObjC Make sure this runs in 64-bit only, 32-bit won't produce the correct stores. 2010-03-25 01:46:07 +00:00
FrontendObjC++
Integer Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
lib Eliminate llvmgcc_version testing variable. 2010-02-23 07:56:28 +00:00
Linker
LLVMC XFAIL tests from LLVMC on valgrind or valgrind+leak-checking. We 2010-03-21 08:12:46 +00:00
MC tests: MC/Disassembler tests depend on ARM support being compiler in. 2010-04-15 03:47:20 +00:00
Other Add several more lint checks. 2010-04-09 01:39:53 +00:00
Scripts Revert r98892. BSD systems may not have bash installed at all. 2010-03-19 00:32:11 +00:00
TableGen XFAIL a new tblgen test for memory leak checking. 2010-03-27 04:59:47 +00:00
Transforms Trim tests and convert to FileCheck. 2010-04-14 20:22:17 +00:00
Unit Try r96559 for the third time. This time the shared library is only built if 2010-02-25 06:34:33 +00:00
Verifier Reapply address space patch after fixing an issue in MemCopyOptimizer. 2010-04-04 03:10:48 +00:00
CMakeLists.txt Fix make check with cmake/lit 2010-03-10 18:41:59 +00:00
lit.cfg Add support for XFAILing valgrind runs with memory leak checking independently 2010-03-20 23:08:45 +00:00
lit.site.cfg.in
Makefile Try r96559 for the third time. This time the shared library is only built if 2010-02-25 06:34:33 +00:00
Makefile.tests Switch .bc/.ll Makefile rules to use LLVM{CC,CXX} instead of LLVMG{CC,XX} 2010-02-23 10:28:06 +00:00
site.exp.in Eliminate llvmgcc_version testing variable. 2010-02-23 07:56:28 +00:00
TestRunner.sh