Go to file
Matt Arsenault 8239eaab99 Add DAG combine for shl + add of constants.
Do
 (shl (add x, c1), c2) -> (add (shl x, c2), c1 << c2)

This is already done for multiplies, but since multiplies
by powers of two are turned into shifts, we also need
to handle it here.

This might want checks for isLegalAddImmediate to avoid
transforming an add of a legal immediate with one that isn't.

llvm-svn: 217610
2014-09-11 17:34:19 +00:00
clang Update C++ status page to reflect that Clang 3.5 has released. 2014-09-11 17:30:32 +00:00
clang-tools-extra Moved main() to the clang::tidy namespace, no functional changes. 2014-09-10 11:43:09 +00:00
compiler-rt [asan] Preserve existing LD_PRELOAD setting on Android. 2014-09-11 12:20:29 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc math: Add tan implementation 2014-09-10 15:43:35 +00:00
libcxx PR20546: Fix tests for compare_exchange_weak. 2014-09-06 20:38:25 +00:00
libcxxabi Adding ABI support for __cxa_throw_bad_array_new_length. 2014-09-11 17:26:43 +00:00
lld [mach-o]: support optional "0x" prefix for -image_base 2014-09-11 10:31:46 +00:00
lldb DWARF64 Fixes 2014-09-11 17:29:12 +00:00
llvm Add DAG combine for shl + add of constants. 2014-09-11 17:34:19 +00:00
openmp Fix a crash that occurred under obscure circumstances during library shutdown 2014-09-03 11:34:33 +00:00
polly Remove executable bit on all header files 2014-09-11 14:33:36 +00:00