llvm-6502/test
Renato Golin 6215f78195 Elide repeated register operand in Thumb1 instructions
This patch makes the ARM backend transform 3 operand instructions such as
'adds/subs' to the 2 operand version of the same instruction if the first
two register operands are the same.

Example: 'adds r0, r0, #1' will is transformed to 'adds r0, #1'.

Currently for some instructions such as 'adds' if you try to assemble
'adds r0, r0, #8' for thumb v6m the assembler would throw an error message
because the immediate cannot be encoded using 3 bits.

The backend should be smart enough to transform the instruction to
'adds r0, #8', which allows for larger immediate constants.

Patch by Ranjeet Singh.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218521 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-26 16:14:29 +00:00
..
Analysis AVX-512: added cost for some AVX-512 instructions 2014-09-16 07:57:37 +00:00
Assembler
Bindings
Bitcode Ensure bitcode encoding stays stable. 2014-09-23 08:48:01 +00:00
BugPoint
CodeGen [AVX512] Added load/store from BW/VL subsets to Register2Memory opcode tables. 2014-09-26 09:48:50 +00:00
DebugInfo Removing empty tests from failed revert 2014-09-24 21:45:26 +00:00
ExecutionEngine [MCJIT] Make sure we test ARM BR24 relocations with both internal and external 2014-09-11 22:43:36 +00:00
Feature [AArch64] Update test case to pass with post-RA MI scheduler. 2014-09-13 03:23:23 +00:00
FileCheck
Instrumentation [asan] don't instrument module CTORs that may be run before asan.module_ctor. This fixes asan running together -coverage 2014-09-24 22:41:55 +00:00
Integer
JitListener
Linker Merge alignment of common GlobalValue. 2014-09-09 17:48:18 +00:00
LTO Try to fix i686-cygming bots. 2014-09-18 22:56:00 +00:00
MC Elide repeated register operand in Thumb1 instructions 2014-09-26 16:14:29 +00:00
Object
Other [lit] Parse all strings as UTF-8 rather than ASCII. 2014-09-12 16:46:05 +00:00
TableGen [TableGen] Fully resolve class-instance values before defs in multiclasses 2014-09-16 17:14:13 +00:00
tools llvm-vtabledump: strip trailing NUL bytes 2014-09-26 05:50:45 +00:00
Transforms Fix assertion in LICM doFinalization() 2014-09-24 16:48:31 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt Add LLVMgold target to test dependencies. 2014-09-10 22:20:49 +00:00
lit.cfg pass environment when invoking llvm-config from lit.cfg 2014-09-24 18:37:48 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh