llvm-6502/test
Chris Lattner 1f821512fc Enhance MemDep: When alias analysis returns a partial alias result,
return it as a clobber.  This allows GVN to do smart things.

Enhance GVN to be smart about the case when a small load is clobbered
by a larger overlapping load.  In this case, forward the value.  This
allows us to compile stuff like this:

int test(void *P) {
  int tmp = *(unsigned int*)P;
  return tmp+*((unsigned char*)P+1);
}

into:

_test:                                  ## @test
	movl	(%rdi), %ecx
	movzbl	%ch, %eax
	addl	%ecx, %eax
	ret

which has one load.  We already handled the case where the smaller
load was from a must-aliased base pointer.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130180 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-26 01:21:15 +00:00
..
Analysis Make tests more useful. 2011-04-25 10:12:01 +00:00
Archive
Assembler
Bindings/Ocaml
Bitcode
BugPoint
CodeGen Make this test disable fast isel as it's not needed. 2011-04-25 22:39:46 +00:00
DebugInfo Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
ExecutionEngine
Feature
FrontendAda
FrontendC Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
FrontendC++ Remove test to check line numbers. There are other numerous tests in our test harness to check line number information. 2011-04-18 22:27:20 +00:00
FrontendFortran
FrontendObjC
FrontendObjC++
Integer
lib
Linker
LLVMC
MC Remove some hard coded CR-LFs. Some of these were the entire files, one of 2011-04-25 07:11:23 +00:00
Object
Other
Scripts
TableGen Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
Transforms Enhance MemDep: When alias analysis returns a partial alias result, 2011-04-26 01:21:15 +00:00
Unit
Verifier
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
site.exp.in
TestRunner.sh