Go to file
Quentin Colombet 9729fb3315 [TwoAddressInstructionPass] Try 3 Addr Conversion After Commuting.
TwoAddressInstructionPass stops after a successful commuting but 3 Addr
conversion might be good for some cases.
 
Consider:

int foo(int a, int b) {
  return a + b;
}

Before this commit, we emit:

addl	%esi, %edi
movl	%edi, %eax
ret

After this commit, we try 3 Addr conversion:

leal	(%rsi,%rdi), %eax
ret

Patch by Volkan Keles <vkeles@apple.com>!

Differential Revision: http://reviews.llvm.org/D10851

llvm-svn: 241206
2015-07-01 23:12:13 +00:00
clang [modules] Remove some out-of-date (fixed) FIXMEs. 2015-07-01 23:10:03 +00:00
clang-tools-extra [clang-tidy] minor coding style tweak. make functions static. 2015-07-01 13:29:27 +00:00
compiler-rt [asan] Suppress read_binary_name_regtest.c test failure on unsupported hosts. 2015-06-30 21:28:55 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Properly initialize Module pointer 2015-06-27 12:35:54 +00:00
libcxx Noticed that std::allocator<const T> was missing the definition for is_always_equal. Fixed this, and added a test for it. 2015-07-01 21:23:40 +00:00
libcxxabi fallback_malloc: silence conversion warning (NFC) 2015-06-03 17:25:35 +00:00
libunwind Fix unw_getcontext() return value on AArch64. 2015-06-25 15:12:46 +00:00
lld COFF: Chagne weak alias' type from SymbolBody** to SymbolBody*. NFC. 2015-07-01 22:32:23 +00:00
lldb Mark test_sb_api_listener_event_process_state as flakey 2015-07-01 22:50:28 +00:00
llgo [llgo] cmd/llgoi: use line editor 2015-05-23 15:16:09 +00:00
llvm [TwoAddressInstructionPass] Try 3 Addr Conversion After Commuting. 2015-07-01 23:12:13 +00:00
openmp Fix OMPT event_barrer_end 2015-07-01 15:16:04 +00:00
polly Update isl to isl-0.15-30-g3518765 2015-06-30 08:22:14 +00:00