1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/test
Chris Lattner 5e00f501ff 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.

llvm-svn: 129656
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 Add intrinsics @llvm.arm.neon.vmulls and @llvm.arm.neon.vmullu.* back. Frontends 2011-03-29 23:06:19 +00:00
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 Testcase for r127301. 2011-03-09 01:05:00 +00:00
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 test/lit.cfg: Add PATHEXT to 'substitution', to recognize tools on Windows hosts. Thanks to Danil Malyshev! 2011-02-24 12:34:34 +00:00
lit.site.cfg.in
Makefile Reapply r127073(partially): Introduce $(ECHOPATH) to print DOSish path string on MSYS bash for alternative of $(ECHO). 2011-03-08 12:25:10 +00:00
Makefile.tests
site.exp.in
TestRunner.sh