Go to file
Quentin Colombet 8aa7abe2ae Modify how the formulae are rated in Loop Strength Reduce.
Namely, check if the target allows to fold more that one register in the
addressing mode and if yes, adjust the cost accordingly.

Prior to this commit, reg1 + scale * reg2 accesses were artificially preferred
to reg1 + reg2 accesses. Indeed, the cost model wrongly assumed that reg1 + reg2
needs a temporary register for the computation, whereas it was correctly
estimated for reg1 + scale * reg2.

<rdar://problem/13973908>

llvm-svn: 183021
2013-05-31 17:20:29 +00:00
clang Testcase for r183015. 2013-05-31 17:01:30 +00:00
clang-tools-extra cpp11-migrate: Add option to detect and use macros that expand to 'override' 2013-05-31 13:20:24 +00:00
compiler-rt [ASan] Do not buffer stdin in asan_symbolize.py 2013-05-31 14:55:06 +00:00
debuginfo-tests Remove IR scenario tests. 2013-03-15 20:52:10 +00:00
libclc Update the copyright coredits -- Happy new year 2013! 2013-01-01 10:00:19 +00:00
libcxx Neglected to remove a debugging comment from last commit. 2013-05-21 21:19:35 +00:00
libcxxabi Add capability to demangle invocation functions for ObjC blocks. 2013-04-10 19:44:03 +00:00
lld [WinLink][Driver] Add support for -subsystem optional OS version number. 2013-05-31 06:30:10 +00:00
lldb An NSData with 0 bytes in it would report a summary of “0 byte” 2013-05-31 01:14:22 +00:00
llvm Modify how the formulae are rated in Loop Strength Reduce. 2013-05-31 17:20:29 +00:00
polly scop detection: only handle functions with loops 2013-05-30 17:47:32 +00:00