1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 20:43:44 +02:00
llvm-mirror/test/MC
Michael Kuperstein 5ab1a3193f [X86] Avoid over-relaxation of 8-bit immediates in integer arithmetic instructions.
Only consider an instruction a candidate for relaxation if the last operand of the 
instruction is an expression. We previously checked whether any operand is an expression,
which is useless, since for all instructions concerned, the only operand that may be
affected by relaxation is the last one.
In addition, this removes the check for having RIP as an argument, since it was 
plain wrong - even when one of the arguments is RIP, relaxation may still be needed.

This fixes PR9807.

Patch by: david.l.kreitzer@intel.com
Differential Revision: http://reviews.llvm.org/D10766

llvm-svn: 241152
2015-07-01 10:54:42 +00:00
..
AArch64 Improve the --expand-relocs handling of MachO. 2015-06-18 22:38:20 +00:00
AMDGPU AMDGPU/SI: Update amd_kernel_code_t definition and add assembler support 2015-06-26 21:58:31 +00:00
ARM [ARM]: Extend -mfpu options for half-precision and vfpv3xd 2015-06-29 09:32:29 +00:00
AsmParser Teaching llvm-mc how to understand the defsym command line option. This allows integer-constant symbols to be defined on the command line and used during assembly. 2015-06-07 01:46:24 +00:00
COFF Revise test to run llc and llvm-mc separately. 2015-05-28 21:49:50 +00:00
Disassembler [mips][microMIPS] Implement SLL and NOP instructions 2015-07-01 09:54:51 +00:00
ELF [X86] Avoid over-relaxation of 8-bit immediates in integer arithmetic instructions. 2015-07-01 10:54:42 +00:00
Hexagon [Hexagon] Reapply r239097 with tests corrected for shuffling and duplexing. 2015-06-05 16:00:11 +00:00
MachO [AsmPrinter] Fix crash in handleIndirectSymViaGOTPCRel 2015-06-25 15:17:23 +00:00
Markup
Mips [mips][microMIPS] Implement SLL and NOP instructions 2015-07-01 09:54:51 +00:00
PowerPC [PPC] Implement vmrgew and vmrgow instructions 2015-06-25 15:17:40 +00:00
Sparc Revert r240302 ("Bring r240130 back."). 2015-06-23 11:31:32 +00:00
SystemZ [SystemZ] Add z13 vector facility and MC support 2015-05-05 19:23:40 +00:00
X86 AVX-512: all forms of SCATTER instruction on SKX, 2015-06-29 12:14:24 +00:00