1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/lib
Evan Cheng 7e96e67d98 Fix a minor bug in two-address pass. It was missing a commute opportunity.
regB = move RCX
regA = op regB, regC
RAX  = move regA
where both regB and regC are killed. If regB is constrainted to non-compatible
physical registers but regC is not constrainted at all, then it's better to
commute the instruction.
       movl    %edi, %eax
       shlq    $32, %rcx
       leaq    (%rcx,%rax), %rax
=>
       movl    %edi, %eax
       shlq    $32, %rcx
       orq     %rcx, %rax
rdar://8762995

llvm-svn: 121793
2010-12-14 21:34:53 +00:00
..
Analysis Update a comment. 2010-12-13 22:53:18 +00:00
Archive Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code &ec. And fix clients. 2010-12-09 17:36:48 +00:00
AsmParser Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code &ec. And fix clients. 2010-12-09 17:36:48 +00:00
Bitcode Generalize the darwin wrapper hack to work with generic macho triples as well as darwin ones. 2010-11-29 23:29:54 +00:00
CodeGen Fix a minor bug in two-address pass. It was missing a commute opportunity. 2010-12-14 21:34:53 +00:00
CompilerDriver Now to chant the magical incantation that will exorcise the System library 2010-11-29 19:44:50 +00:00
ExecutionEngine Remove unneeded zero arrays. 2010-12-04 15:28:22 +00:00
Linker Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code &ec. And fix clients. 2010-12-09 17:36:48 +00:00
MC ARM Fixups relative to thumb functions need to have the low bit of the value 2010-12-14 18:46:57 +00:00
Object Mach-O: Tweak field name. 2010-12-10 06:19:39 +00:00
Support Support/Windows/PathV2: Fix header comment. 2010-12-09 17:37:42 +00:00
Target trailing whitespace 2010-12-14 21:28:29 +00:00
Transforms - Insert new instructions before DomBlock's terminator, 2010-12-14 08:46:09 +00:00
VMCore Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code &ec. And fix clients. 2010-12-09 17:36:48 +00:00
Makefile Add LLVMObject Library. 2010-11-15 03:21:41 +00:00