llvm-6502/test
Chris Lattner fd3f635103 Fix rdar://9289512 - not folding load into compare at -O0
The basic issue here is that bottom-up isel is matching the branch
and compare, and was failing to fold the load into the branch/compare
combo.  Fixing this (by allowing folding into any instruction of a
sequence that is selected) allows us to produce things like:


cmpb    $0, 52(%rax)
je      LBB4_2

instead of:

movb    52(%rax), %cl
cmpb    $0, %cl
je      LBB4_2

This makes the generated -O0 code run a bit faster, but also speeds up
compile time by putting less pressure on the register allocator and 
generating less code.

This was one of the biggest classes of missing load folding.  Implementing
this shrinks 176.gcc's c-decl.s (as a random example) by about 4% in (verbose-asm)
line count.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129656 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-17 06:35:44 +00:00
..
Analysis PR9634: Don't unconditionally tell the AliasSetTracker that the PreheaderLoad 2011-04-07 01:35:06 +00:00
Archive
Assembler Reapply r129401 with patch for clang. 2011-04-13 00:36:11 +00:00
Bindings/Ocaml
Bitcode
BugPoint
CodeGen Fix rdar://9289512 - not folding load into compare at -O0 2011-04-17 06:35:44 +00:00
DebugInfo Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
ExecutionEngine
Feature Revert r129235 pending a vetting of the EH rewrite. 2011-04-10 23:18:04 +00:00
FrontendAda Will not compile without the spec! 2011-03-31 10:03:32 +00:00
FrontendC Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
FrontendC++
FrontendFortran
FrontendObjC
FrontendObjC++
Integer
lib
Linker
LLVMC
MC Thumb2 BFC was insufficiently encoded. 2011-04-15 22:52:15 +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 Add test cases for Jay's r129641 and fix a 32-bit-centric testcase in a file with a 64-bit datalayout. 2011-04-16 14:31:50 +00:00
Unit
Verifier
CMakeLists.txt Fix compiler command line used by lit.py when working with NMake 2011-04-12 22:10:38 +00:00
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
site.exp.in
TestRunner.sh