1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test
Toma Tabacu 3c64ce8091 [mips] [IAS] Do not generate redundant move when expanding lw/sw with symbol.
Summary:
Even though there is no 2nd register operand in the "lw/sw $8, symbol" case, we still try to find one, 
and we end up with $0, which makes us generate an unnecessary "addu $8, $8, $0" (a.k.a. "move $8, $8").

We can avoid this by checking if the 2nd register operand is different from $0, before generating the addu.

Reviewers: dsanders

Reviewed By: dsanders

Subscribers: llvm-commits

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

llvm-svn: 234406
2015-04-08 13:52:41 +00:00
..
Analysis Revert "[LoopAccesses] Allow analysis to complete in the presence of uniform stores" 2015-04-08 04:16:55 +00:00
Assembler Verifier: Check composite type template params 2015-04-06 17:04:58 +00:00
Bindings
Bitcode
BugPoint
CodeGen [ARM][Debug Info] Restore emitting of .cfi_def_cfa_offset for functions without stack frame 2015-04-08 10:10:12 +00:00
DebugInfo Refactor a lot of duplicated code for stub output. 2015-04-07 13:42:44 +00:00
ExecutionEngine [Orc] Fix local-linkage handling in the CompileOnDemand layer. 2015-04-02 05:28:10 +00:00
Feature
FileCheck
Instrumentation [ASan] Don't use stack malloc for 32-bit functions using inline asm 2015-04-02 21:44:55 +00:00
Integer
JitListener
Linker tools: Unify how verifyModule() is called 2015-03-31 03:07:23 +00:00
LTO
MC [mips] [IAS] Do not generate redundant move when expanding lw/sw with symbol. 2015-04-08 13:52:41 +00:00
Object
Other
SymbolRewriter
TableGen [TableGen] Prevent invalid code generation when emitting AssemblerPredicate conditions. 2015-04-07 12:10:11 +00:00
tools Fix failure on builder llvm-clang-lld-x86_64-debian-fast as the 2015-04-06 18:18:23 +00:00
Transforms [SLSR] consider &B[S << i] as &B[(1 << i) * S] 2015-04-06 17:15:48 +00:00
Unit
Verifier Verifier: Check composite type template params 2015-04-06 17:04:58 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh