Go to file
Chris Lattner 045c43855c 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
clang implement rdar://9289524 - case followed immediately by break results in empty IR block, 2011-04-17 00:54:30 +00:00
compiler-rt <rdar://problem/9282305> install an archive for dyld and fix missing -static 2011-04-14 00:45:01 +00:00
debuginfo-tests These tests are x86_64 specific. 2011-03-28 20:00:34 +00:00
libcxx Think-o in poisson_distribution at mean == 10 2011-04-14 15:59:22 +00:00
lldb Add support for "dynamic values" for C++ classes. This currently only works for "frame var" and for the 2011-04-16 00:01:13 +00:00
llvm Fix rdar://9289512 - not folding load into compare at -O0 2011-04-17 06:35:44 +00:00